generate_blackbody¶
- sofia_redux.calibration.standard_model.calibration_io.generate_blackbody(temp, wmin=40.0, wmax=300.0)[source]¶
Generate a simple blackbody spectrum.
- Parameters:
- tempfloat
Temperature of the asteroid.
- 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
.