Skip to main content

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

Project description

VDF sampler

https://img.shields.io/pypi/v/vdf_sampler.svg https://img.shields.io/travis/vikramb1/vdf_sampler.svg Documentation Status

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

Example

# import package
import vdf_sampler

# produces 1000 samples with velocity dispersion between 100 and 200. The approximation uses 500 bins.
samples = 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.

History

0.1.0 (2022-08-22)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lens_population_sampler-0.1.0.tar.gz (10.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page