Jeans-modelling
A python script to perform MCMC dynamical modelling of galaxies using the spherical Jeans equations with constant orbital anisotropy.
The method is described in Mamon & Lokas (2005).
In order to use this script you need :
- the emcee python module to run the MCMC machinery
- the file phot.py, which defines some useful functions to be used in jeans.py
In order to run the script:
- open jeans.py
- input the text-file containing the velocity dispersion data you want to fit
- edit the photometric quantities of your tracer
- the script returns a text-file that you can rename at the bottom of the script
- run the script with : python jeans.py