cwi_mask_z

cwitools.scripts.mask_z.mask_z(data, wmask=None, mask_sky=False, out=None, log=None, silent=None)

Mask specific wavelength ranges in a cube.

Parameters:
  • data (str) – Path to the input data (FITS file) to be masked.
  • wmask (list) – List of wavelength ranges to mask, given as a list of float tuples in units of Angstroms. e.g. [(4100,4200), (5100,5200)]
  • mask_sky (bool) – Set to TRUE to auto-mask sky emission lines.
  • out (str) – File extension to use for masked FITS (“.M.fits”)
  • log (str) – Path to log file to save output to.
  • silent (bool) – Set to TRUE to suppress standard output.
Returns:

None