sort_spectrum

sofia_redux.calibration.standard_model.modconvert.sort_spectrum(freq, flux, brightness_temp)[source]

Sort the flux and brightness temp by increasing wavelength.

Parameters:
freqnumpy.array

Frequency data.

fluxnumpy.array

Flux data.

brightness_tempnumpy.array

Brightness temperature data.

Returns:
wnumpy.array

Wavelength of each data point.

fnumpy.array

Flux at each wavelength in w.

tnumpy.array

Brightness temperature at each wavelength in w.