https://github.com/joergdietrich/nfw

Python routines for computing Navarro-Frenk-White halo properties

https://github.com/joergdietrich/nfw

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary

Keywords

astronomy astrophysics galaxies galaxy-clusters halo navarro-frenk-white nfw python
Last synced: 6 months ago · JSON representation

Repository

Python routines for computing Navarro-Frenk-White halo properties

Basic Info
  • Host: GitHub
  • Owner: joergdietrich
  • License: bsd-2-clause
  • Language: Python
  • Default Branch: master
  • Size: 102 KB
Statistics
  • Stars: 12
  • Watchers: 5
  • Forks: 5
  • Open Issues: 0
  • Releases: 0
Topics
astronomy astrophysics galaxies galaxy-clusters halo navarro-frenk-white nfw python
Created about 12 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.rst

Navarro-Frenk-White (NFW) Halo Class
====================================

|Build Status| |Coverage Status| |DOI|

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 created at different overdensities. As such
the class allows for easy conversion between masses and concentration
parameters between different mass definitions.

Surface mass density and differential surface mass density methods are
available for weak lensing applications.

Installation
------------

The easiest way to install the NFW module is to use pip::
  
  $ pip install NFW


Dependencies
------------

This implementation of the NFW halo properties depends on

-  numpy >= 1.9
-  scipy >= 0.16
-  astropy >= 2.0

Older versions may work but are untested. In particular astropy > 1.0 is
known to work but the unit tests will fail because astropy-2.0 updated
physical constants from CODATA 2010 to CODATA 2014.

Author
------

Jörg Dietrich astro@joergdietrich.com

Contributing
------------

Development takes place on GitHub_. Please report any bugs as an issue in the
GitHub issue tracker.

License
-------

NFW is released under an MIT license. See LICENCE.txt


.. |Build Status| image:: https://img.shields.io/github/actions/workflow/status/joergdietrich/NFW/main.yml
   :target: https://github.com/joergdietrich/NFW/actions
.. |Coverage Status| image:: https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/joergdietrich/fdfe01f268aa013bfbc3f426b2fce781/raw/covbadge.json
.. |DOI| image:: https://zenodo.org/badge/doi/10.5281/zenodo.50664.svg
   :target: http://dx.doi.org/10.5281/zenodo.50664
.. _GitHub: https://github.com/joergdietrich/NFW

Owner

  • Name: Jörg Dietrich
  • Login: joergdietrich
  • Kind: user
  • Location: Mainz, Germany

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 159
  • Total Committers: 1
  • Avg Commits per committer: 159.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jörg Dietrich a****o@j****m 159
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 18
  • Average time to close issues: 6 months
  • Average time to close pull requests: about 24 hours
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.17
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 20 hours
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • joergdietrich (7)
Pull Request Authors
  • joergdietrich (17)
  • dependabot[bot] (2)
Top Labels
Issue Labels
enhancement (5) bug (2)
Pull Request Labels
dependencies (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 28 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 3
  • Total maintainers: 1
pypi.org: nfw

Python routines for computing Navarro-Frenk-White halo properties

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 28 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 14.2%
Stargazers count: 16.5%
Average: 20.1%
Dependent repos count: 21.7%
Downloads: 38.1%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi
  • astropy >=1.0
  • numpy >=1.9
  • scipy >=0.16
.github/workflows/main.yml actions
  • actions/checkout v2 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v3 composite
  • schneegans/dynamic-badges-action v1.4.0 composite
requirements.txt pypi
  • astropy >=2.0
  • numpy >=1.9
  • scipy >=0.16