calculate_dn_to_radiance_factor#

irispy.utils.spectrograph.calculate_dn_to_radiance_factor(
*,
iris_response,
wavelength,
detector_type,
spectral_dispersion_per_pixel,
solid_angle,
)[source]#

Calculates multiplicative factor that converts counts/s to radiance for given wavelengths.

Parameters:
Returns:

Multiplicative conversion factor from counts/s to radiance units for input wavelengths.

Return type:

astropy.units.Quantity

Notes

The term “multiplicative” refers to the fact that the conversion factor calculated by the calculate_dn_to_radiance_factor function is used to multiply the counts per second (cps) data to obtain the radiance data. In other words, the conversion factor is a scaling factor that is applied to the cps data to convert it to radiance units.