wcs_from_datamodel¶
- grizli.jwst_utils.wcs_from_datamodel(datamodel, **kwargs)[source]¶
Initialize
WCSobject fromwcsinfoparameters, accounting for the aperture reference position that sets the tangent point- Parameters
- datamodel
jwst.datamodels.image.ImageModel - kwargsdict
Keyword arguments passed to
wcs_from_header
- datamodel
- Returns
- wcs
WCS
- wcs