aasensio / hazel2

Hazel v2.0: synthesis and inversion of Stokes profiles caused by the joint action of atomic level polarization and the Hanle and Zeeman effects
https://aasensio.github.io/hazel2/index.html
MIT License
21 stars 6 forks source link

Not working with all spectral points #13

Closed rahulyadav99 closed 6 years ago

rahulyadav99 commented 6 years ago

Hi, If I trim the spectral points from 185 to 135 (or increase above 200) then I am getting the following error: ValueError: operands could not be broadcast together with shapes (4,140) (1,141).

aasensio commented 6 years ago

It is now apparently fixed. I did a few tests and seems like it's working properly with a variety of number of spectral points. I'll keep this open just in case you still see some issues.

rahulyadav99 commented 6 years ago

The latest version has no such problem. Thanks for fixing this issue.

aasensio commented 6 years ago

Great. I close the issue for the moment.