flux_reference_wavelength¶
- sofia_redux.calibration.standard_model.derived_optics.flux_reference_wavelength(result, pl=False, bb=False, alpha=None, wref=None, fref=None, temp=None, model_flux_in_filter=None, wavelengths=None)[source]¶
Calculate the flux from the model at reference wavelengths.
- Parameters:
- resultdict
Collection of calibration results.
- plbool, optional
If set, the model is based on a power law. Defaults to False.
- bbbool, optional
If set, the model is based on a blackbody. Defaults to False.
- alphafloat, optional
Slope used for power law if
pl
is True.- wreffloat, optional
Reference wavelength for power law models if
pl
is True.- freffloat, optional
Reference frequency for power law models.
- tempfloat, optional
Reference temperature for blackbody models if
bb
is True.- model_flux_in_filternumpy.array, optional
Flux in the filter of the model if
pl
andbb
are both False.- wavelengthsnumpy.array, optional
Wavelenths in the filter of the model if
pl
andbb
are both False.
- Returns:
- flam_lam0float
Model flux at the mean wavelength.
- flam_lam1float
Model flux at lambda 1.