read_text

sofia_redux.calibration.standard_model.calibration_io.read_text(filename)[source]

Read spectrum input file if formatted in plain text.

Parameters:
filenamestr

Name of file to read.

Returns:
wavelengthnumpy.array

Wavelengths in stellar spectrum.

fluxnumpy.array

Flux at each wavelength in wavelength.