Skip to main content

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

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

Uploaded Python 3

File details

Details for the file acem-0.1.1.tar.gz.

File metadata

  • Download URL: acem-0.1.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for acem-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7b0f136bffb5c0412f78d4bcf3dd82b383a890260bf12b828fc2b2de12618de5
MD5 3f4d97751b2ef0fdc3eabab2d889096d
BLAKE2b-256 e939cfca8022056b817eff0fcaba4a159a08460d289dd95710234ea9ce409bc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for acem-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: acem-0.1.1-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.13

File hashes

Hashes for acem-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91057d9d8522cbf04db9747088d5966cbdffe6ab136e6866c28ce25b48873c40
MD5 5a4b49b05d535ec7b6edf7f8afe1e534
BLAKE2b-256 3e9d6a6c417752ec9a2fb2898dbb176b3047c70204bde633a8e6baed70523901

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0.post1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page