When a correlation function is symmetric or anti-symmetric in time,
this symmetry can be exploited by averaging the part from source-sink
separation 1 to cf$Time/2 with the part from cf$Time/2+1 to cf$Time-1
in order to improve statistical precision. This function
reduces the number of time slices in a cf
object from cf$Time to
cf$Time/2+1 by performing this averaging.
symmetrise.cf(cf, sym.vec = c(1))
Object of type cf
.
Integer or integer vector of length cf$nrObs giving the time-reflection symmetry (1 for symmetric, -1 for anti-symmetric) of the observable in question.
Returns an object of class cf
, which is the symmetrised version
of the input cf
object.