get_num_ref_pixels

jwst.ipc.ipc_corr.get_num_ref_pixels(input_model)[source]

Get the number of reference pixel rows and columns.

Parameters:
input_modelJwstDataModel

The input science data.

Returns:
nrefnamedtuple

Tuple containing the number of reference pixels at each edge:

bottom_rowsint

The number of reference rows at the bottom of the image.

top_rowsint

The number of reference rows at the top of the image.

left_columnsint

The number of reference columns at the left edge.

right_columnsint

The number of reference columns at the right edge.