Reads arbitrary number of samples for a complex correlation function from a text file.
readtextcf(file, Time = 48, sym = TRUE, path = "", skip = 1,
check.t = 0, ind.vector = c(2, 3), symmetrise = TRUE, stride = 1,
avg = 1, Nmin = 4, autotruncate = TRUE)
filename of file to read from.
time extent of the correlation function
if TRUE
average C(+t) and C(-t), otherwise C(+t) and
-C(-t). Averaging can be switched off using the symmetrise
option.
the path to the files.
number of lines to skip at beginning of file
if set to an integer value larger than zero the function will assume that in the corresponding column of the file the Euclidean time is counted and it will check whether the maximum in this column is identical to Time-1.
index vector of length 2 with the indices of real and imaginary values of correlator, respectivley.
if set to TRUE
, the correlation function will be
averaged for t
and Time-t
, with the sign depending on the value
of sym
. Note that currently the correlator with t-values larger than
Time/2
will be discarded.
Integer. Read only subset of files with corresponding stride.
Integer. Average over successive number samples
Integer. Minimal number of measurements that must remain after sparsification and averaging. Default equals to 4.
Boolean. Whether to autotruncate or not
returns a list with two arrays cf
and icf
with real
and imaginary parts of the correlator, and integers Time
,
nrStypes=1
and nrObs=1
. Both of the arrays have dimension
c(N, (Time/2+1))
, where N
is the number of measurements
(gauges). Time
is the time extent, nrStypes
the number of
smearing levels and nrObs
the number of operators, both of which are
currently fixed to 1.
readcmidatafiles
, readbinarydisc
,
readcmidisc
, readcmicor
,
readbinarycf