1 | initial version |
Your error is
ValueError: arctan2(0,0) undefined
Well, that is true! Is it possible that you want
[amp(State=r).n() for r in srange(1,Tst)]
instead? (This doesn't raise an error.)
Remember, Python and Sage ranges start at zero.
2 | No.2 Revision |
Your error is
ValueError: arctan2(0,0) undefined
Well, that is true! The arctan of $0/0$ doesn't really make sense. Is it possible that you want
[amp(State=r).n() for r in srange(1,Tst)]
instead? (This doesn't raise an error.)
Remember, Python and Sage ranges start at zero.