compute_dispersion

jwst.extract_2d.grisms.compute_dispersion(wcs)[source]

Compute the pixel dispersion.

Make a model for the pixel dispersion from the grismconf specs.

Parameters:
wcsWCS

The WCS object for this slit.

Returns:
dispersionndarray

The pixel dispersion in meters.