As of sunpy>=3.1 it is now possible to just straight divide the map by the exposure time to create a new map, e.g.
m_new = m / m.exposure_time
I propose deprecating this function in 0.7 and in 0.8, removing it and only supporting sunpy 3.1 and above. I'm not sure there is anything we really need to special case when it comes to AIA exposure time normalization? Currently there is a check for the case where the exposure time is 0, but I'm not sure this warrants its own function.
Additionally, this function resets the EXPTIME key to 1. We should probably avoid doing this.
In GitLab by @wtbarnes on Oct 29, 2021, 12:28
As of
sunpy>=3.1
it is now possible to just straight divide the map by the exposure time to create a new map, e.g.I propose deprecating this function in 0.7 and in 0.8, removing it and only supporting sunpy 3.1 and above. I'm not sure there is anything we really need to special case when it comes to AIA exposure time normalization? Currently there is a check for the case where the exposure time is 0, but I'm not sure this warrants its own function.
Additionally, this function resets the
EXPTIME
key to 1. We should probably avoid doing this.