Skip to content

Vikramb1/Lens_population_sampler

Repository files navigation

VDF sampler

image

image

Documentation Status

Python package to sample from a velocity dispersion function of ellictical galaxies in the local universe

Example

# 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)

Credits

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published