- changed status to resolved
Stokes.py operands could not be broadcast together with shapes (1844,4000,3) (22128000,)
After running Stokes.parameters.ellipse_axes() I get the error:
 File "c:\users\\desktop\polarization\polarizationcamerasoftware.py", line 77, in <module>
A, B = S1.parameters.ellipse_axes()
File "c:\users\\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages\py_pol\stokes.py", line 2610, in ellipse_axes
a, b = J.parameters.ellipse_axes(out_number=out_number,
File "c:\users\\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages\py_pol\jones_vector.py", line 2049, in ellipse_axes
azimuth)**2 + 2 * E0x * E0y * np.cos(azimuth) * np.sin(
builtins.ValueError: operands could not be broadcast together with shapes (1844,4000,3) (22128000,)
Comments (1)
-
- Log in to comment
Isuue solved in version 1.1.3