Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

photo_electron_image not filled #3

Open
vuillaut opened this issue Jul 7, 2019 · 0 comments
Open

photo_electron_image not filled #3

vuillaut opened this issue Jul 7, 2019 · 0 comments

Comments

@vuillaut
Copy link
Member

vuillaut commented Jul 7, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant