craftutils.observation.epoch.SkyCoord.skyoffset_frame(rotation=None)

Returns the sky offset frame with this SkyCoord at the origin.

Parameters

rotationangle-like

The final rotation of the frame about the origin. The sign of the rotation is the left-hand rule. That is, an object at a particular position angle in the un-rotated system will be sent to the positive latitude (z) direction in the final frame.

Returns

astrframe~astropy.coordinates.SkyOffsetFrame

A sky offset frame of the same type as this |SkyCoord| (e.g., if this object has an ICRS coordinate, the resulting frame is SkyOffsetICRS, with the origin set to this object)