calculate_dn_to_radiance_factor#
- irispy.utils.spectrograph.calculate_dn_to_radiance_factor(
- *,
- iris_response,
- wavelength,
- detector_type,
- spectral_dispersion_per_pixel,
- solid_angle,
Calculates multiplicative factor that converts counts/s to radiance for given wavelengths.
- Parameters:
iris_response (dict) – The IRIS response data loaded from
irispy.utils.response.get_latest_response.wavelength (
astropy.units.Quantity) – Wavelengths for which counts/s-to-radiance factor is to be calculateddetector_type (
str) – Detector type: ‘FUV’ or ‘NUV’.spectral_dispersion_per_pixel (scalar
astropy.units.Quantity) – Spectral dispersion (wavelength width) of a pixel.solid_angle (scalar
astropy.units.Quantity) – Solid angle corresponding to a pixel.
- Returns:
Multiplicative conversion factor from counts/s to radiance units for input wavelengths.
- Return type:
Notes
The term “multiplicative” refers to the fact that the conversion factor calculated by the
calculate_dn_to_radiance_factorfunction 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.