get_mosaic_wcs

romanisim.wcs.get_mosaic_wcs(mosaic, shape=None, xpos=None, ypos=None, coord=None)

Get a WCS object for a given SCA or set of CRDS parameters. - if xpos, ypos, and coords are provided, then a GWCS compatible object will be created (and meta updated with it) - if not, a functional CelestialWCS is created [useful for quick computation, but GWCS needed for validation of a final simulation]

Parameters:
mosaicroman_datamodels.datamodels.MosaicModel or dict

Mosaic model or dictionary containing WCS parameters.

shape: list

Length of dimensions of mosaic

xpos, yposarray_like (float)

x, y positions of each source in objlist

coordarray_like (float)

ra, dec positions of each source in objlist

Returns:
galsim.CelestialWCS for the mosaic