.. _orbit-api: Orbit (``galpy.orbit``) ======================== See :ref:`Orbit initialization ` for a detailed explanation on how to set up Orbit instances. Initialization -------------- .. toctree:: :maxdepth: 2 Orbit Orbit.from_fit Orbit.from_name Plotting -------- .. toctree:: :maxdepth: 2 animate plot plot3d In addition to these methods, any calculable attribute listed below can be plotted versus other attributes using ``plotATTR``, where ``ATTR`` is an attribute like ``R``, ``ll``, etc. In this case, the y axis will have ``ATTR`` and the overrideable x axis default is time. For example, ``o.plotR()`` will plot the orbit's R vs time. Attributes ---------- * .. autoinstanceattribute:: galpy.orbit.Orbit.name :annotation: Name(s) of objects initialized using ``Orbit.from_name`` * .. autoinstanceattribute:: galpy.orbit.Orbit.shape :annotation: Tuple of Orbit dimensions * .. autoinstanceattribute:: galpy.orbit.Orbit.size :annotation: Total number of elements in the Orbit instance Methods ------- .. toctree:: :maxdepth: 2 __call__ __getitem__ bb dec dim dist E e ER Ez flip integrate integrate_dxdv getOrbit getOrbit_dxdv helioX helioY helioZ Jacobi jp jr jz ll L LcE Lz Op Or Oz phasedim phi pmbb pmdec pmll pmra r R ra rap rE reshape rguiding rperi SkyCoord theta time toLinear toPlanar Tp Tr TrTp turn_physical_off turn_physical_on Tz U V vbb vdec vll vlos vphi vr vR vra vtheta vT vx vy vz W wp wr wz x y z zmax