Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niess/danton
DecAyiNg Taus frOm Neutrinos
https://github.com/niess/danton
Last synced: 22 days ago
JSON representation
DecAyiNg Taus frOm Neutrinos
- Host: GitHub
- URL: https://github.com/niess/danton
- Owner: niess
- License: lgpl-3.0
- Created: 2017-08-19T22:51:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T17:00:22.000Z (about 2 months ago)
- Last Synced: 2024-09-17T23:21:12.972Z (about 2 months ago)
- Language: Rust
- Homepage: https://danton.readthedocs.io/
- Size: 3.05 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.LESSER
Awesome Lists containing this project
README
# Danton [![Documentation Status](https://readthedocs.org/projects/danton/badge/?version=latest)](https://danton.readthedocs.io/en/latest/?badge=latest)
( **D**ec**A**yi**N**g **T**aus fr**O**m **N**eutrinos )## Description
Danton is a Python package designed specifically for the sampling of tau decays
from ultra-high energy neutrinos interacting with the Earth's surface. It is
capable of running in forward or backward Monte Carlo, and can also be
configured to sample tau fluxes instead of decay densities, or to sample
transmitted neutrino fluxes.The interface has been designed with simplicity in mind. That is, Monte Carlo
particles are injected into the simulation geometry as a `numpy.ndarray`, and
`numpy.ndarray`s of Monte Carlo states are returned. This basic workflow is
illustrated below,```python
import dantonsimulation = danton.Simulation()
particles = danton.particles(10000, energy=1E+09, elevation=1.0)
result = simulation.run(particles)
```## License
The Danton source is distributed under the **GNU LGPLv3** license. See the
provided [LICENSE](LICENSE) and [COPYING.LESSER](COPYING.LESSER) files.