hazma.decay.
muon
(eng_gam, eng_mu)¶Compute dNdE from muon decay.
Compute dNdE from decay \(\mu^{\pm} \to e^{\pm} + \nu_{e} +\nu_{\mu}
+ \gamma\) in the laborartory frame given a gamma ray engergy of eng_gam
and muon energy of eng_mu
.
Parameters: |
|
---|---|
Returns: | spec (numpy.ndarray) – List of gamma ray spectrum values, dNdE, evaluated at |
Examples
Calculate spectrum for single gamma ray energy
>>> from hazma import decay
>>> eng_gam, eng_mu = 200., 1000.
>>> spec = decay.muon(eng_gam, eng_mu)
Calculate spectrum for array of gamma ray energies
>>> from hazma import decay
>>> import numpy as np
>>> eng_gams = np.logspace(0.0, 3.0, num=200, dtype=float)
>>> eng_mu = 1000.
>>> spec = decay.muon(eng_gams, eng_mu)
Built with Sphinx using a RiboKit Theme . Hosted on GitHub Pages.
© Copyright 2017, Logan A. Morrison.