Stokes.parameters.amplitudes are nan when light is circularly polarized

Issue #8 resolved
Simone Gaiarin created an issue

Example:

j1 = Stokes()
j1.from_matrix([1, 0, 0, 1])
j1.parameters.amplitudes()

Result:

>>> j.parameters.amplitudes()
(nan, nan, 0.0)

Expected result:

>>> j.parameters.amplitudes()
(0.707, 0.707, 0.0)

Comments (2)

  1. JESUS DEL HOYO MUÑOZ

    We will look at it and try to resolve it for the next version. Thank you for your feedback!

  2. Log in to comment