Skip to main content

Approximations of Cherenkov yields for particle showers

Project description

Status

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.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-py3-none-any.whl (288.0 kB view details)

Uploaded Python 3

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

Hashes for acem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1d6202cb72a107a4c2d96453aee5b1e86180b5a7df091ca1bd57fd8f75b3701
MD5 78c62350141f161dcc98e91192f3db36
BLAKE2b-256 4d59199858c5cc07d2ba87450462a25828148657ae2234fad2de25c68b6ac20f

See more details on using hashes here.

Provenance

The following attestation bundles were made for acem-0.1.0.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-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

Hashes for acem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 466440b3b6095052eb62e9aab46da934b222f27eecdc2f8f9163de1747224a3c
MD5 9f3013f716b141200f94aaddc0573791
BLAKE2b-256 fe08d133bbcb77147cc75c2987bf07e75f3856268703a73404e109eb5427bc5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for acem-0.1.0-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