API

Public Step API

jwst.cube_build.cube_build_step Module

Classes

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

Create a 3-D spectral cube from IFU data.

Complete Developer API

jwst.cube_build.blot_cube_build Module

Classes

CubeBlot(median_model, input_models)

Main module for blotting a sky cube back to detector space.

jwst.cube_build.coord Module

A set of routines to assist in the WCS transforms used in the cube_build step.

Functions

radec2std(crval1, crval2, ra, dec[, rot_angle])

Compute the tangent projection coordinates (xi,eta) from ra,dec using crval1 and crval2.

std2radec(crval1, crval2, xi, eta)

Compute ra,dec from the tangent plane rectangular coordinates.

v2v32radec_estimate(ra_ref, dec_ref, ...)

Estimation of RA and Dec from the v2, v3 coordinates.

radec2v2v3_estimate(ra_ref, dec_ref, ...)

Convert ra,dec to v2, v3.

jwst.cube_build.cube_build_io_util Module

Read in reference files for the cube_build step.

Functions

read_cubepars(par_filename, instrument, ...)

Read in CUBEPAR reference file.

jwst.cube_build.cube_build Module

Basic routines used to set up IFU cubes.

Classes

CubeData(input_models, par_filename, **pars)

Hold top-level information on the IFU cube.

NoChannelsError

The user-selected channels are not in the data.

NoSubchannelsError

The user-selected subchannels are not in the data.

NoFiltersError

The user-selected filters are not in the data.

NoGratingsError

The user-selected gratings are not in the data.

MissingParameterError

Grating is provided but not filter or vice versa.

jwst.cube_build.cube_build_wcs_util Module

Routines related to WCS procedures of cube_build.

Functions

miri_slice_limit_coords(wcs, xstart, xend)

Get MIRI slice end points in input image coordinates.

find_corners_miri(input_data, this_channel, ...)

Find the footprint of the MIRI channel data on the sky.

find_corners_nirspec(input_data, coord_system)

Find the sky footprint of a slice of a NIRSpec exposure.

jwst.cube_build.cube_internal_cal Module

Routines for creating IFU cubes with interpolation method=area, coord_system=internal_cal.

Functions

match_det2cube(instrument, x, y, sliceno, ...)

Match detector pixels to output plane in local IFU coordinate system.

jwst.cube_build.data_types Module

Classes

DataTypes(input_models, single, output_file, ...)

Class to handle reading input data to cube_build for processing.

jwst.cube_build.file_table Module

Classes

FileTable()

Dictionary contains defaults for MIRI and NIRSpec data.

NoAssignWCSError

assign_wcs has not been run.

NotIFUImageModelError

Data is not of type IFUImageModel.

jwst.cube_build.ifu_cube Module

Work horse routines used for building ifu spectra cubes.

Classes

IFUCubeData(pipeline, input_models, ...)

Combine IFU data onto a regular grid.

IncorrectInputError

Interpolation=area when more than 1 file is used to build cube.

IncorrectParameterError

Cube building parameter is NaN.

jwst.cube_build.instrument_defaults Module

Dictionary of basic instrument parameters.

Classes

InstrumentInfo()

Define the basic instrument parameters.