Update configs
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user