Performs weighting and shifting in the rest and moving frames.
old_removeTemporal.cf(cf, single.cf1, single.cf2, p1 = c(0, 0, 0),
p2 = c(0, 0, 0), L, lat.disp = TRUE, weight.cosh = FALSE, deltat = 1)
Object of type cf
, two-to-two particle correlation function which
shall be weighted and shifted. It must be a correlation function in the
frame \(p_1 + p_2\).
Object of type effectivemassfit
or matrixfit
which contains the one particle mass in the rest frame.
If single.cf2
is missing, then the mass given as single.cf1
is used as
well. This is sensibly done when one scatters identical particles. But be
careful: Even when single.cf2
is missing, the p2
is not automatically
copied from p1
.
In case single.cf1
is missing, no weighting is performed. Instead it is
assumed that the user only wants to have a simple shifting. Then this
function just calls takeTimeDiff.cf
.
Integer vector with three elements, containing the momenta that the one particle mass should be boosted to.
Integer, spatial extent of the lattice.
Logical, true when the lattice dispersion relation shall be used, otherwise continuum dispersion relation.
Logical, If single.cf1 is a pure cosh, the leading two
thermal states also may be expressed as a cosh. If weight.cosh
is set,
they are removed simultaneously.
Integer. Time shift value.
Returns an object of class cf
, see cf.