plot_spectrum¶
- sofia_redux.calibration.standard_model.calibration_io.plot_spectrum(model_wave, model_flux, power_law, blackbody, isophotal_weight, calibration_results, outfile=None)[source]¶
Generate a plot of the final spectrum.
- Parameters:
- wsnumpy.array
Wavelength of spectrum.
- fsnumpy.array
Flux at each wavelength in
ws
.- power_lawbool
If set, spectrum was generated from a power law.
- blackbodybool
If set, spectrumw as generated from an ideal blackbody.
- lam_iso_wtnumpy.array
ISO weighted wavelength in each filter.
- Nfint
Number of filters.
- outfilestr
Name of the output file, that the file the plots is saved to is based on.
- Returns:
- None