Change from eV to keV
This commit is contained in:
+7
-7
File diff suppressed because one or more lines are too long
+1
-1
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user