gevp2cf: Extracts a principle correlator from a GEVEP

View source: R/gevp.R

gevp2cfR Documentation

Extracts a principle correlator from a GEVEP

Description

Extracts a principle correlator from a GEVP and converts it into an object of class cf

Usage

gevp2cf(gevp, id = 1)

Arguments

gevp

An object returned by bootstrap.gevp.

id

The index of the principal correlator to extract.

Value

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.

Author(s)

Carsten Urbach, curbach@gmx.de

See Also

gevp, matrixfit, bootstrap.effectivemass

Examples


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")


hadron documentation built on Sept. 9, 2022, 5:06 p.m.