Skip to main content

Reader for corsika binary output files using numpy

Project description

pycorsikaio CI PyPI version

Python module to read the CORSIKA binary output files.

Install

Run

pip install corsikaio

Features

Load CORSIKA binary particle or cherenkov data files using python and numpy.

Also supports MMCS 6.5

from corsikaio import CorsikaCherenkovFile
import matplotlib.pyplot as plt


with CorsikaCherenkovFile('cer000001') as f:
    print(f.run_header['run_number'])
    print(f.version)

    for e in f:
        print(e.header['total_energy'])
        
        plt.scatter(e.photons['x'], e.photons['y'])
        plt.show()

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

corsikaio-0.6.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

corsikaio-0.6.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file corsikaio-0.6.1.tar.gz.

File metadata

  • Download URL: corsikaio-0.6.1.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for corsikaio-0.6.1.tar.gz
Algorithm Hash digest
SHA256 5c56171c4dbbb7b95a6f938dafa0cb9ecc996e508ed12906cbe07c8582f47e0f
MD5 3e70732db84a7d2dab27a1eef991b14a
BLAKE2b-256 d3b69f9583631847521a4c56cb1f79029881d7948cdefbda52c7694753d2891f

See more details on using hashes here.

Provenance

The following attestation bundles were made for corsikaio-0.6.1.tar.gz:

Publisher: deploy.yml on cta-observatory/pycorsikaio

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

File details

Details for the file corsikaio-0.6.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for corsikaio-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0481382d9a39d63c115e66ce903dbd0dcd3ab62109a6492f18998aaf6debb8c
MD5 e43b5e4806ef710f48a509a0d51a8331
BLAKE2b-256 a82579369b735e1040e46028540933d09e287eebdcdcf19ed4c6e58965e5e806

See more details on using hashes here.

Provenance

The following attestation bundles were made for corsikaio-0.6.1-py3-none-any.whl:

Publisher: deploy.yml on cta-observatory/pycorsikaio

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