Skip to main content

RtCovComputeResult

Namespace: RTPROCESSINGLIB  ·  Library: DSP Library

#include <dsp/rt_cov.h>

struct RTPROCESSINGLIB::RtCovComputeResult

Bundled output of a real-time covariance computation step containing the covariance matrix and sample count.


Example​

No example of its own: Map-reduce partial result of the RtCov worker; callers receive the finished FiffCov.

It is exercised by:

src/examples/ex_dsp_rt/main.cpp
RtCov rtCov(info);
FiffCov cov;
for (int start = 0; start < covData.cols(); start += 1000) {
cov = rtCov.estimateCovariance(covData.middleCols(start, 1000), 4000); // empty until 4000 samples arrived
}

From ex_dsp_rt.

Authors of this file​