There is a newer version of the record available.

Published December 5, 2019 | Version 1.1

LoganAMorrison/Hazma: Hazma-1.1

  • 1. GRAPPA, University of Amsterdam
  • 2. University of California, Santa Cruz

Description

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

Files

LoganAMorrison/Hazma-1.1.zip

Files (11.4 MB)

Name Size Download all
md5:74f60fad58ee27027935db4420f7e51c
11.4 MB Preview Download

Additional details

Related works