post_process_rate
- jwst.clean_flicker_noise.clean_flicker_noise.post_process_rate(input_model, input_dir='', assign_wcs=False, msaflagopen=False, flat_dq=False)[source]
Perform additional processing for the input rate model, as needed.
- Parameters:
- input_model
ImageModelorCubeModel Input rate model.
- input_dirstr
Path to the input directory. Used by sub-steps (e.g.,
assign_wcsfor NIRSpec MOS data) to find auxiliary data.- assign_wcsbool, optional
If set and the input does not already have a WCS assigned, the
assign_wcsstep will be called on the rate model.- msaflagopenbool, optional
If set, the
msaflagopenstep will be called on the rate model. If a WCS is not already present,assign_wcswill be called first.- flat_dqbool, optional
If set, the
flat_fieldstep will be run on the input model. DQ flags are retrieved from the output and added to the input model’s DQ array. The rate data is not modified.
- input_model
- Returns:
- output_model
ImageModelorCubeModel The updated model.
- output_model