frame_from_model

jwst.assign_wcs.pointing.frame_from_model(wcsinfo)[source]

Initialize a coordinate frame based on values in model.meta.wcsinfo.

Parameters:
wcsinfoJwstDataModel or dict

Either one of the JWST data models or a dict with model.meta.wcsinfo.

Returns:
frameCoordinateFrame

A coordinate frame object corresponding to the input WCS information.