RtInvOpWorker
Namespace: RTPROCESSINGLIB · Library: DSP Library
#include <dsp/rt_inv_op.h>
class RTPROCESSINGLIB::RtInvOpWorker
Real-time inverse operator worker.
Background worker thread that recomputes the MNE inverse operator when covariance updates arrive.
src/examples/ex_dsp_rt/main.cpp
RtInvOp rtInvOp(rawInfo, fwd); // MEG-only operator, loose 0.2, depth 0.8
MNEInverseOperator inverse;
bool inverseDone = false;
QObject::connect(&rtInvOp, &RtInvOp::invOperatorCalculated, [&](const MNEInverseOperator& op) {
inverse = op;
inverseDone = true;
});
rtInvOp.append(noiseCov); // e.g. each new RtCov estimate
Inheritance
Public Methods
doWork(inputData)
Perform actual inverse operator creation.
Parameters:
- inputData : const RtInvOpInput & Data to estimate the inverse operator from.
Example
- Full source:
src/examples/ex_dsp_rt/main.cpp - Build target:
ex_dsp_rt(runs under CTest) - Data: mne-cpp-test-data
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>