corsikaio-0.3.2
توضیحات
Reader for corsika binary output files using numpy
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | corsikaio-0.3.2 |
| نام | corsikaio |
| نسخه کتابخانه | 0.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Maximilian Linhoff |
| ایمیل نویسنده | maximilian.linhoff@tu-dortmund.de |
| آدرس صفحه اصلی | http://github.com/cta-observatory/corsikaio |
| آدرس اینترنتی | https://pypi.org/project/corsikaio/ |
| مجوز | MIT |
# pycorsikaio [](https://github.com/cta-observatory/pycorsikaio/actions/workflows/ci.yml) [](https://badge.fury.io/py/corsikaio)
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
```python
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()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | zstandard |
| - | pytest |
| - | scipy |
| - | setuptools-scm[toml] |
| - | pytest |
| - | scipy |
| - | zstandard |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl corsikaio-0.3.2:
pip install corsikaio-0.3.2.whl
نصب پکیج tar.gz corsikaio-0.3.2:
pip install corsikaio-0.3.2.tar.gz