gwcs.wcstools.wcs_from_fiducial(fiducial, coordinate_frame=None, projection=None, transform=None, name='', bounding_box=None, input_frame=None)[source]

Create a WCS object from a fiducial point in a coordinate frame.

If an additional transform is supplied it is prepended to the projection.

fiducialSkyCoord or tuple of float
One of:

A location on the sky in some standard coordinate system. A Quantity with spectral units. A list of the above.


The output coordinate frame. If fiducial is not an instance of SkyCoord, coordinate_frame is required.


Projection instance - required if there is a celestial component in the fiducial.

transformModel (optional)

An optional tranform to be prepended to the transform constructed by the fiducial point. The number of outputs of this transform must equal the number of axes in the coordinate frame.


Name of this WCS.


The bounding box over which the WCS is valid. It is a tuple of tuples of size 2 where each tuple represents a range of (low, high) values. The bounding_box is in the order of the axes, axes_order. For two inputs and axes_order(0, 1) the bounding box is ((xlow, xhigh), (ylow, yhigh)).


The input coordinate frame.