store_model_in_cache

sofia_redux.instruments.forcast.getmodel.store_model_in_cache(modelfile, resolution, filename, wave, unsmoothed, smoothed)[source]

Store model data in the model cache.

Parameters:
modelfilestr

File path to the model file

resolutionfloat

Spectral resolution used for smoothing.

filenamestr

Used to update ATRNFILE in FITS headers.

wavenumpy.ndarray

(nwave,) array of wavelengths.

unsmoothednumpy.ndarray

(nwave,) array containing the model data from file

smoothednumpy.ndarray

(nwave,) array containing the smoothed model data