Skip to main content

Approximations of Cherenkov yields for particle showers

Project description

PyPI version Status Python versions

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.

fig9

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acem-0.1.0.post1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acem-0.1.0.post1-py3-none-any.whl (288.1 kB view details)

Uploaded Python 3

File details

Details for the file acem-0.1.0.post1.tar.gz.

File metadata

  • Download URL: acem-0.1.0.post1.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

Hashes for acem-0.1.0.post1.tar.gz
Algorithm Hash digest
SHA256 af4094ff929b8a100b8a485cb961929c9e42b665ee70ad8359d90654f4f78228
MD5 894d8654f9a6a851afc27504e6f75570
BLAKE2b-256 3576081fbbbde27cc76866cd2ae582c27248cbd71d735b2fa6804474d5ff5e04

See more details on using hashes here.

Provenance

The following attestation bundles were made for acem-0.1.0.post1.tar.gz:

Publisher: publish.yml on tianluyuan/acem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file acem-0.1.0.post1-py3-none-any.whl.

File metadata

  • Download URL: acem-0.1.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 288.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for acem-0.1.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 1242b491cee022f362a61110f8c041f50300e19246a06436a24925f0f01de011
MD5 2822d085b223c672deb9aadfe135ff39
BLAKE2b-256 8b18f19d070bcc7030d409e96919cb9821b12821bbd0916ce0dd5217ed4f61d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for acem-0.1.0.post1-py3-none-any.whl:

Publisher: publish.yml on tianluyuan/acem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page