fft_interp_norm

jwst.refpix.irs2_subtract_reference.fft_interp_norm(dd0, mask0, row, hnorm, hnorm1, ny, ngroups, aa, n_iter_norm)[source]

Filter iteratively in FFT space of the normal pixels in each group.

Parameters:
dd0ndarray

Data array containing all groups, updated in place.

mask0ndarray

Mask for pixels to filter, with dimensions ny x nrow. 1 means use the pixel, 0 means do not use it.

rowint

Row size computed from the number of science pixels, reference pixels, and padding in an amplifier.

hnormndarray

Array of column indices for normal pixels.

hnorm1ndarray

Shifted index values for normal pixels.

nyint

Y size of data array.

ngroupsint

Number of groups.

aandarray

Filter to apply.

n_iter_normint

Number of filtering iterations.