hazma.decay.
short_kaon
(eng_gam, eng_k)¶Compute dNdE from short kaon decay.
Compute dNdE from decay of short kaon through \(K\to X\) in the
laboratory frame given a gamma ray engergy of eng_gam
and short 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_ks = 200., 1000.
>>> spec = decay.short_kaon(eng_gam, eng_ks)
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_ks = 1000.
>>> spec = decay.short_kaon(eng_gams, eng_ks)
Built with Sphinx using a RiboKit Theme . Hosted on GitHub Pages.
© Copyright 2017, Logan A. Morrison.