quick_clean
- jwst.clean_flicker_noise.autoparam.quick_clean(input_model, flat_filename=None)[source]
Run a quick version of the flicker noise cleaning on a rate image.
This will return a median-cleaned and optionally flat-fielded rate image. Input data may be a ramp, rate, or rateints model. If rateints, the data from all integrations are averaged before cleaning.
All cleaning parameters are set to default values.
- Parameters:
- input_model
RampModel,ImageModel, orCubeModel Input data to clean.
- flat_filenamestr or None
If provided, will be read in and divided into the image before cleaning.
- input_model
- Returns:
- imagendarray of float
2D cleaned rate image.
- maskndarray of bool
2D mask marking background pixels as
True.