hazma.decay.
charged_kaon
(eng_gam, eng_k)¶Compute dNdE from charged kaon decay.
Compute dNdE from decay of charged kaon through \(K\to X\) in the
laboratory frame given a gamma ray engergy of eng_gam
and charged
kaon energy of eng_k
.
Parameters: |
|
---|---|
Returns: | spec (np.ndarray) – List of gamma ray spectrum values, dNdE, evaluated at |
Notes
The decay modes impemendted are
Examples
Calculate spectrum for single gamma ray energy
>>> from hazma import decay
>>> eng_gam, eng_k = 200., 1000.
>>> spec = decay.charged_kaon(eng_gam, eng_k)
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_k = 1000.
>>> spec = decay.charged_kaon(eng_gams, eng_k)
Built with Sphinx using a RiboKit Theme . Hosted on GitHub Pages.
© Copyright 2017, Logan A. Morrison.