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.

Source Distribution

NFW-0.2.0.dev1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

NFW-0.2.0.dev1-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file NFW-0.2.0.dev1.tar.gz.

File metadata

  • Download URL: NFW-0.2.0.dev1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for NFW-0.2.0.dev1.tar.gz
Algorithm Hash digest
SHA256 3ccacf88df11e3fa7bd8ada0f8dba07ab27d9a662e20263314c515e03d9761a4
MD5 0468fb871c6bf801c93ffe966b663fc4
BLAKE2b-256 20535993a91a9f3e7b637ddaf2acb41ff9ca989f53f4517bf8ad7b6d7652a46a

See more details on using hashes here.

File details

Details for the file NFW-0.2.0.dev1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for NFW-0.2.0.dev1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da1e10ab2ccaec03c36ff5f3d54afa02f0939269e160245cac0159ff66b2805d
MD5 2cabff3179781fdeaada754e3a9c750f
BLAKE2b-256 b9b2f1a4d3fdb7d12781ee2d5accd2a168f2df08a456790c6117dbfe79a01cb3

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