-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert mode solver.py into a class #688
Conversation
84ff0f3
to
4f185e0
Compare
dfa8590
to
4dfd395
Compare
9689dfa
to
40f8a38
Compare
Additional changes:
|
My only comment here is that there are currently at least two external libraries that have built upon our mode solver and use
What do you think? By the way, could you remind me why all the methods are classmethods rather than regular methods? |
That's a good idea.
The reason is that I want to override |
40f8a38
to
39ad6d7
Compare
I think I would rather just have it as After that, feel free to merge, or keep open if you think further changes may be coming. Thanks! |
If we have it as |
Ah, i see what you mean. |
Yep, that's it! |
For tensorial mode, switch to apply a real target eigvalue Fix the ordering of modes
47dc3cf
to
17c9c3b
Compare
All functions in solver.py have been converted into static method. The contents of the functions are untouched.