Skip to main content

Package for computing FSR and decay spectra for light particles

Project description

![Logo](docs/source/_static/img/hazma_logo_large.png)

[![CircleCI](https://circleci.com/gh/LoganAMorrison/Hazma.svg?style=svg)](https://circleci.com/gh/LoganAMorrison/Hazma)

[![Build Status](https://travis-ci.org/LoganAMorrison/Hazma.svg?branch=master)](https://travis-ci.org/LoganAMorrison/Hazma)

# Hazma

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.

## Installation

hazma is currently still in development. If you would like to try it anyways, you can install it using the command:

pip install –index-url https://test.pypi.org/simple/ 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.

Another way to run hazma is by using docker. If you have docker installed on your machine, clone the hazma repository and in the hazma directory, run:

docker build –rm -t jupyter/hazma .

This will build the docker image called jupyter/hazma. Then to start a jupyter notebook, run:

docker run -it -p 8888:8888 -v /path/to/hazma/tutorials:/home/jovyan/work –rm –name jupyter jupyter/hazma

This will start a jupyter kernel.

## Other information

Logo design: David Reiman and Adam Coogan; icon from Freepik from [flaticon.com](flaticon.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

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m Windows x86-64

hazma-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

hazma-1.0.0-cp37-cp37m-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

hazma-1.0.0-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.0-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.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: hazma-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7cc9e67dfca075faf1470d2653e44abd94a814b7450a8cb378962ed1ca92c431
MD5 be6607dba80118dce0ab63ed5c1d3d73
BLAKE2b-256 96600e2a6159a28274230c5147401f3a427cecc5341c3376c81e886aba3cf19f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hazma-1.0.0-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.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 666e204e5235d50d74634bf5def0d7b031bc1dafb43af6c84e2aeab191d9dab2
MD5 8fd8eaa7acf0dea926e691d68633b8c8
BLAKE2b-256 07761ee06ea3f1330dceec5c23cebeb877e9a8734dbeb2ec44823383c42378ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hazma-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 1.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.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0d3dacd2ceedff4ecfbc1b587126640a9333f39d6c28def2519ab0ab7395b997
MD5 a41c3c261e3e5321306bbee26b9217a1
BLAKE2b-256 605f69f59c35d563c7d4685ae720029496ff00e984c44b3e4d9cce9a4cfac907

See more details on using hashes here.

File details

Details for the file hazma-1.0.0-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: hazma-1.0.0-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.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/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for hazma-1.0.0-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 70814fa1a9e0bd024f6d2446e4f4fe0db57975b051d5e13ec2cab884a64b23ff
MD5 e5a3e114dece9069d303d03145c31d0b
BLAKE2b-256 9a99d86589897bab1333e2680a9ec1ac09441906164795bcb5bf5db125591fe2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hazma-1.0.0-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.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a5dc7a096c287809d8e80bdb2437ac47ac8ca8161f9c7a1705a8af2871f324da
MD5 81214b3e21790cb8f490ab02b6ad07ce
BLAKE2b-256 332103be2729391a5109e9d990ab2a0a70b49996624585f1c7779e1d025bd974

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hazma-1.0.0-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.0-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0363deed5ae9192f0e4214f5fa68a04ed46cb17fb6e01af2367bbb0460ffee01
MD5 90398b303088ae3017319da2527f8130
BLAKE2b-256 57d7f0881ae089db8cfb0df4d54eb6f3520bc3d37e082d35feb412444b8bf990

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hazma-1.0.0-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.0-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 06a6d30f976e943dba69558c401bcb93856fac7f52e7ff2893adf856edf26c55
MD5 1dc2e54370bb332c43be76a9e6cb7461
BLAKE2b-256 868f0d696cc38a4d0fe58b17963e1a218f3ca4aaff7ae4c883984c2194379896

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hazma-1.0.0-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.0-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4066a250ce51bcfc7126a7524551251f088ad971479d194a06452fd7107a2773
MD5 f2a70c1b18e7da392f86c4c0a1311b70
BLAKE2b-256 86cdd1e13226011a43d3d33e07d4425e65b563b50c3f308e6f8b55e21e441a1a

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