Authors:
- Stephan Meighen-Berger, developed the Fennel Code
Welcome to Fennel!
A python package to simulate the light production of particles. It calculates the light emissions from cascades and tracks.
This packages includes/uses distributions developed in
Leif Rädel, Christopher Wiebusch,
Calculation of the Cherenkov light yield from low energetic secondary particles accompanying high-energy muons in ice and water with Geant4 simulations,
Astroparticle Physics,
Volume 38,
2012,
Pages 53-67,
ISSN 0927-6505,
https://doi.org/10.1016/j.astropartphys.2012.09.008.
(https://www.sciencedirect.com/science/article/pii/S0927650512001831)
and
https://www.institut3b.physik.rwth-aachen.de/global/show_document.asp?id=aaaaaaaaaapwhjz
Please cite this software using
@software{fennel2021@github,
author = {Stephan Meighen-Berger},
title = {{Fennel}: Light from tracks and cascades,
url = {https://github.com/MeighenBergerS/fennel},
version = {1.1.1},
year = {2021},
}
and their work when using this package.
The package provides automatically generated documentation under https://meighenbergers.github.io/fennel/
Install using pip:
pip install fennel_seed
Other installation methods: To install please clone the (repository)[https://github.com/MeighenBergerS/fennel] or download the latest release. Then follow the instructions given in INSTALL.txt. Note this should install all necessary components.
Or install using the setup.py
Please note that JAX is not included in the basic installation. To use this option, please also install JAX or install fennel using: Install using pip:
pip install fennel_seed[jax]
To be able to run the example notebook use Install using pip:
pip install fennel_seed[interactive]
Fennel offers a few subprojects which are currently still in beta. While this projects work, they have as of yet not been designed for usability. Currently available subprojects are available offer the GitHub repository (not pip!). Subprojects are:
-
Jfennel: A Julia implementation of Fennel. This is its own branch in the repository and still requires further work and cross-checks.
-
Seed: An interface to the Geant4 code used for the parametrization. The code itself offers a Python interface for ease of use. To use this code, a Geant4 installation is required. Currently this module has only been tested in a Linux environment. The code itself is contained in the seed folder and includes some examples in the notebooks folder on how to use it.