remove_slopes

jwst.refpix.irs2_subtract_reference.remove_slopes(data0, ngroups, ny, row)[source]

Remove slopes.

Fitting and removal of slopes per frame to remove issues at frame boundaries.

Parameters:
data0ndarray

Input data array

ngroupsint

Number of groups in input data

nyint

Number of rows in input data

rowint

Row size