debug
This commit is contained in:
parent
401ea8d96c
commit
4f86c61d78
@ -97,7 +97,7 @@ def _assign_scan_axis_partial(x, datesetOfGlobal, fullFilePath):
|
||||
shotNum = np.where(fullFilePath==filePath)
|
||||
shotNum = np.squeeze(shotNum)
|
||||
# shotNum = filePath.split("_")[-1].split("_")[-1].split(".")[0]
|
||||
x = x.assign(shotNum=shotNum)
|
||||
x = x.assign(shotNum=filePath.split("_")[-1].split("_")[-1].split(".")[0])
|
||||
x = x.expand_dims(list(scanAxis))
|
||||
|
||||
return x.assign_coords(
|
||||
|
@ -120,7 +120,7 @@ def calculate_mean(dataSet):
|
||||
|
||||
def calculate_std(dataSet):
|
||||
if 'runs' in dataSet.dims:
|
||||
return dataSet.mean(dim='runs')
|
||||
return dataSet.std(dim='runs')
|
||||
else:
|
||||
return None
|
||||
|
||||
|
2017
testMongoDB.ipynb
2017
testMongoDB.ipynb
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user