mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-11-29 20:46:54 +01:00
Fix/check append rep (#277)
* add option that the headers of an append-mode file can have different format * add tests for irregular headers in append mode * hotfix: fix bug in append start read implementation * lint * lint II
This commit is contained in:
parent
1002dd0e51
commit
da399b7c02
5 changed files with 2601 additions and 28 deletions
|
|
@ -5,6 +5,7 @@ import numpy as np # Thinly-wrapped numpy
|
|||
from ..obs import Obs
|
||||
from .utils import sort_names, check_idl
|
||||
import itertools
|
||||
import warnings
|
||||
|
||||
|
||||
sep = "/"
|
||||
|
|
@ -603,42 +604,82 @@ def _read_chunk_data(chunk, start_read, T, corr_line, b2b, pattern, im, single):
|
|||
return data
|
||||
|
||||
|
||||
def _check_append_rep(content, start_list):
|
||||
data_len_list = []
|
||||
header_len_list = []
|
||||
has_regular_len_heads = True
|
||||
for chunk_num in range(len(start_list)):
|
||||
start = start_list[chunk_num]
|
||||
if chunk_num == len(start_list) - 1:
|
||||
stop = len(content)
|
||||
else:
|
||||
stop = start_list[chunk_num + 1]
|
||||
chunk = content[start:stop]
|
||||
for linenumber, line in enumerate(chunk):
|
||||
if line.startswith("[correlator]"):
|
||||
header_len = linenumber
|
||||
break
|
||||
header_len_list.append(header_len)
|
||||
data_len_list.append(len(chunk) - header_len)
|
||||
|
||||
if len(set(header_len_list)) > 1:
|
||||
warnings.warn("Not all headers have the same length. Data parts do.")
|
||||
has_regular_len_heads = False
|
||||
|
||||
if len(set(data_len_list)) > 1:
|
||||
raise Exception("Irregularities in file structure found, not all run data are of the same output length")
|
||||
return has_regular_len_heads
|
||||
|
||||
|
||||
def _read_chunk_structure(chunk, pattern, b2b):
|
||||
start_read = 0
|
||||
for linenumber, line in enumerate(chunk):
|
||||
if line.startswith("gauge_name"):
|
||||
gauge_line = linenumber
|
||||
elif line.startswith("[correlator]"):
|
||||
corr_line = linenumber
|
||||
found_pat = ""
|
||||
for li in chunk[corr_line + 1: corr_line + 6 + b2b]:
|
||||
found_pat += li
|
||||
if re.search(pattern, found_pat):
|
||||
start_read = corr_line + 7 + b2b
|
||||
break
|
||||
if start_read == 0:
|
||||
raise ValueError("Did not find pattern\n", pattern)
|
||||
endline = corr_line + 6 + b2b
|
||||
while not chunk[endline] == "\n":
|
||||
endline += 1
|
||||
T = endline - start_read
|
||||
return gauge_line, corr_line, start_read, T
|
||||
|
||||
|
||||
def _read_append_rep(filename, pattern, b2b, im, single, idl_func, cfg_func_args):
|
||||
with open(filename, 'r') as fp:
|
||||
content = fp.readlines()
|
||||
data_starts = []
|
||||
chunk_start_lines = []
|
||||
for linenumber, line in enumerate(content):
|
||||
if "[run]" in line:
|
||||
data_starts.append(linenumber)
|
||||
if len(set([data_starts[i] - data_starts[i - 1] for i in range(1, len(data_starts))])) > 1:
|
||||
raise Exception("Irregularities in file structure found, not all runs have the same output length")
|
||||
chunk = content[:data_starts[1]]
|
||||
for linenumber, line in enumerate(chunk):
|
||||
if line.startswith("gauge_name"):
|
||||
gauge_line = linenumber
|
||||
elif line.startswith("[correlator]"):
|
||||
corr_line = linenumber
|
||||
found_pat = ""
|
||||
for li in chunk[corr_line + 1: corr_line + 6 + b2b]:
|
||||
found_pat += li
|
||||
if re.search(pattern, found_pat):
|
||||
start_read = corr_line + 7 + b2b
|
||||
break
|
||||
else:
|
||||
raise ValueError("Did not find pattern\n", pattern, "\nin\n", filename)
|
||||
endline = corr_line + 6 + b2b
|
||||
while not chunk[endline] == "\n":
|
||||
endline += 1
|
||||
T = endline - start_read
|
||||
|
||||
# all other chunks should follow the same structure
|
||||
chunk_start_lines.append(linenumber)
|
||||
has_regular_len_heads = _check_append_rep(content, chunk_start_lines)
|
||||
if has_regular_len_heads:
|
||||
chunk = content[:chunk_start_lines[1]]
|
||||
try:
|
||||
gauge_line, corr_line, start_read, T = _read_chunk_structure(chunk, pattern, b2b)
|
||||
except ValueError:
|
||||
raise ValueError("Did not find pattern\n", pattern, "\nin\n", filename, "lines", 1, "to", chunk_start_lines[1] + 1)
|
||||
# if has_regular_len_heads is true, all other chunks should follow the same structure
|
||||
rep_idl = []
|
||||
rep_data = []
|
||||
|
||||
for cnfg in range(len(data_starts)):
|
||||
start = data_starts[cnfg]
|
||||
stop = start + data_starts[1]
|
||||
for chunk_num in range(len(chunk_start_lines)):
|
||||
start = chunk_start_lines[chunk_num]
|
||||
if chunk_num == len(chunk_start_lines) - 1:
|
||||
stop = len(content)
|
||||
else:
|
||||
stop = chunk_start_lines[chunk_num + 1]
|
||||
chunk = content[start:stop]
|
||||
if not has_regular_len_heads:
|
||||
gauge_line, corr_line, start_read, T = _read_chunk_structure(chunk, pattern, b2b)
|
||||
try:
|
||||
idl = idl_func(chunk[gauge_line], *cfg_func_args)
|
||||
except Exception:
|
||||
|
|
|
|||
1147
tests/data/sfcf_test/data_ah/data_ah_r0.F_V0
Normal file
1147
tests/data/sfcf_test/data_ah/data_ah_r0.F_V0
Normal file
File diff suppressed because it is too large
Load diff
966
tests/data/sfcf_test/data_ah/data_ah_r0.f_1
Normal file
966
tests/data/sfcf_test/data_ah/data_ah_r0.f_1
Normal file
|
|
@ -0,0 +1,966 @@
|
|||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:03 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n1
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_md5 d881e90d41188a33b8b0f1bd0bc53ea5
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_1
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545021e+02 +6.7620978057264750e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855339e+02 +6.5026340956203663e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177868e+02 +6.5443496235264788e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855515e+02 +6.9706500417651470e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609065e+02 +6.9516150897757419e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046199e+02 +6.9232860455434941e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177447e+02 +1.0849949614595719e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046182e+02 +1.0866063643253473e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098047e+02 +1.0827277318679030e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545038e+02 +3.0143306723935508e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855367e+02 +4.3340379505972648e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177902e+02 +3.9652247575094006e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855526e+02 -8.2540994138261318e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609082e+02 -9.7121215247039609e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046227e+02 -9.0872484903683497e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177453e+02 +5.1331372776616026e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046193e+02 +5.0816653044831932e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098064e+02 +5.1165649253001659e-15
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:05 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n2
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_1
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545021e+02 +6.7620978057264750e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855339e+02 +6.5026340956203663e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177868e+02 +6.5443496235264788e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855515e+02 +6.9706500417651470e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609065e+02 +6.9516150897757419e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046199e+02 +6.9232860455434941e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177447e+02 +1.0849949614595719e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046182e+02 +1.0866063643253473e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098047e+02 +1.0827277318679030e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545038e+02 +3.0143306723935508e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855367e+02 +4.3340379505972648e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177902e+02 +3.9652247575094006e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855526e+02 -8.2540994138261318e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609082e+02 -9.7121215247039609e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046227e+02 -9.0872484903683497e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177453e+02 +5.1331372776616026e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046193e+02 +5.0816653044831932e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098064e+02 +5.1165649253001659e-15
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:07 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n3
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_1
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545021e+02 +6.7620978057264750e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855339e+02 +6.5026340956203663e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177868e+02 +6.5443496235264788e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855515e+02 +6.9706500417651470e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609065e+02 +6.9516150897757419e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046199e+02 +6.9232860455434941e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177447e+02 +1.0849949614595719e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046182e+02 +1.0866063643253473e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098047e+02 +1.0827277318679030e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545038e+02 +3.0143306723935508e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855367e+02 +4.3340379505972648e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177902e+02 +3.9652247575094006e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855526e+02 -8.2540994138261318e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609082e+02 -9.7121215247039609e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046227e+02 -9.0872484903683497e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177453e+02 +5.1331372776616026e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046193e+02 +5.0816653044831932e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098064e+02 +5.1165649253001659e-15
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:09 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n4
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_1
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545021e+02 +6.7620978057264750e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855339e+02 +6.5026340956203663e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177868e+02 +6.5443496235264788e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855515e+02 +6.9706500417651470e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609065e+02 +6.9516150897757419e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046199e+02 +6.9232860455434941e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177447e+02 +1.0849949614595719e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046182e+02 +1.0866063643253473e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098047e+02 +1.0827277318679030e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545038e+02 +3.0143306723935508e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855367e+02 +4.3340379505972648e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177902e+02 +3.9652247575094006e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855526e+02 -8.2540994138261318e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609082e+02 -9.7121215247039609e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046227e+02 -9.0872484903683497e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177453e+02 +5.1331372776616026e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046193e+02 +5.0816653044831932e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098064e+02 +5.1165649253001659e-15
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:11 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n5
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_1
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545021e+02 +6.7620978057264750e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855339e+02 +6.5026340956203663e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177868e+02 +6.5443496235264788e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855515e+02 +6.9706500417651470e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609065e+02 +6.9516150897757419e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046199e+02 +6.9232860455434941e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177447e+02 +1.0849949614595719e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046182e+02 +1.0866063643253473e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098047e+02 +1.0827277318679030e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5119415254545038e+02 +3.0143306723935508e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5120703575855367e+02 +4.3340379505972648e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5120808902177902e+02 +3.9652247575094006e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120703575855526e+02 -8.2540994138261318e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122001235609082e+02 -9.7121215247039609e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122104108046227e+02 -9.0872484903683497e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 0
|
||||
corr
|
||||
+3.5120808902177453e+02 +5.1331372776616026e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 1
|
||||
corr
|
||||
+3.5122104108046193e+02 +5.0816653044831932e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_1
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
wf_2 2
|
||||
corr
|
||||
+3.5122207631098064e+02 +5.1165649253001659e-15
|
||||
|
||||
395
tests/data/sfcf_test/data_ah/data_ah_r0.f_A
Normal file
395
tests/data/sfcf_test/data_ah/data_ah_r0.f_A
Normal file
|
|
@ -0,0 +1,395 @@
|
|||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:03 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n1
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_A
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727972304e+01 -6.1214214711790100e-12
|
||||
2 +1.0447210336915187e+00 +8.9219487930753188e-13
|
||||
3 -4.1025094911185178e+01 -4.8315634170546161e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722862705e+01 +2.0963356863957609e-13
|
||||
2 +1.0542820240851569e+00 +2.3989756974599379e-15
|
||||
3 -4.1024441815729936e+01 -5.7107484666182308e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269442847e+01 -6.6512260271334321e-14
|
||||
2 +1.0516822345055969e+00 -2.2935262162529075e-15
|
||||
3 -4.1025142768037746e+01 +3.7566377680004518e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727965909e+01 -1.6112786177915427e-11
|
||||
2 +1.0447210337411881e+00 -7.0387528705692678e-13
|
||||
3 -4.1025094911167137e+01 +4.6509152745618223e-13
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722842213e+01 -8.1976426690345305e-13
|
||||
2 +1.0542820240843382e+00 +2.1626370477046812e-13
|
||||
3 -4.1024441815730086e+01 -2.4147931196409923e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269443117e+01 +7.9192560386479701e-14
|
||||
2 +1.0516822345055870e+00 -1.2443038782429568e-14
|
||||
3 -4.1025142768037739e+01 +5.9315333178954509e-17
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:05 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n2
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_A
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727972304e+01 -6.1214214711790100e-12
|
||||
2 +1.0447210336915187e+00 +8.9219487930753188e-13
|
||||
3 -4.1025094911185178e+01 -4.8315634170546161e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722862705e+01 +2.0963356863957609e-13
|
||||
2 +1.0542820240851569e+00 +2.3989756974599379e-15
|
||||
3 -4.1024441815729936e+01 -5.7107484666182308e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269442847e+01 -6.6512260271334321e-14
|
||||
2 +1.0516822345055969e+00 -2.2935262162529075e-15
|
||||
3 -4.1025142768037746e+01 +3.7566377680004518e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727965909e+01 -1.6112786177915427e-11
|
||||
2 +1.0447210337411881e+00 -7.0387528705692678e-13
|
||||
3 -4.1025094911167137e+01 +4.6509152745618223e-13
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722842213e+01 -8.1976426690345305e-13
|
||||
2 +1.0542820240843382e+00 +2.1626370477046812e-13
|
||||
3 -4.1024441815730086e+01 -2.4147931196409923e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269443117e+01 +7.9192560386479701e-14
|
||||
2 +1.0516822345055870e+00 -1.2443038782429568e-14
|
||||
3 -4.1025142768037739e+01 +5.9315333178954509e-17
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:07 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n3
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_A
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727972304e+01 -6.1214214711790100e-12
|
||||
2 +1.0447210336915187e+00 +8.9219487930753188e-13
|
||||
3 -4.1025094911185178e+01 -4.8315634170546161e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722862705e+01 +2.0963356863957609e-13
|
||||
2 +1.0542820240851569e+00 +2.3989756974599379e-15
|
||||
3 -4.1024441815729936e+01 -5.7107484666182308e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269442847e+01 -6.6512260271334321e-14
|
||||
2 +1.0516822345055969e+00 -2.2935262162529075e-15
|
||||
3 -4.1025142768037746e+01 +3.7566377680004518e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727965909e+01 -1.6112786177915427e-11
|
||||
2 +1.0447210337411881e+00 -7.0387528705692678e-13
|
||||
3 -4.1025094911167137e+01 +4.6509152745618223e-13
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722842213e+01 -8.1976426690345305e-13
|
||||
2 +1.0542820240843382e+00 +2.1626370477046812e-13
|
||||
3 -4.1024441815730086e+01 -2.4147931196409923e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269443117e+01 +7.9192560386479701e-14
|
||||
2 +1.0516822345055870e+00 -1.2443038782429568e-14
|
||||
3 -4.1025142768037739e+01 +5.9315333178954509e-17
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:09 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n4
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_md5 d881e90d41188a33b8b0f1bd0bc53ea5
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_A
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727972304e+01 -6.1214214711790100e-12
|
||||
2 +1.0447210336915187e+00 +8.9219487930753188e-13
|
||||
3 -4.1025094911185178e+01 -4.8315634170546161e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722862705e+01 +2.0963356863957609e-13
|
||||
2 +1.0542820240851569e+00 +2.3989756974599379e-15
|
||||
3 -4.1024441815729936e+01 -5.7107484666182308e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269442847e+01 -6.6512260271334321e-14
|
||||
2 +1.0516822345055969e+00 -2.2935262162529075e-15
|
||||
3 -4.1025142768037746e+01 +3.7566377680004518e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727965909e+01 -1.6112786177915427e-11
|
||||
2 +1.0447210337411881e+00 -7.0387528705692678e-13
|
||||
3 -4.1025094911167137e+01 +4.6509152745618223e-13
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722842213e+01 -8.1976426690345305e-13
|
||||
2 +1.0542820240843382e+00 +2.1626370477046812e-13
|
||||
3 -4.1024441815730086e+01 -2.4147931196409923e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269443117e+01 +7.9192560386479701e-14
|
||||
2 +1.0516822345055870e+00 -1.2443038782429568e-14
|
||||
3 -4.1025142768037739e+01 +5.9315333178954509e-17
|
||||
|
||||
[run]
|
||||
|
||||
version 2.1
|
||||
date 2022-01-19 11:04:11 +0100
|
||||
host r04n07.palma.wwu
|
||||
dir /scratch/tmp/j_kuhl19
|
||||
user j_kuhl19
|
||||
gauge_name /data_a_r0_n5
|
||||
gauge_md5 1ea28326e4090996111a320b8372811d
|
||||
param_name sfcf_unity_test.in
|
||||
param_hash 686af5e712ee2902180f5428af94c6e7
|
||||
data_name ./output_10519905/data_af_A
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727972304e+01 -6.1214214711790100e-12
|
||||
2 +1.0447210336915187e+00 +8.9219487930753188e-13
|
||||
3 -4.1025094911185178e+01 -4.8315634170546161e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722862705e+01 +2.0963356863957609e-13
|
||||
2 +1.0542820240851569e+00 +2.3989756974599379e-15
|
||||
3 -4.1024441815729936e+01 -5.7107484666182308e-15
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 0
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269442847e+01 -6.6512260271334321e-14
|
||||
2 +1.0516822345055969e+00 -2.2935262162529075e-15
|
||||
3 -4.1025142768037746e+01 +3.7566377680004518e-16
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 0
|
||||
corr_t
|
||||
1 +6.5471188727965909e+01 -1.6112786177915427e-11
|
||||
2 +1.0447210337411881e+00 -7.0387528705692678e-13
|
||||
3 -4.1025094911167137e+01 +4.6509152745618223e-13
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 1
|
||||
corr_t
|
||||
1 +6.5551520722842213e+01 -8.1976426690345305e-13
|
||||
2 +1.0542820240843382e+00 +2.1626370477046812e-13
|
||||
3 -4.1024441815730086e+01 -2.4147931196409923e-14
|
||||
|
||||
[correlator]
|
||||
|
||||
name f_A
|
||||
quarks lquark lquark
|
||||
offset 1
|
||||
wf 2
|
||||
corr_t
|
||||
1 +6.5529951269443117e+01 +7.9192560386479701e-14
|
||||
2 +1.0516822345055870e+00 -1.2443038782429568e-14
|
||||
3 -4.1025142768037739e+01 +5.9315333178954509e-17
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ def build_test_environment(path, env_type, cfgs, reps):
|
|||
os.mkdir(path + "/data_c/data_c_r"+str(i))
|
||||
for j in range(1, cfgs+1):
|
||||
shutil.copy(path + "/data_c/data_c_r0/data_c_r0_n1", path + "/data_c/data_c_r"+str(i)+"/data_c_r"+str(i)+"_n"+str(j))
|
||||
elif env_type in ["a", "apf"]:
|
||||
elif env_type in ["a", "apf", "ah"]:
|
||||
for i in range(1, reps):
|
||||
for corr in ["f_1", "f_A", "F_V0"]:
|
||||
shutil.copy(path + "/data_" + env_type + "/data_" + env_type + "_r0." + corr, path + "/data_" + env_type + "/data_" + env_type + "_r" + str(i) + "." + corr)
|
||||
|
|
@ -389,6 +389,30 @@ def test_a_bib_external_idl_func_postfix(tmp_path):
|
|||
assert f_V0[2] == 683.6776090081005
|
||||
|
||||
|
||||
def test_a_bib_irreg_header(tmp_path):
|
||||
build_test_environment(str(tmp_path), "ah", 5, 3)
|
||||
with pytest.warns(UserWarning):
|
||||
f_V0 = sfin.read_sfcf(str(tmp_path) + "/data_ah", "data_ah", "F_V0", quarks="lquark lquark", wf=0, wf2=0, version="2.0a", corr_type="bib")
|
||||
print(f_V0)
|
||||
assert len(f_V0) == 3
|
||||
assert list(f_V0[0].shape.keys()) == ["data_ah_|r0", "data_ah_|r1", "data_ah_|r2"]
|
||||
assert f_V0[0] == 683.6776090085115
|
||||
assert f_V0[1] == 661.3188585582334
|
||||
assert f_V0[2] == 683.6776090081005
|
||||
|
||||
|
||||
def test_a_bi_irreg_header(tmp_path):
|
||||
build_test_environment(str(tmp_path), "ah", 5, 3)
|
||||
with pytest.warns(UserWarning):
|
||||
f_A = sfin.read_sfcf(str(tmp_path) + "/data_ah", "data_ah", "f_A", quarks="lquark lquark", wf=0, version="2.0a", corr_type="bi")
|
||||
print(f_A)
|
||||
assert len(f_A) == 3
|
||||
assert list(f_A[0].shape.keys()) == ["data_ah_|r0", "data_ah_|r1", "data_ah_|r2"]
|
||||
assert f_A[0].value == 65.4711887279723
|
||||
assert f_A[1].value == 1.0447210336915187
|
||||
assert f_A[2].value == -41.025094911185185
|
||||
|
||||
|
||||
def test_simple_multi_a(tmp_path):
|
||||
build_test_environment(str(tmp_path), "a", 5, 3)
|
||||
corrs = sfin.read_sfcf_multi(str(tmp_path) + "/data_a", "data_a", ["F_V0"], quarks_list=["lquark lquark"], wf1_list=[0], wf2_list=[0], version="2.0a", corr_type_list=["bib"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue