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

Computes three dimensional separation between this coordinate and another.

For more on how to use this (and related) functionality, see the examples in astropy:/coordinates/matchsep.

Parameters

other~astropy.coordinates.SkyCoord or ~astropy.coordinates.BaseCoordinateFrame

The coordinate to get the separation to.

Returns

sep~astropy.coordinates.Distance

The real-space distance between these two coordinates.

Raises

ValueError

If this or the other coordinate do not have distances.