This commit is contained in:
@@ -219,6 +219,7 @@ def run_batch(
|
||||
with multiprocessing.Pool(nCores) as pool:
|
||||
dfs = pool.starmap(_run_mini_batch_silent, [(gd, nevents[i], particleSpec, minEnergy_GeV, maxEnergy_GeV, seed, i) for i in range(nCores)])
|
||||
|
||||
print('simulation finished')
|
||||
alldf = pd.concat(dfs)
|
||||
alldf.reset_index(drop=True, inplace=True)
|
||||
#convert alldf['total_dep_energy'] to numpy array and check if all non-zero entries are unique
|
||||
|
||||
Reference in New Issue
Block a user