linear_correction
- jwst.photom.time_dependence.linear_correction(midtime, t0, lossperyear, bounded=False)[source]
Linear correction to photometry value.
- Parameters:
- midtimefloat
Mid-point MJD of observation.
- t0ndarray
Reference day in MJD.
- lossperyearndarray
Fractional loss of throughput per year (linear slope).
- boundedbool, optional
If
True, any correction value greater than 1 is set to 1.0.
- Returns:
- correctionndarray
Multiplicative correction values corresponding to the input parameters.