Ask Your Question

Revision history [back]

click to hide/show revision 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.

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.