degradation#

aiapy.calibrate.degradation(
channel: Unit('Angstrom'),
obstime,
*,
correction_table=None,
calibration_version=10,
)[source]#

Correction to account for time-dependent degradation of the instrument.

The correction factor to account for the time-varying degradation of the telescopes is given by a normalization to the calibration epoch closest to obstime and an interpolation within that epoch to obstime,

\[\frac{A_{eff}(t_{e})}{A_{eff}(t_0)}(1 + p_1\delta t + p_2\delta t^2 + p_3\delta t^3)\]

where \(A_{eff}(t_e)\) is the effective area calculated at the calibration epoch for obstime, \(A_{eff}(t_0)\) is the effective area at the first calibration epoch (i.e. at launch), \(p_1,p_2,p_3\) are the interpolation coefficients for the obstime epoch, and \(\delta t\) is the difference between the start time of the epoch and obstime. All calibration terms are taken from the aia.response series in JSOC or read from the table input by the user.

Note

This function is adapted directly from the aia_bp_corrections.pro routine in SolarSoft.

Parameters:
  • channel (Quantity) – Wavelength of the channel.

  • obstime (Time) – Observation time.

  • correction_table (Table, optional) – Table of correction parameters. Defaults to None, which will use the table returned by aiapy.calibrate.utils.get_correction_table.

  • calibration_version (int, optional) – The version of the correction table to use. Defaults to the latest version defined in this module.

Returns:

Degradation correction factor.

Return type:

Quantity