Change from eV to keV

This commit is contained in:
2025-10-21 15:47:00 +02:00
parent 4402718bca
commit 6dc13ddc05
2 changed files with 8 additions and 8 deletions
+7 -7
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -181,7 +181,7 @@ def singleProcess(thredIdx):
carrierArray = _carrierArray
x_center = x_center - (highestPixel[1] - _frameWidth//2 + j) * pixelSize
y_center = y_center - (highestPixel[0] - _frameWidth//2 + i) * pixelSize
samples[i] = pixelArray
samples[i] = pixelArray / 1000.0 ### keV
labels[i] = np.array([x_center/pixelSize, y_center/pixelSize, z0, np.sum(_energyArray)])
sampleOutputPath = _cfg['sampleOutputPath']
element = _cfg['element']