old_removeTemporal.cf: Remove temporal states

View source: R/removeTemporal.cf.R

old_removeTemporal.cfR Documentation

Remove temporal states

Description

Performs weighting and shifting in the rest and moving frames.

Usage

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)

Arguments

cf

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.

single.cf1, single.cf2

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.

p1, p2

Integer vector with three elements, containing the momenta that the one particle mass should be boosted to.

L

Integer, spatial extent of the lattice.

lat.disp

Logical, true when the lattice dispersion relation shall be used, otherwise continuum dispersion relation.

weight.cosh

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.

deltat

Integer. Time shift value.

Value

Returns an object of class cf, see cf.


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