Skip to main content

Python package for computing indirect detection constraints on sub-GeV dark matter.

Project description

hazma is a tool for analyzing theories of sub-GeV dark matter. It can compute gamma-ray spectra from dark matter annihilations, set limits using current gamma-ray data and make projects for future gamma-ray detectors. It can generate positron spectra as well, and derive accurate CMB constraints. hazma includes several pre-implemented sub-GeV dark matter models, and provides the infrastructure to add custom ones. Visit https://github.com/LoganAMorrison/Hazma or https://hazma.readthedocs.io for more information.

hazma can be installed from PyPI using:

pip install hazma

Alternatively, you can download hazma directly from this page, navigate to the package directory using the command line and run

pip install .

or

python setup.py install

Since hazma utilizes C to rapidly compute gamma ray, electron and positron spectra, you will need to have the cython package installed.

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

hazma-1.0.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distributions

hazma-1.0.1-cp37-cp37m-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.7m Windows x86-64

hazma-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

hazma-1.0.1-cp36-cp36m-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

hazma-1.0.1-cp35-cp35m-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.5m macOS 10.14+ x86-64

hazma-1.0.1-cp35-cp35m-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.5m macOS 10.13+ x86-64

hazma-1.0.1-cp27-cp27m-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 2.7m macOS 10.13+ x86-64

File details

Details for the file hazma-1.0.1.tar.gz.

File metadata

  • Download URL: hazma-1.0.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for hazma-1.0.1.tar.gz
Algorithm Hash digest
SHA256 29c2173bf08eb5854d363fdc2008f62aef34925b598647534b426dee13db2639
MD5 19c47b745f2539c1ecf9d42597e321d0
BLAKE2b-256 2550727d1a21e71550188b3107177e0530be429cf816a710d700f3821d82d0c5

See more details on using hashes here.

File details

Details for the file hazma-1.0.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: hazma-1.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for hazma-1.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f4016dd5846d8978cf3a6a7073d07ec76553da046e496c509a5b08e02a2baea0
MD5 5833ae5c74699c8dba4685bb7ffc4d44
BLAKE2b-256 0dc0801241a7f0e13348e31cff8830cb325c7dc4cc8ee149cffeffdde6a71b3a

See more details on using hashes here.

File details

Details for the file hazma-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: hazma-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for hazma-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ff477d7c5ad7c2f295dc5dee97373dce1d4d75d70ac428fb247bab8826e457ff
MD5 68dc62dbd672ea9129d958c56b150eb5
BLAKE2b-256 53529411f7526037e2618ee883c30569e6ca872436f451cfe9b441a350042085

See more details on using hashes here.

File details

Details for the file hazma-1.0.1-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: hazma-1.0.1-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for hazma-1.0.1-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 9bc0752d450f86c39bf5c98be6941c0d6a4ed9195a2a3e42e8d156eb8d47009c
MD5 3dfe3bfb6051852ae7feb2c794909186
BLAKE2b-256 646fd055d02a2ee32f18fa37b8a19c583548a2401168d2a4d49e3439977e0a86

See more details on using hashes here.

File details

Details for the file hazma-1.0.1-cp35-cp35m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: hazma-1.0.1-cp35-cp35m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.5m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for hazma-1.0.1-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 aef399bb9bcbfeda26596e8aad2faf64d85d2a598c8c5f4cbbba82364221afbb
MD5 8dfa50c478f1a132ba306880c24f78f8
BLAKE2b-256 1076fa199aebe61b48fc704d50b1cfe44486d7c13a83464576196a10dfb7d29d

See more details on using hashes here.

File details

Details for the file hazma-1.0.1-cp35-cp35m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: hazma-1.0.1-cp35-cp35m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.5m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for hazma-1.0.1-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5809cc2a8cf89490037fbced2e7eecad697e3090719fd18c61fa3d9c21c68b96
MD5 25ac4648b9fc8d621eca23a6e1e95f4b
BLAKE2b-256 e7e74190324fa6044a060373f2a96fc2025e57bd3e558695ac0c4e8efec044f8

See more details on using hashes here.

File details

Details for the file hazma-1.0.1-cp27-cp27m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: hazma-1.0.1-cp27-cp27m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 2.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for hazma-1.0.1-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 427637c4380248a8c7fb882756b07dc5dfdfad0e140e971d4d05e2785a25debe
MD5 317bdd007282e65af7b7fc7e03012046
BLAKE2b-256 d517a07c18b1685d3c0859e0db8ed7c9ea087e9c4a329d2a3ed59f402791a2e6

See more details on using hashes here.

Supported by

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