shift.raw_cf: shift a 'raw_cf' correlation function by 'places' time-slices

shift.raw_cfR Documentation

shift a raw_cf correlation function by 'places' time-slices

Description

shift a raw_cf correlation function by 'places' time-slices

Usage

shift.raw_cf(cf, places)

Arguments

cf

raw_cf container

places

Integer (possibly a vector), number of time slices that the correlation function should be shifted by. Can be positive or negative. This can either be a single value such that a shift by this many time slices will be applied to every measurement or it can be a vector of values of the same length as the number of measurements in cf. In that case, a different shift will be applied to each measurement. This is useful if it is important to preserve the absolute time coordinates of a correlation function until some time-dependent transformations have been applied.

Details

The correlation funtion C(t) is shifted in time to produce:

C'(t) = C(t+places)

using periodic boundary conditions in time.

Value

Returns an object of class raw_cf, shifted compared to the input object.


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