craftutils.observation.epoch.SkyCoord.is_equivalent_frame(other)

Checks if this object’s frame as the same as that of the other object.

To be the same frame, two objects must be the same frame class and have the same frame attributes. For two |SkyCoord| objects, all of the frame attributes have to match, not just those relevant for the object’s frame.

Parameters

otherSkyCoord or BaseCoordinateFrame

The other object to check.

Returns

isequivbool

True if the frames are the same, False if not.

Raises

TypeError

If other isn’t a |SkyCoord| or a subclass of ~astropy.coordinates.BaseCoordinateFrame.