mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: data extraction of different diagrams fixed.
This commit is contained in:
parent
fd82687b08
commit
f2f2098adb
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ def read_DistillationContraction_hd5(path, ens_id, diagrams=["direct"], idl=None
|
|||
for diagram in diagrams:
|
||||
real_data = np.zeros(Nt)
|
||||
for x0 in range(Nt):
|
||||
raw_data = h5file["DistillationContraction/Correlators/direct/" + str(x0)]
|
||||
raw_data = h5file["DistillationContraction/Correlators/" + diagram + "/" + str(x0)]
|
||||
real_data += np.roll(raw_data[:]["re"].astype(np.double), -x0)
|
||||
real_data /= Nt
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue