extract.obs | R Documentation |
Extracts one or more gamma matrix combinations (observables) from a correlator stored in cmi format
extract.obs(cmicor, vec.obs = c(1), ind.vec = c(1, 2, 3, 4, 5), sym.vec, sign.vec, verbose = FALSE, symmetrise = TRUE)
cmicor |
an correlator object in cmi format |
vec.obs |
vector containing the numbers of observables to be extracted. |
ind.vec |
Index vector indexing the column numbers in cmicor to be used. The first must be the observable index, the second the smearing type index, the third the time, the fourth C(+t) and the fifth C(-t). Index vector indexing the column numbers in cmiloop to be used. The first must be the observable index, the second the smearing type index, the third the time, the fourth ReTL, the fifth ImTL, the sixth ReTF and the seventh ImTF. |
sym.vec |
a vector of bools of length equal to the number of observables indicating whether C(t) is symmetric in t, i.e. whether C(+t) and C(-t) should be added or subtracted. If not given C(+t) and C(-t) will be assumed to be symmetric. |
sign.vec |
a sign vector of length equal to the number of observables indicating whether the corresponding correlation function should be multiplied by +-1. |
verbose |
Increases verbosity of the function. |
symmetrise |
if set to |
C(t) and C(-t) are averaged as indicated by sym.vec
.
returns a list containing
cf |
for for |
icf |
for |
scf |
for |
sicf |
for
|
Time |
The time extent of the correlation functions. |
nrStypes |
The number of smearing combinations. |
nrObs |
The number of observables. |
nrSamples |
for |
Carsten Urbach, curbach@gmx.de
readcmicor
, readcmidatafiles
,
files <- paste0(system.file(package="hadron"), "/extdata/outprcvn.dddd.00.0000") X <- readcmifiles(files, skip=0, colClasses=c("integer", "integer","integer","numeric","numeric")) Y <- extract.obs(X) Y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.