MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RTPROCESSINGLIB::RtHpi Class Reference

Real-time Head Coil Positions estimation. More...

#include <rthpis.h>

Public Types

typedef QSharedPointer< RtHpiSPtr
 
typedef QSharedPointer< const RtHpiConstSPtr
 

Signals

void newHpiFitResultAvailable (const INVERSELIB::HpiFitResult &fitResult)
 
void operate (const Eigen::MatrixXd &matData, const Eigen::MatrixXd &matProjectors, const INVERSELIB::HpiModelParameters &hpiModelParameters, const Eigen::MatrixXd &matCoilsHead)
 

Public Member Functions

 RtHpi (const INVERSELIB::SensorSet sensorSet, QObject *parent=0)
 
 ~RtHpi ()
 
void append (const Eigen::MatrixXd &data)
 
void setModelParameters (INVERSELIB::HpiModelParameters hpiModelParameters)
 
void setProjectionMatrix (const Eigen::MatrixXd &matProjectors)
 
void setHpiDigitizer (const Eigen::MatrixXd &matCoilsHead)
 
void restart ()
 
void stop ()
 

Protected Member Functions

void handleResults (const INVERSELIB::HpiFitResult &fitResult)
 

Protected Attributes

QThread m_workerThread
 
Eigen::MatrixXd m_matCoilsHead
 
Eigen::MatrixXd m_matProjectors
 
INVERSELIB::SensorSet m_sensorSet
 
INVERSELIB::HpiModelParameters m_modelParameters
 

Detailed Description

Real-time Head Coil Positions estimation.

Real-time Head Coil Positions estimation.

Definition at line 131 of file rthpis.h.

Inheritance diagram for RTPROCESSINGLIB::RtHpi:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const RtHpi> RTPROCESSINGLIB::RtHpi::ConstSPtr

Const shared pointer type for RtHpi.

Definition at line 137 of file rthpis.h.

◆ SPtr

typedef QSharedPointer<RtHpi> RTPROCESSINGLIB::RtHpi::SPtr

Shared pointer type for RtHpi.

Definition at line 136 of file rthpis.h.

Constructor & Destructor Documentation

◆ RtHpi()

RtHpi::RtHpi ( const INVERSELIB::SensorSet  sensorSet,
QObject *  parent = 0 
)
explicit

Creates the real-time HPIS estimation object.

Parameters
[in]p_pFiffInfoAssociated Fiff Information.
[in]parentParent QObject (optional).

Definition at line 100 of file rthpis.cpp.

◆ ~RtHpi()

RtHpi::~RtHpi ( )

Destroys the Real-time HPI estimation object.

Definition at line 126 of file rthpis.cpp.

Member Function Documentation

◆ append()

void RtHpi::append ( const Eigen::MatrixXd &  data)

Slot to receive incoming data.

Parameters
[in]dataData to estimate the HPI positions from.

Definition at line 133 of file rthpis.cpp.

◆ handleResults()

void RtHpi::handleResults ( const INVERSELIB::HpiFitResult fitResult)
protected

Handles the results.

Definition at line 168 of file rthpis.cpp.

◆ restart()

void RtHpi::restart ( )

Restarts the thread by interrupting its computation queue, quitting, waiting and then starting it again.

Definition at line 175 of file rthpis.cpp.

◆ setHpiDigitizer()

void RtHpi::setHpiDigitizer ( const Eigen::MatrixXd &  matCoilsHead)

Set the new projection matrix.

Parameters
[in]matProjectorsThe new projection matrix.

Definition at line 161 of file rthpis.cpp.

◆ setModelParameters()

void RtHpi::setModelParameters ( INVERSELIB::HpiModelParameters  hpiModelParameters)

Set the coil frequencies.

Parameters
[in]vCoilFreqsThe coil frequencies.

Definition at line 147 of file rthpis.cpp.

◆ setProjectionMatrix()

void RtHpi::setProjectionMatrix ( const Eigen::MatrixXd &  matProjectors)

Set the new projection matrix.

Parameters
[in]matProjectorsThe new projection matrix.

Definition at line 154 of file rthpis.cpp.

◆ stop()

void RtHpi::stop ( )

Stops the thread by interrupting its computation queue, quitting and waiting.

Definition at line 196 of file rthpis.cpp.

Member Data Documentation

◆ m_matCoilsHead

Eigen::MatrixXd RTPROCESSINGLIB::RtHpi::m_matCoilsHead
protected

Vector contains the HPI coil frequencies.

Definition at line 207 of file rthpis.h.

◆ m_matProjectors

Eigen::MatrixXd RTPROCESSINGLIB::RtHpi::m_matProjectors
protected

Holds the matrix with the SSP and compensator projectors.

Definition at line 208 of file rthpis.h.

◆ m_workerThread

QThread RTPROCESSINGLIB::RtHpi::m_workerThread
protected

The worker thread.

Definition at line 206 of file rthpis.h.


The documentation for this class was generated from the following files: