craftutils.observation.epoch.ImagingEpoch.frame_class.write_mask(output_path: str, ext: int = 0, **mask_kwargs) ImagingImage

Generates and writes a source mask to a FITS file. Any argument accepted by generate_mask() can be passed as a keyword.

Parameters
output_path: str

path to write the mask file to.

ext: int = 0

FITS extension to modify.

Returns