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

[FIX] Improves spectral PSF degradation #30

Closed cdiazbas closed 9 months ago

cdiazbas commented 9 months ago

1) signal.convolve only works for 0 padding. ndimage.convolve allow for using the edges for the convolution (needed for Stokes I). 2) Missing value "2" in the definition of the Gaussian