Closed Vindaar closed 5 years ago
It would be good to have the individual event numbers of FADC events in the reconstructed FADC folder of each run.
It should be fairly easy to implement by doing the following:
file
eventNumber: int
eventNumber: seq[int]
ProcessedFadcData
eventNumber
That should in principle be everything. :)
Closed via PR #7, which is actually merged, despite Github thinking it's only "closed".
Fixed now.
It would be good to have the individual event numbers of FADC events in the reconstructed FADC folder of each run.
It should be fairly easy to implement by doing the following:
file
argument. See https://github.com/Vindaar/TimepixAnalysis/blob/master/Analysis/ingrid/tos_helpers.nim#L516 on how to do that using regex. Hint: use https://nim-lang.org/docs/re.html#=~.t,string,Regex templateeventNumber: int
to https://github.com/Vindaar/TimepixAnalysis/blob/master/Analysis/ingrid/ingrid_types.nim#L165 to which said event number is assignedeventNumber: seq[int]
to https://github.com/Vindaar/TimepixAnalysis/blob/master/Analysis/ingrid/ingrid_types.nim#L176ProcessedFadcData
eventNumber
dataset in FADC folder in https://github.com/Vindaar/TimepixAnalysis/blob/master/Analysis/ingrid/raw_data_manipulation.nim#L428 analogue to other datasetsProcessedFadcData
given to https://github.com/Vindaar/TimepixAnalysis/blob/master/Analysis/ingrid/raw_data_manipulation.nim#L483That should in principle be everything. :)