mirror of
https://github.com/fjosw/pyerrors.git
synced 2026-08-04 11:31:21 +02:00
proposed fix for nc/idl map
This commit is contained in:
parent
da399b7c02
commit
8251ccf3e2
1 changed files with 3 additions and 3 deletions
|
|
@ -250,7 +250,7 @@ def _extract_flowed_energy_density(path, prefix, dtr_read, xmin, spatial_extent,
|
||||||
dtr_read : int
|
dtr_read : int
|
||||||
Determines how many trajectories should be skipped
|
Determines how many trajectories should be skipped
|
||||||
when reading the ms.dat files.
|
when reading the ms.dat files.
|
||||||
Corresponds to dtr_cnfg / dtr_ms in the openQCD input file.
|
Corresponds to dtr_cnfg / dtr_ms (dncnfg / dnms) in the openQCD input file.
|
||||||
xmin : int
|
xmin : int
|
||||||
First timeslice where the boundary
|
First timeslice where the boundary
|
||||||
effects have sufficiently decayed.
|
effects have sufficiently decayed.
|
||||||
|
|
@ -358,8 +358,8 @@ def _extract_flowed_energy_density(path, prefix, dtr_read, xmin, spatial_extent,
|
||||||
if (len(t) < 4):
|
if (len(t) < 4):
|
||||||
break
|
break
|
||||||
nc = struct.unpack('i', t)[0]
|
nc = struct.unpack('i', t)[0]
|
||||||
|
if nc % dtr_read == 0:
|
||||||
configlist[-1].append(nc)
|
configlist[-1].append(nc)
|
||||||
|
|
||||||
t = fp.read(8 * tmax * (nn + 1))
|
t = fp.read(8 * tmax * (nn + 1))
|
||||||
if kwargs.get('plaquette'):
|
if kwargs.get('plaquette'):
|
||||||
if nc % dtr_read == 0:
|
if nc % dtr_read == 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue