get_wavecal_from_cache

sofia_redux.instruments.fifi_ls.lambda_calibrate.get_wavecal_from_cache(wavecalfile)[source]

Retrieves wavelength calibration data from the wavecal cache.

Checks to see if the file still exists, can be read, and has not been altered since last time. If the file has changed, it will be deleted from the cache so that it can be re-read.

Parameters:
wavecalfilestr

File path to the wavecal file

Returns:
wavecalpd.DataFrame

Wavelength calibration table