Skip to content

Releases: LoganAMorrison/Hazma

v2.0.2

30 Jul 16:42
Compare
Choose a tag to compare

Fix bug in cython numpy int type (int_t -> int64_t)

Full Changelog: 1.1...2.0.2

Hazma-1.1

05 Dec 07:40
Compare
Choose a tag to compare

New Features

  • Relic densities: Relic densities can be computed for any object which implements thermal_cross_section(self, x) and has an attributed mx. For example:
class ToyModel(object):
    def __init__(self, mx, sigmav):
        self.mx = mx
        self.sigmav = sigmav

    def thermal_cross_section(self, x):
        """
        Compute the dark matter thermal cross section for a given
        ratio of mass to temperature.

        Parameters
        ----------
        x: float
            DM mass over temperature.

        Returns
        -------
        sigmav: float
            Dark matter thermal cross section.
        """
        return self.sigmav

model = ToyModel(10.313897683787216e3, 1.966877938634266e-15)
relic_density(model, semi_analytic=True) # 0.12

Bug Fixes

  • Fixed bugs in typos in scalar mediator widths
  • Fixed bugs in typos in vector mediator widths
  • Fixed bugs in typos in scalar mediator cross-sections
  • Fixed bugs in typos in vector mediator cross-sections

Closed Issues

  • #4 : Adding relic densities
  • #1 : Energy less than particles mass in hazma.rambo

Version 1.0.3

17 Sep 05:49
Compare
Choose a tag to compare

Minor bug fixes.

1.0.2

16 Sep 20:36
Compare
Choose a tag to compare

Fixes a bug in the charged pion radiative decay spectrum and improves the tests.

1.0.1

26 Jul 07:56
Compare
Choose a tag to compare

Adds π0-V final state for vector class and streamlines the process of implementing models.

First official release of Hazma

23 Jul 16:06
Compare
Choose a tag to compare

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