You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are noticeable artifacts in the 335 image after deconvolution with the PSF. Attached are images of deconvolution on the same file done with IDL and aiapy. In the aiapy version, there are artifacts in a grid pattern, probably from incorrect removal of the entrance filter mesh pattern. Also attached is the original fits file. The aiapy deconvolution was done with the following code:
Thanks very much for reporting this. Just for clarification, the PSF deconvolution, in both the IDL and Python cases is done on the full-disk image and not the cutout that is shown in these images, correct?
Yes, correct. I just plotted a submap of the portion of the FOV I was interested in, but the deconvolution was done on the full image (anyway, it won't work on a submap unless you fiddle around with the PSF).
Hi @kreevescfa. Sorry for the very long delay in following up on this.
Unfortunately, I am not able to reproduce the entrance filter pattern you're seeing in the Python deconvolution case. I took the image you attached here, calculated the PSF in IDL and in Python with aiapy and then ran the deconvolution in aiapy with both PSFs. The figure below shows the two cases:
As you can see, I don't find the same entrance filter pattern you've shown above in either case. Furthermore, when doing a percent difference between the two, I find the differences all lie along the PSF arms and that all are under 0.5%,
I've attached the notebook I used to generate these results here: aia-psf-testing.ipynb
A few more follow up questions:
What versions of sunpy and aiapy were you using to get the result you showed above? You can get the version info by typing sunpy.__version__ and aiapy.__version__
Were you using a GPU to calculate the PSF and/or perform the deconvolution in the Python case?
In GitLab by @kreevescfa on Jan 25, 2023, 14:08
There are noticeable artifacts in the 335 image after deconvolution with the PSF. Attached are images of deconvolution on the same file done with IDL and aiapy. In the aiapy version, there are artifacts in a grid pattern, probably from incorrect removal of the entrance filter mesh pattern. Also attached is the original fits file. The aiapy deconvolution was done with the following code:
The IDL deconvolution was done with the following code:
In both cases, the PSF deconvolution was done before image registration, pointing update, and normalization (aia_prep), as recommended.
aia_lev1_335a_2017_09_10t16_25_24_64z_image_lev1.fits
The text was updated successfully, but these errors were encountered: