Vindaar / TimepixAnalysis

Contains code related to calibration and analysis of Timepix based detector + CAST related code
MIT License
19 stars 6 forks source link

Add `numEvents`, `totalLength` attribute to run groups #42

Closed Vindaar closed 9 months ago

Vindaar commented 4 years ago

It would be pretty handy to have the number of events in a run and the total run length as a duration in the attributes of both the runs and reconstruction run groups.

Should be done during PR #40.

Vindaar commented 9 months ago

This is not implemented as attributes nowadays, but the functionality is there essentially. The eventNumber and eventDuration datasets (or timestamp) can be used to determine these things with 1-2 lines of code.