Assign WCS¶
Reference/API¶
jwst.assign_wcs.fgs Module¶
FGS WCS pipeline - depends on EXP_TYPE.
Functions¶
create_pipeline (input_model, reference_files) |
Create a gWCS.pipeline using models from reference files. |
imaging (input_model, reference_files) |
The FGS imaging WCS pipeline. |
jwst.assign_wcs.miri Module¶
Functions¶
create_pipeline (input_model, reference_files) |
Create the WCS pipeline for MIRI modes. |
imaging (input_model, reference_files) |
The MIRI Imaging WCS pipeline. |
lrs (input_model, reference_files) |
The LRS-FIXEDSLIT and LRS-SLITLESS WCS pipeline. |
ifu (input_model, reference_files) |
The MIRI MRS WCS pipeline. |
jwst.assign_wcs.nircam Module¶
Functions¶
create_pipeline (input_model, reference_files) |
Create the WCS pipeline based on EXP_TYPE. |
imaging (input_model, reference_files) |
The NIRCAM imaging WCS pipeline. |
tsgrism (input_model, reference_files) |
Create WCS pipeline for a NIRCAM Time Series Grism observation. |
wfss (input_model, reference_files) |
Create the WCS pipeline for a NIRCAM grism observation. |
jwst.assign_wcs.niriss Module¶
Functions¶
create_pipeline (input_model, reference_files) |
Create the WCS pipeline based on EXP_TYPE. |
imaging (input_model, reference_files) |
The NIRISS imaging WCS pipeline. |
niriss_soss (input_model, reference_files) |
The NIRISS SOSS WCS pipeline. |
niriss_soss_set_input (model, order_number) |
Extract a WCS fr a specific spectral order. |
wfss (input_model, reference_files) |
Create the WCS pipeline for a NIRISS grism observation. |
jwst.assign_wcs.nirspec Module¶
Tools to create the WCS pipeline NIRSPEC modes.
Calls create_pipeline() which redirects based on EXP_TYPE.
Functions¶
create_pipeline (input_model, reference_files) |
Create a pipeline list based on EXP_TYPE. |
imaging (input_model, reference_files) |
Imaging pipeline. |
ifu (input_model, reference_files) |
The Nirspec IFU WCS pipeline. |
slits_wcs (input_model, reference_files) |
The WCS pipeline for MOS and fixed slits. |
get_open_slits (input_model[, reference_files]) |
Return the opened slits/shutters in a MOS or Fixed Slits exposure. |
nrs_wcs_set_input (input_model, slit_name[, …]) |
Returns a WCS object for a specific slit, slice or shutter. |
nrs_ifu_wcs (input_model) |
Return a list of WCSs for all NIRSPEC IFU slits. |
get_spectral_order_wrange (input_model, …) |
Read the spectral order and wavelength range from the reference file. |
jwst.assign_wcs.pointing Module¶
Functions¶
compute_roll_ref (v2_ref, v3_ref, roll_ref, …) |
Computes the position of V3 (measured N to E) at the center af an aperture. |
frame_from_model (wcsinfo) |
Initialize a coordinate frame based on values in model.meta.wcsinfo. |
fitswcs_transform_from_model (wcsinfo[, wavetab]) |
Create a WCS object using from datamodel.meta.wcsinfo. |
jwst.assign_wcs.util Module¶
Utility function for assign_wcs.
Functions¶
reproject (wcs1, wcs2[, origin]) |
Given two WCSs return a function which takes pixel coordinates in the first WCS and computes their location in the second one. |
wcs_from_footprints (dmodels[, refmodel, …]) |
Create a WCS from a list of input data models. |
velocity_correction (velosys) |
Compute wavelength correction to Barycentric reference frame. |