Skip to main content

Reader for corsika binary output files using numpy

Project description

pycorsikaio Build Status 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.2.4.tar.gz (7.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: corsikaio-0.2.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.1

File hashes

Hashes for corsikaio-0.2.4.tar.gz
Algorithm Hash digest
SHA256 0ffbcc6449ec24b340dba5f167c2aa0ce368d764ee611aa8c4c26d525a510b25
MD5 0953ebbbfd99e2ad33e08a09a6566fd5
BLAKE2b-256 16a132bf76b10bd1217e3fb2c194680ca4b282a5edaac86c8c1038ee5fc2ab62

See more details on using hashes here.

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