cf_meta: CF metadata mixin constructor

Description Usage Arguments Value See Also Examples

Description

CF metadata mixin constructor

Usage

1
cf_meta(.cf = cf(), nrObs = 1, Time = NA, nrStypes = 1, symmetrised = FALSE)

Arguments

.cf

cf object to extend.

nrObs

Integer, number of different measurements contained in this correlation function. One can use c.cf to add multiple observables into one container. This is for instance needed when passing to the gevp function.

Time

Integer, full time extent.

nrStypes

Integer, number of smearing types.

symmetrised

Logical, indicating whether the correlation function has been symmetrized.

Value

returns the input object of class cf with the metadata mixin added

See Also

Other cf constructors: cf_boot(), cf_orig(), cf_principal_correlator(), cf_shifted(), cf_smeared(), cf_subtracted(), cf_weighted(), cf()

Examples

1
2
newcf <- cf_orig(cf=array(rnorm(25*100), dim=c(100, 25))) 
newcf <- cf_meta(newcf, nrObs=1, Time=48, symmetrised=TRUE)

hadron documentation built on Jan. 13, 2021, 8 a.m.