powerlaw_correction

jwst.photom.time_dependence.powerlaw_correction(midtime, t0, year1value, tsoft, alpha, bounded=False)[source]

Power-law correction to photometry value.

Parameters:
midtimefloat

Mid-point MJD of observation.

t0ndarray

Reference day in MJD.

year1valuendarray

Relative throughput 1 year after t0.

tsoftndarray

Softening parameter for power law decline.

alphandarray

Power law loss coefficient.

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.