read_fits

sofia_redux.calibration.standard_model.calibration_io.read_fits(infile)[source]

Read spectrum from a FITS file.

Parameters:
infilestr

Name of FITS file to read.

Returns:
wavelengthnumpy.array

Wavelengths in stellar spectrum.

fluxnumpy.array

Flux at each wavelength in wavelength.