Reader for corsika binary output files using numpy
Project description
pycorsikaio
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
Release history Release notifications | RSS feed
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.5.0.tar.gz
(13.4 kB
view details)
Built Distribution
corsikaio-0.5.0-py3-none-any.whl
(15.7 kB
view details)
File details
Details for the file corsikaio-0.5.0.tar.gz
.
File metadata
- Download URL: corsikaio-0.5.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e1c27d6b5dba18a67a44fdb10f2749b9819b0059f5951292b0b37e9e58186b0 |
|
MD5 | c7a3ed6278f35fa09638a213cbf5e326 |
|
BLAKE2b-256 | f1d13bc2a96d0a743424add9c1c059327bdd82c7857b8e6142dcf4826a339278 |
File details
Details for the file corsikaio-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: corsikaio-0.5.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8a1239f0fa2e24789e8e3a9a4e7b14d1813a2359a5f5ef25891dd7358c791a |
|
MD5 | e60d3d2345ddee9560141017f2de6963 |
|
BLAKE2b-256 | 4002a9a64222bc8a802893cd3c8048c882537695cfdffe0268da122838051448 |