galpy.orbit.Orbit.from_name¶
-
classmethod
Orbit.
from_name
(*args, **kwargs)[source]¶ NAME:
from_namePURPOSE:
given the name of an object or a list of names, retrieve coordinate information for that object from SIMBAD and return a corresponding orbitINPUT:
name - the name of the object or list of names; when loading a collection of objects (like ‘mwglobularclusters’), lists are not allowed
+standard Orbit initialization keywords:
ro= distance from vantage point to GC (kpc; can be Quantity)
vo= circular velocity at ro (km/s; can be Quantity)
zo= offset toward the NGP of the Sun wrt the plane (kpc; can be Quantity; default = 20.8 pc from Bennett & Bovy 2019)
solarmotion= ‘hogg’ or ‘dehnen’, or ‘schoenrich’, or value in [-U,V,W]; can be Quantity
OUTPUT:
orbit containing the phase space coordinates of the named objectHISTORY:
2018-07-15 - Written - Mathew Bub (UofT)
2019-05-21 - Generalized to multiple objects and incorporated into Orbits - Bovy (UofT)