pint.utils.remove_dummy_distance

pint.utils.remove_dummy_distance(c)[source]

Removes a dummy distance from a SkyCoord object after applying proper motion

Parameters:

c (astropy.coordinates.SkyCoord) – current SkyCoord object with distance and with proper motion and obstime

Returns:

cnew – new SkyCoord object with a distance removed

Return type:

astropy.coordinates.SkyCoord