Update configs

This commit is contained in:
2026-03-17 14:58:17 +01:00
parent d7a58b9dd6
commit 34d66ac203
2 changed files with 384 additions and 4 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ def _processFrames(idxChunk): ### for both single and double photon events, usin
offset = (headerSize + idxFrame * (NX * NY + headerSize)) * 2
signalAduFrame = np.fromfile(f'{signalFileNames[idxFile]}', dtype=np.uint16, offset=offset, count=NX * NY).astype(np.int32).reshape(NX, NY)
except Exception as e:
print(f'Error reading frame {idxFrame} from file {signalFileNames[idxFile]}: {e}, stop processing this chunk ({startFrame}-{endFrame})')
print(f'Error reading frame {idxFrame+startFrame} from file {signalFileNames[idxFile]}: {e}, stop processing this chunk ({startFrame}-{endFrame})')
return _hists
signalAduFrame = signalAduFrame - _pedestalAduFrame