Python package to sample from a velocity dispersion function of ellictical galaxies in the local universe
- Free software: MIT license
- Documentation: https://lens-population-sampler.readthedocs.io.
# import package
from lens_population_sampler import vdf_sampler
# produces 1000 samples with velocity dispersion between 100 and 200. The approximation uses 500 bins.
samples = vdf_sampler.sample_vdf(100, 200, resolution = 500, size = 1000)
print(samples)
This package uses the function derived from analysing the velocity dispersions of ellictical galaxies using the Sloan Digital Sky Survey in (Choi, Park, & Vogeley (2007)).
This package uses a modified class from hierArc, created by Simon Birrer.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.