Skip to main content

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​

Authors of this file​