pypeit.core.convert_DEIMOSsavfiles module

pypeit.core.convert_DEIMOSsavfiles.sav_to_fits(savfile)[source]

Simple method to convert the DEIMOS .sav files, which contain the optical model maps, to .fits files. The new file has the same name with a .fits extension.

ToDO: This is specific for keck_deimos static_calib data, since the path is explicitly mentioned. If needed, this method could be generalized.

TODO: move it to pypeit.io.

Parameters:

savfile (str) – full path to the .sav file