Importantly, this line has no effect as for the wavelength ranges relevant to this instrument, the electron-per-photon conversion is always > 1. However, I think this line should be removed. I'd also like to understand why this line is in the IDL code in the first place as perhaps there is something I'm missing or perhaps I misinterpreted the original intent of this condition when translating the code from IDL to Python.
In GitLab by @wtbarnes on Jan 12, 2023, 14:24
When converting from photons to electrons in the response function, there is a line that imposes a limit on no less than 1 electron per photon,
https://gitlab.com/LMSAL_HUB/aia_hub/aiapy/-/blob/main/aiapy/response/channel.py#L373-375
This is not correct as there is no guarantee that a photon need produce an electron in the system. I carried this condition over from the following line in the IDL script for calculating the AIA response,
aia_bp_parse_effarea.pro
,Importantly, this line has no effect as for the wavelength ranges relevant to this instrument, the electron-per-photon conversion is always > 1. However, I think this line should be removed. I'd also like to understand why this line is in the IDL code in the first place as perhaps there is something I'm missing or perhaps I misinterpreted the original intent of this condition when translating the code from IDL to Python.