generate_power_law¶
- sofia_redux.calibration.standard_model.calibration_io.generate_power_law(alpha, wmin=40.0, wmax=300.0)[source]¶
Generate a power law input spectrum.
- Parameters:
- alphafloat
Power law index.
- wminfloat, optional
Minimum wavelength of the spectrum. Defaults to 40 microns.
- wmaxfloat, optional
Maximum wavelength of the spectrum. Defaults to 300 microns.
- Returns:
- wavelengthnumpy.array
Wavelengths in stellar spectrum.
- fluxnumpy.array
Flux at each wavelength in
wavelength
.