Quasi-isothermal DF

class galpy.df.quasiisothermaldf(hr, sr, sz, hsr, hsz, pot=None, aA=None, cutcounter=False, _precomputerg=True, _precomputergrmax=None, _precomputergnLz=51, refr=1.0, lo=0.005681818181818182, ro=None, vo=None)[source]

Class that represents a ‘Binney’ quasi-isothermal DF

__init__(hr, sr, sz, hsr, hsz, pot=None, aA=None, cutcounter=False, _precomputerg=True, _precomputergrmax=None, _precomputergnLz=51, refr=1.0, lo=0.005681818181818182, ro=None, vo=None)[source]

Initialize a quasi-isothermal DF

Parameters:
  • hr (float or Quantity) – Radial scale length.

  • sr (float or Quantity) – Radial velocity dispersion at the solar radius.

  • sz (float or Quantity) – Vertical velocity dispersion at the solar radius.

  • hsr (float or Quantity) – Radial-velocity-dispersion scale length.

  • hsz (float or Quantity) – Vertial-velocity-dispersion scale length.

  • pot (Potential or list thereof) – Potential or list of potentials that represents the underlying potential.

  • aA (actionAngle instance) – ActionAngle instance used to convert (x,v) to actions [must be an instance of an actionAngle class that computes (J,Omega,angle) for a given (x,v)].

  • cutcounter (bool, optional) – If True, set counter-rotating stars’ DF to zero.

  • refr (float or Quantity, optional) – Reference radius for dispersions (can be different from ro).

  • lo (float or Quantity, optional) – Reference angular momentum below where there are significant numbers of retrograde stars.

  • ro (float or Quantity, optional) – Distance scale for translation into internal units (default from configuration file).

  • vo (float or Quantity, optional) – Velocity scale for translation into internal units (default from configuration file).

  • _precomputerg (bool, optional) – If True (default), pre-compute the rL(L).

  • _precomputergrmax (float or Quantity, optional) – If set, this is the maximum R for which to pre-compute rg (default: 5*hr).

  • _precomputergnLz (int, optional) – If set, number of Lz to pre-compute rg for (default: 51).

Notes

  • 2012-07-25 - Started - Bovy (IAS@MPIA)