API

Public Step API

jwst.ipc.ipc_step Module

Perform the IPC (Inter-Pixel Capacitance) correction step.

Classes

IPCStep([name, parent, config_file, ...])

Perform IPC correction by convolving a science datamodel with IPC reference data.

Complete Developer API

jwst.ipc.ipc_corr Module

Functions for IPC correction.

Functions

do_correction(input_model, ipc_model)

Execute all tasks for IPC correction.

ipc_correction(output, ipc_model)

Apply the IPC correction to the science arrays.

get_num_ref_pixels(input_model)

Get the number of reference pixel rows and columns.

get_ipc_slice(input_model, ipc_model)

Extract a slice from IPC kernel corresponding to science data.

ipc_convolve(output_data, kernel, nref)

Convolve the science data with the IPC kernel.

jwst.ipc.x_irs2 Module

Functions

normal_shape(input_model[, n, r, detector])

Determine the shape of the 'normal' pixel data when excluding interleaved reference pixels.

make_mask(input_model[, n, r])

Create a mask to extract 'normal' pixels.

from_irs2(irs2_data, irs2_mask[, detector])

Extract 'normal' pixel data from an IRS2 image.

to_irs2(irs2_data, norm_data, irs2_mask[, ...])

Copy 'normal' pixel data into an IRS2 image.