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

Uploaded Source

File details

Details for the file lens_population_sampler-0.1.0.tar.gz.

File metadata

  • Download URL: lens_population_sampler-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for lens_population_sampler-0.1.0.tar.gz
Algorithm Hash digest
SHA256 381c4e478eb22c77d5be947bafc6f0dd0425d9d806b946fc3fb3900c85538aef
MD5 02da6aea489e243fce85ce6177f828c8
BLAKE2b-256 d1655893a8e93e044cbbce1c71b6468490c10a399325a091ba01c9e580cde30f

See more details on using hashes here.

Supported by

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