gevp2cf | R Documentation |
Extracts a principle correlator from a GEVP and converts it into an object
of class cf
gevp2cf(gevp, id = 1)
gevp |
An object returned by |
id |
The index of the principal correlator to extract. |
An object of class cf
, which contains bootstrap samples
already. So a call to bootstrap.cf
is neither needed nor possible. It
can be treated further by bootstrap.effectivemass
or
matrixfit
to extract a mass value.
Carsten Urbach, curbach@gmx.de
gevp
, matrixfit
,
bootstrap.effectivemass
data(correlatormatrix) ## bootstrap the correlator matrix correlatormatrix <- bootstrap.cf(correlatormatrix, boot.R=99, boot.l=1, seed=132435) ## solve the GEVP t0 <- 4 correlatormatrix.gevp <- bootstrap.gevp(cf=correlatormatrix, t0=t0, element.order=c(1,2,3,4)) ## extract the ground state and plot pc1 <- gevp2cf(gevp=correlatormatrix.gevp, id=1) plot(pc1, log="y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.