readtextcf | R Documentation |
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)
file |
filename of file to read from. |
Time |
time extent of the correlation function |
sym |
if |
path |
the path to the files. |
skip |
number of lines to skip at beginning of file |
check.t |
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. |
ind.vector |
index vector of length 2 with the indices of real and imaginary values of correlator, respectivley. |
symmetrise |
if set to |
stride |
Integer. Read only subset of files with corresponding stride. |
avg |
Integer. Average over successive number samples |
Nmin |
Integer. Minimal number of measurements that must remain after sparsification and averaging. Default equals to 4. |
autotruncate |
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.
Carsten Urbach, curbach@gmx.de
readcmidatafiles
, readbinarydisc
,
readcmidisc
, readcmicor
,
readbinarycf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.