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_modelIFUImageModel

Input science data model to be fringe-corrected; updated in place.

fringeFringeModel

Fringe reference file image model.

Returns:
input_modelIFUImageModel

Input science data model which has been fringe-corrected.