Approximations of Cherenkov yields for particle showers
Project description
ACEM: Approximate Cherenkov Emission Model
acem is a Python package designed for generation of Cherenkov light yield profiles from particle showers. One of the main goals is to more accurately include shower-to-shower fluctuations while preserving model simplicity.
Installation
You can install acem directly from PyPI.
pip install acem
Alternatively, clone this repository and from the directory run pip install . or to work with scripts in misc/ use pip install .[misc]. The latter will allow you to run checks including plots like this
cd misc/scripts/
./check.py 3 42 (energy at 1TeV, initial seed of 42)
It's also possible to install directly from github with
pip install git+https://github.com/pathtorepo/acem
Usage
Here is an example of how to import the models and use the package:
from acem import model, media
par = model.Parametrization1D(media.ICE)
# Sample 100 showers profiles initiated by a 1 TeV pi+
shos = par.sample(211, 1e3, 100)
shos will be a list of Shower1D objects, which is a simple container that consists of the amplitude and 1D shape of the Cherenkov-weighted track length (units are in cm). Its .dldx(xs) method can be used to evaluate the shower profile at some given distance(s) xs from the start position.
Example
The 1D models are based on FLUKA simulations. As an example, when used in combination with a hadronization library such as PYTHIA8, it can be used to generate neutrino DIS shower profiles.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file acem-0.1.0.tar.gz.
File metadata
- Download URL: acem-0.1.0.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1d6202cb72a107a4c2d96453aee5b1e86180b5a7df091ca1bd57fd8f75b3701
|
|
| MD5 |
78c62350141f161dcc98e91192f3db36
|
|
| BLAKE2b-256 |
4d59199858c5cc07d2ba87450462a25828148657ae2234fad2de25c68b6ac20f
|
Provenance
The following attestation bundles were made for acem-0.1.0.tar.gz:
Publisher:
publish.yml on tianluyuan/acem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acem-0.1.0.tar.gz -
Subject digest:
e1d6202cb72a107a4c2d96453aee5b1e86180b5a7df091ca1bd57fd8f75b3701 - Sigstore transparency entry: 788314893
- Sigstore integration time:
-
Permalink:
tianluyuan/acem@f25b52320f961cc4eb25e111801450a8381cfd2d -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/tianluyuan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f25b52320f961cc4eb25e111801450a8381cfd2d -
Trigger Event:
push
-
Statement type:
File details
Details for the file acem-0.1.0-py3-none-any.whl.
File metadata
- Download URL: acem-0.1.0-py3-none-any.whl
- Upload date:
- Size: 288.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
466440b3b6095052eb62e9aab46da934b222f27eecdc2f8f9163de1747224a3c
|
|
| MD5 |
9f3013f716b141200f94aaddc0573791
|
|
| BLAKE2b-256 |
fe08d133bbcb77147cc75c2987bf07e75f3856268703a73404e109eb5427bc5b
|
Provenance
The following attestation bundles were made for acem-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on tianluyuan/acem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acem-0.1.0-py3-none-any.whl -
Subject digest:
466440b3b6095052eb62e9aab46da934b222f27eecdc2f8f9163de1747224a3c - Sigstore transparency entry: 788314895
- Sigstore integration time:
-
Permalink:
tianluyuan/acem@f25b52320f961cc4eb25e111801450a8381cfd2d -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/tianluyuan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f25b52320f961cc4eb25e111801450a8381cfd2d -
Trigger Event:
push
-
Statement type: