galpy.orbit.Orbit.dist¶
-
Orbit.
dist
(*args, **kwargs)¶ NAME:
distPURPOSE:
return distance from the observerINPUT:
t - (optional) time at which to get dist (can be Quantity)
obs=[X,Y,Z] - (optional) position of observer (in kpc; entries can be Quantity) (default=[8.0,0.,0.]) OR Orbit object that corresponds to the orbit of the observer Y is ignored and always assumed to be zero
ro= (Object-wide default) physical scale for distances to use to convert (can be Quantity)
OUTPUT:
dist(t) in kpcHISTORY:
2011-02-23 - Written - Bovy (NYU)