Open hyuga-abe opened 4 years ago
I am not sure "allowed_telescopes" should affect "tels_with_trigger". It is important information that an event might have been triggered by a telescope you don't want to include and it's not clear how to treat e.g. events that are triggered by only two telescopes, one of which was excluded.
So I think it is best to have tels_with_trigger
also include the discarded telescope, so that information is kept.
Thanks for the quick response. The generated dl1 file doesn't include the discarded telescope information (e.g. image, parameters..) other than tels_with_trigger. Could you tell me why you are saying the only triggered telescope information should be kept? The information would be used anywhere afterward? Thank you.
I have used lstchain:v0.6.3 and ctapipe:v0.8.0.
The script "reco/r0_to_dl1.py" generates dl1 file. The dl1 file contains many tables and there is "tels_with_trigger" in "dl1/event/subarray/trigger/" group. One can set "allowed_tels" when processing, but currently it does not seem to work for the table. The "tels_with_trigger" is there without any change and that should be an issue.
I resolved the issue by adding the following object
and modifying the lines number 335-338
to
with the "Mapper".
Your opinion would be appreciated. Best Regards.