You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at a few events, I think that the telescope id in the Photolectrons object defined below is just the index rather than the telescope id itself. That is, it starts at zero and goes to n_tel - 1.
Looking at a few events, I think that the telescope id in the Photolectrons object defined below is just the index rather than the telescope id itself. That is, it starts at zero and goes to n_tel - 1.
This is a known issue in sim telarray, I will dig up some emails from Konrad, but the gist is, the object is correctly defined here in terms of doing the I/O of the eventio object, but simtel fills something "wrong".
I.e. the header struct defines this to be the telescope_id, which is why we parse it as such, but in case of simtel, it's actually not the same "telescope_id" as used everywhere else.
Looking at a few events, I think that the telescope id in the Photolectrons object defined below is just the index rather than the telescope id itself. That is, it starts at zero and goes to
n_tel - 1
.pyeventio/src/eventio/iact/objects.py
Line 299 in 79228db
This definition is different to the definition in the TelescopeEvent object which provides the actual id:
pyeventio/src/eventio/simtel/objects.py
Lines 716 to 723 in 79228db
Not a big deal, but if I am right and the fix is just replacing one definition with the other, it's probably worth it to fix (I can do it).
The text was updated successfully, but these errors were encountered: