write_scaled_spectrum

sofia_redux.calibration.standard_model.modconvert.write_scaled_spectrum(wave, scaled_flux, scale_factor, temp, infile, outfile)[source]

Write the scaled Herschel model to file.

Parameters:
wavenumpy.array

Wavelength data of spectrum.

scaled_fluxnumpy.array

Flux data of spectrum.

scale_factorfloat

Scale factor applied to Herschel model.

tempnumpy.array

Brightness temperature data of spectrum.

infilestr

Name of Herschel file.

outfilestr

Name of file to create with scaled spectrum.

Returns:
None