weight.cf: Weight a correlation function

weight.cfR Documentation

Weight a correlation function

Description

Weights a correlation function with the given energy difference Delta E such that the function is first multiplied with exp(Delta E t) + c exp(Delta E(Time-t)).

Usage

weight.cf(cf, energy_difference_val, energy_difference_boot, cosh_factor,
  offset = 0, inverse = FALSE)

Arguments

cf

cf_orig and possibly cf_boot object.

energy_difference_val

numeric. A single energy value Delta E for the weighting.

energy_difference_boot

numeric vector. Samples for the energy difference value.

cosh_factor

integer, either +1 or -1. Determines the sign $c$ in the weight factor.

offset

integer. Offset for the time $t$, needed for the reweighting after a shift.

inverse

boolean. If TRUE apply inverse weight.

Value

Returns an object of class cf, see cf.


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