def METHOD_NAME(A, B, txt=None, print_original_form=False, print_modal_form=False):
    if txt:
        print(txt)
    if print_original_form:
        print("A\n", A)
        print("B\n", B)
    w, M = np.linalg.eig(A)
    print("modes \n", w)
    if print_modal_form:
        #        print "eigen vectors\n", M
        #        invM = np.linalg.inv(M)
        #        print "invM\n", invM
        #        Amod = np.dot(np.dot(invM, A), M)
        #        print "Amod\n", Amod
        for i in range(len(w)):
            print(w[i], "->", M[:, i])