Skip to main content

Python routines for computing Navarro-Frenk-White halo properties

Project description

# Navarro-Frenk-White (NFW) Halo Class

[![Build Status](https://travis-ci.org/joergdietrich/NFW.svg?branch=master)](https://travis-ci.org/joergdietrich/NFW) [![Coverage Status](https://coveralls.io/repos/github/joergdietrich/NFW/badge.svg?branch=master)](https://coveralls.io/github/joergdietrich/NFW?branch=master) [![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.50664.svg)](http://dx.doi.org/10.5281/zenodo.50664)

This class implements the NFW (Navarro, Julio F. Frenk, Carlos S. White, Simon D. M., “A Universal Density Profile from Hierarchical Clustering”, The Astrophysical Journal vol. 490, pp. 493-508, 1997) halo profile. It allows easy computation of halo quantities such as mass at and radius of specified overdensities. Overdensities can be specified either with respect to the critical or mean density of the Universe.

Class instances can be instantiated at different overdensities. As such the class allows for easy conversion between masses and concentration parameters between different mass definitions.

## Dependencies

This implementation of the NFW halo properties depends on

  • numpy >= 1.9
  • scipy >= 0.16
  • astropy >= 1.0

Older versions may work but are untested.

## Author

Jörg Dietrich <astro@joergdietrich.com>

Project details


Download files

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

Files for NFW, version 0.2.0.dev1
Filename, size File type Python version Upload date Hashes
Filename, size NFW-0.2.0.dev1-py2.py3-none-any.whl (9.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size NFW-0.2.0.dev1.tar.gz (8.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page