LogarithmicPotential¶
-
class
gala.potential.
LogarithmicPotential
(v_c, r_h, q1, q2, q3, phi=0, theta=0, psi=0, units)¶ Bases:
gala.potential.CPotentialBase
Triaxial logarithmic potential.
\[\begin{split}\Phi(x,y,z) &= \frac{1}{2}v_{c}^2\ln((x/q_1)^2 + (y/q_2)^2 + (z/q_3)^2 + r_h^2)\\\end{split}\]Parameters: v_c :
Quantity
, numericCircular velocity.
r_h :
Quantity
, numericScale radius.
q1 : numeric
Flattening in X.
q2 : numeric
Flattening in Y.
q3 : numeric
Flattening in Z.
phi :
Quantity
, numericFirst euler angle in the z-x-z convention.
units :
UnitSystem
(optional)Set of non-reducable units that specify (at minimum) the length, mass, time, and angle units.