Previous topic

galpy.orbit.Orbit.dec

Next topic

galpy.orbit.Orbit.E

This Page

galpy.orbit.Orbit.dist

Orbit.dist(*args, **kwargs)

NAME:

dist

PURPOSE:

return distance from the observer

INPUT:

t - (optional) time at which to get dist

obs=[X,Y,Z] - (optional) position of observer (in kpc) (default=[8.5,0.,0.]) OR Orbit object that corresponds to the orbit of the observer

ro= distance in kpc corresponding to R=1. (default: 8.5)

OUTPUT:

dist(t) in kpc

HISTORY:

2011-02-23 - Written - Bovy (NYU)