apply_fringe
- jwst.fringe.fringe.apply_fringe(input_model, fringe)[source]
Apply the fringe correction to the science data.
The fringe correction corrects data and error arrays by dividing these arrays by the respective values in the reference array (for the reference pixels having good values).
- Parameters:
- input_model
IFUImageModel Input science data model to be fringe-corrected; updated in place.
- fringe
FringeModel Fringe reference file image model.
- input_model
- Returns:
- input_model
IFUImageModel Input science data model which has been fringe-corrected.
- input_model