cwi_get_mask¶
-
cwitools.scripts.get_mask.
get_mask
(reg, data, out=None, log=None, silent=None)¶ Create a binary mask based on a DS9 region file
Parameters: - reg (str) – Path to DS9 region (.reg) file.
- data (str) – Path to input data cube (.fits) file.
- out (str) – Output file name for mask FITS.
- log (str) – Path to log file to save output to.
- silent (bool) – Set to TRUE to suppress standard output.
Returns: None