parallax

astronat.sc.core.parallax(sc, d2p=True, **kw)[source]

Parallax.

Parameters
sc: SkyCoord

** warning: check if skycoord frame centered on Earth

d2p: bool
if true: arg = distance -> parallax_angle

else: arg = parallax_angle -> distance

Returns
parallax_angle or distance: scalar, array