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.2.6.post1.tar.gz (10.1 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.2.6.post1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file corsikaio-0.2.6.post1.tar.gz.

File metadata

  • Download URL: corsikaio-0.2.6.post1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for corsikaio-0.2.6.post1.tar.gz
Algorithm Hash digest
SHA256 7e2d70c0cd7071c3076fee260c3ef91bf3f3d93ccd558c188e22d4e575fd592f
MD5 facc920e9b87c0a36e0d6997220cf8c1
BLAKE2b-256 db01b448ece1c8b76a80aada3f24e128d770d782cae48c0fc30547c15a320249

See more details on using hashes here.

File details

Details for the file corsikaio-0.2.6.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for corsikaio-0.2.6.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 f0f18e0b43ccaa63099b293f7b7e2be259b727f5e21cf6ddd42721f52cb1a56b
MD5 cf6f4b7a808e001348ecb12d59148f92
BLAKE2b-256 dd6b632ba5d52e206bab5f8e0fdf62c3f654b134bc29d8df3dee0abc36e5b391

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