fft_clean_full_frame

jwst.clean_flicker_noise.clean_flicker_noise.fft_clean_full_frame(image, mask, detector)[source]

Fit and remove background noise in frequency space for a full-frame image.

Parameters:
imagendarray of float

The image to be cleaned.

maskndarray of bool

The mask that indicates which pixels are to be used in fitting.

detectorstr

The name of the detector from which the data originate.

Returns:
cleaned_imagendarray of float

The cleaned image.