convert_photons_per_sec_to_radiance#

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

Converts data quantities from counts/s to radiance.

Parameters:
Returns:

Data quantities converted to radiance.

Return type:

list of astropy.units.Quantity

Notes

This is designed to do the same as nrl/iris_calib.pro IDL code. The difference is that this function takes into account the spectral dispersion which the IDL code does not. To get the same results as the IDL code, can multiply the output by the spectral dispersion or set the keyword to have the value of 1 Angstrom.