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

Home Page:https://aasensio.github.io/hazel2/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working with all spectral points

rahulyadav99 opened this issue · comments

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).

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.

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

Great. I close the issue for the moment.