DF (``galpy.df``) ================== ``galpy.df`` contains tools for dealing with distribution functions of stars in galaxies. It mainly contains a number of classes that define different types of distribution function, but ``galpy.df.jeans`` also has some tools for solving the Jeans equations for equilibrium systems. Jeans modeling tools (``galpy.df.jeans``) ----------------------------------------- .. toctree:: :maxdepth: 2 sigmar sigmalos General instance routines for all df classes -------------------------------------------- .. toctree:: :maxdepth: 2 turn_physical_off turn_physical_on Two-dimensional, axisymmetric disk distribution functions ---------------------------------------------------------- Distribution function for orbits in the plane of a galactic disk. General instance routines +++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 __call__ asymmetricdrift kurtosisvR kurtosisvT meanvR meanvT oortA oortB oortC oortK sigma2surfacemass sigma2 sigmaR2 sigmaT2 skewvR skewvT surfacemass surfacemassLOS targetSigma2 targetSurfacemass targetSurfacemassLOS vmomentsurfacemass Sampling routines ^^^^^^^^^^^^^^^^^^^ .. toctree:: :maxdepth: 2 sample sampledSurfacemassLOS sampleLOS sampleVRVT Specific distribution functions +++++++++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 Dehnen DF Schwarzschild DF Shu DF Two-dimensional, non-axisymmetric disk distribution functions -------------------------------------------------------------- Distribution function for orbits in the plane of a galactic disk in non-axisymmetric potentials. These are calculated using the technique of `Dehnen 2000 `_, where the DF at the current time is obtained as the evolution of an initially-axisymmetric DF at time ``to`` in the non-axisymmetric potential until the current time. General instance routines +++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 __call__ __init__ meanvR meanvT oortA oortB oortC oortK sigmaR2 sigmaRT sigmaT2 vertexdev vmomentsurfacemass Three-dimensional disk distribution functions ---------------------------------------------- Distribution functions for orbits in galactic disks, including the vertical motion for stars reaching large heights above the plane. Currently only the *quasi-isothermal DF*. General instance routines +++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 __call__ density estimate_hr estimate_hsr estimate_hsz estimate_hz jmomentdensity meanjr meanjz meanlz meanvR meanvT meanvz pvR pvRvT pvRvz pvT pvTvz pvz sampleV sampleV_interpolate sigmaR2 sigmaRz sigmaT2 sigmaz2 surfacemass_z tilt vmomentdensity Specific distribution functions +++++++++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 quasiisothermal DF The distribution function of a tidal stream --------------------------------------------- From `Bovy 2014 `_; see :ref:`stream-tutorial`. General instance routines +++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 __call__ __init__ calc_stream_lb callMarg density_par estimateTdisrupt find_closest_trackpoint find_closest_trackpointLB freqEigvalRatio gaussApprox length meanangledAngle meanOmega meantdAngle misalignment pangledAngle plotCompareTrackAAModel plotProgenitor plotTrack pOparapar ptdAngle sample sigangledAngle sigOmega sigtdAngle subhalo_encounters The distribution function of a gap in a tidal stream ---------------------------------------------------- From `Sanders, Bovy, & Erkal 2015 `_; see :ref:`streamgap-tutorial`. Implemented as a subclass of ``streamdf``. No full implementation is available currently, but the model can be set up and sampled as in the above paper. General instance routines +++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 __init__ sample Helper routines to compute kicks +++++++++++++++++++++++++++++++++ .. toctree:: :maxdepth: 2 impulse_deltav_plummer impulse_deltav_plummer_curvedstream impulse_deltav_hernquist impulse_deltav_hernquist_curvedstream impulse_deltav_general impulse_deltav_general_curvedstream impulse_deltav_general_orbitintegration impulse_deltav_general_fullplummerintegration