HPI Fit algorithms.
More...
#include <hpifit.h>
|
static void | storeHeadPosition (float fTime, const Eigen::MatrixXf &matTransDevHead, Eigen::MatrixXd &matPosition, const Eigen::VectorXd &vecGoF, const QVector< double > &vecError) |
|
HPI Fit algorithms.
HPI Fit algorithms.
Definition at line 134 of file hpifit.h.
◆ ConstSPtr
◆ SPtr
◆ HPIFit() [1/2]
INVERSELIB::HPIFit::HPIFit |
( |
| ) |
|
|
explicit |
◆ HPIFit() [2/2]
HPIFit::HPIFit |
( |
const SensorSet & |
sensorSet | ) |
|
|
explicit |
◆ checkForUpdate()
void HPIFit::checkForUpdate |
( |
const SensorSet & |
sensorSet | ) |
|
◆ fit()
void INVERSELIB::HPIFit::fit |
( |
const Eigen::MatrixXd & |
matProjectedData, |
|
|
const Eigen::MatrixXd & |
matProjectors, |
|
|
const HpiModelParameters & |
hpiModelParameters, |
|
|
const Eigen::MatrixXd & |
matCoilsHead, |
|
|
HpiFitResult & |
hpiFitResult |
|
) |
| |
Perform one single HPI fit.
- Parameters
-
[in] | matProjectedData | Data to estimate the HPI positions from. Projectars should be already applied. |
[in] | matProjectors | The projectors to apply. |
[in] | hpiModelParameters | The model parameters to use for the Hpi Fitting, especially to compute the coil amplitudes. |
[in] | matCoilsHead | The hpi coil locations in head space. |
[in] | bOrderFrequencies | Order Hpi coils yes/no. |
[out] | hpiFitResult | The fitting results. |
◆ storeHeadPosition()
void HPIFit::storeHeadPosition |
( |
float |
fTime, |
|
|
const Eigen::MatrixXf & |
matTransDevHead, |
|
|
Eigen::MatrixXd & |
matPosition, |
|
|
const Eigen::VectorXd & |
vecGoF, |
|
|
const QVector< double > & |
vecError |
|
) |
| |
|
static |
Store results from dev_Head_t as quaternions in position matrix. The format is the same as you get from Neuromag's MaxFilter.
- Parameters
-
[in] | fTime | The corresponding time in the measurement for the fit. |
[in] | matTransDevHead | The device->head transformation matrix. |
[out] | matPosition | The matrix to store the results. |
[in] | vecGoF | The goodness of fit per coil. |
[in] | vecError | The Hpi estimation Error per coil. |
ToDo: get estimated movement velocity and store it in channel 9
Definition at line 527 of file hpifit.cpp.
The documentation for this class was generated from the following files: