Python package to sample from a velocity dispersion function of ellictical galaxies in the local universe
Project description
VDF sampler
Python package to sample from a velocity dispersion function of ellictical galaxies in the local universe
Free software: MIT license
Documentation: https://vdf-sampler.readthedocs.io.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for lens_population_sampler-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 381c4e478eb22c77d5be947bafc6f0dd0425d9d806b946fc3fb3900c85538aef |
|
MD5 | 02da6aea489e243fce85ce6177f828c8 |
|
BLAKE2b-256 | d1655893a8e93e044cbbce1c71b6468490c10a399325a091ba01c9e580cde30f |