ctapipe_io_mchdf5's People
ctapipe_io_mchdf5's Issues
photo_electron_image not filled
from ctapipe_io_mchdf5 import MCHDF5EventSourceV2
source = MCHDF5EventSourceV2(input_url='gamma_20deg_180deg_run100___cta-prod3-demo-2147m-LaPalma-baseline-mono_off0.4.h5')
event = next(iter(source))
for tel_id in event.mc.tel:
print(event.mc.tel[tel_id].photo_electron_image)
Returns
Map(None, {})
Map(None, {})
Map(None, {})
Map(None, {})
Note: the info exists in the source simtel
mcheader not filled
from ctapipe_io_mchdf5 import MCHDF5EventSourceV2
source = MCHDF5EventSourceV2(input_url='gamma_20deg_180deg_run100___cta-prod3-demo-2147m-LaPalma-baseline-mono_off0.4.h5')
event = next(iter(source))
for k, i in event.mcheader.items():
print(k, i)
returns
run_array_direction [3.14159rad 1.21475rad]
corsika_version nan
simtel_version nan
energy_range_min nan
energy_range_max nan
prod_site_B_total nan
prod_site_B_declination nan
prod_site_B_inclination nan
prod_site_alt nan
prod_site_array None
prod_site_coord None
prod_site_subarray None
spectral_index nan
shower_prog_start nan
shower_prog_id nan
detector_prog_start nan
detector_prog_id nan
num_showers nan
shower_reuse nan
max_alt nan
min_alt nan
max_az nan
min_az nan
diffuse nan
max_viewcone_radius nan
min_viewcone_radius nan
max_scatter_range nan
min_scatter_range nan
core_pos_mode nan
injection_height nan
atmosphere nan
corsika_iact_options nan
corsika_low_E_model nan
corsika_high_E_model nan
corsika_bunchsize nan
corsika_wlen_min nan
corsika_wlen_max nan
corsika_low_E_detail nan
corsika_high_E_detail nan
bug with `ctapipe==0.12`
(hipe_update_lstv096_with-v096) โ hipe_update_v096 mchdf5_simtel2r0 -i proton_20deg_180deg_run1___cta-prod3-demo-2147m-LaPalma-baseline-mono.simtel.gz -o proton_20deg_180deg_run1_ctapipev012.h5
Traceback (most recent call last):
File "/Users/garciaenrique/miniconda3/envs/hipe_update_lstv096_with-v096/bin/mchdf5_simtel2r0", line 5, in <module>
from ctapipe_io_mchdf5.converter.mchdf5_simtel2r0 import main
File "/Users/garciaenrique/miniconda3/envs/hipe_update_lstv096_with-v096/lib/python3.8/site-packages/ctapipe_io_mchdf5/converter/mchdf5_simtel2r0.py", line 11, in <module>
from ctapipe.io import event_source
ImportError: cannot import name 'event_source' from 'ctapipe.io' (/Users/garciaenrique/miniconda3/envs/hipe_update_lstv096_with-v096/lib/python3.8/site-packages/ctapipe/io/__init__.py)
`r0` or `r1` ?
Hi
I am wondering why the method appendEventTelescopeData
is reading R0 information to write it in the R1 dataset.
Is this a mistake or am I missing something?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.