LM10Potential¶
-
class
gala.potential.
LM10Potential
(units=<UnitSystem (kpc, Myr, solMass, rad)>, disk={}, bulge={}, halo={})[source]¶ Bases:
gala.potential.CCompositePotential
The Galactic potential used by Law and Majewski (2010) to represent the Milky Way as a three-component sum of disk, bulge, and halo.
The disk potential is an axisymmetric
MiyamotoNagaiPotential
, the bulge potential is a sphericalHernquistPotential
, and the halo potential is a triaxialLogarithmicPotential
.Default parameters are fixed to those found in LM10 by fitting N-body simulations to the Sagittarius stream.
Parameters: units :
UnitSystem
(optional)Set of non-reducable units that specify (at minimum) the length, mass, time, and angle units.
disk : dict (optional)
Parameters to be passed to the
MiyamotoNagaiPotential
.bulge : dict (optional)
Parameters to be passed to the
HernquistPotential
.halo : dict (optional)
Parameters to be passed to the
LogarithmicPotential
.Note: in subclassing, order of arguments must match order of potential
components added at bottom of init.