derive_background_photon_flux

sofia_redux.calibration.standard_model.background.derive_background_photon_flux(warr, temperatures)[source]

Setup planck functions for each non-target source.

Typical sources are the telescope, foreoptics, atmosphere, window, and instrument.

Parameters:
warrnumpy.array

Wavelengths to determine the blackbody flux at, in microns.

temperaturesdict

Sources to generate blackbodies for. The keys are the name of the source, and values are the temperatures of each source.

Returns:
plancksdict

Collection of blackbody spectrums for each source in temperatures. The keys are the same as temperature and the values are numpy arrays holding the blackbody flux.