Draft: fix[Gotthard2][Dark]: Avoid trains with only 0. data
4 unresolved threads
4 unresolved threads
Compare changes
@mramilli reported that the bad pixels looked a bit weird with all pixels assigned WRONG_GAIN_VALUE
for medium or low gain stages.
This was a reason for the presence of some trains in the corresponding runs for these gains which had no data. A reason for this seems to be missing packets.
The fix is to exclude these trains from the dark constants processing.
I have also combined both functions into one functions that process all dark constants.