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 hashes)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m Windows x86-64

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

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 hashes)

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 hashes)

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 hashes)

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 hashes)

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 hashes)

Uploaded CPython 2.7m macOS 10.13+ x86-64

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