mask_ifu_slices
- jwst.clean_flicker_noise.clean_flicker_noise.mask_ifu_slices(input_model, mask)[source]
Flag pixels within NIRSpec IFU slices.
Find pixels located within IFU slices, according to the WCS, and flag them in the mask, so that they do not get used.
- Parameters:
- input_model
JwstDataModel Science data model
- maskndarray of bool
2D input mask that will be updated.
Trueindicates background pixels to be used. IFU slice regions will be set toFalse.
- input_model
- Returns:
- maskndarray of bool
2D output mask with additional flags for science pixels