block.raw_cf: Block average correlation function data

View source: R/raw_cf.R

block.raw_cfR Documentation

Block average correlation function data

Description

Block block_length sequential measurements of the correlation function together. This occurs, for example, when multiple stochastic noise vectors are used per measurement or multiple source locations. Alternatively, it can also be used to account for auto-correlations in the data. If the total number of measurements is not divisible by block_length, the last measurements are discarded.

Usage

block.raw_cf(cf, block_length)

Arguments

cf

raw_cf object

block_length

Integer, number of successive measurements to average over.

Value

cf raw_cf object with the data member reduced in its first dimension by a factor of block_length and restricted (at the end) to the number of measurements divisible by block_length.


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