v2.0.0
Loading...
Searching...
No Matches
src
libraries
inv
rap_music
inv_dipole.cpp
Go to the documentation of this file.
1
//=============================================================================================================
18
19
#ifndef DIPOLE_SOURCES
//Because this cpp is part of the header -> template
20
#define DIPOLE_SOURCES
21
22
//=============================================================================================================
23
// INCLUDES
24
//=============================================================================================================
25
26
#include "
inv_dipole.h
"
27
28
//=============================================================================================================
29
// DEFINE NAMESPACE INVLIB
30
//=============================================================================================================
31
32
namespace
INVLIB
33
{
34
35
//=============================================================================================================
36
// USED NAMESPACES
37
//=============================================================================================================
38
39
using namespace
Eigen;
40
41
//=============================================================================================================
42
// DEFINE MEMBER METHODS
43
//=============================================================================================================
44
45
template
<
class
T>
46
InvDipole<T>::InvDipole
()
47
: m_vecPosition(
Matrix
<T, 3, 1>::Zero(3))
48
, m_vecDirection(
Matrix
<T, 3, 1>::Zero(3))
49
, m_dLength(1)
50
, m_dFrequency(0)
51
{
52
}
53
54
//=============================================================================================================
55
56
template
<
class
T>
57
InvDipole<T>::~InvDipole
()
58
{
59
}
60
61
//=============================================================================================================
62
63
template
<
class
T>
64
void
InvDipole<T>::clean
()
65
{
66
m_vecPosition.setZero();
67
m_vecDirection.setZero();
68
m_dLength = 1;
69
m_dFrequency = 0;
70
}
71
}
//Namespace
72
73
#endif
//DIPOLE_SOURCES
inv_dipole.h
Templated dipole and dipole-pair value types used by the RAP-MUSIC scanning algorithm.
INVLIB
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Definition
braintreemodel.h:42
INVLIB::BeamformerInversion::Matrix
@ Matrix
Definition
inv_beamformer_settings.h:68
INVLIB::InvDipole::clean
void clean()
Definition
inv_dipole.cpp:64
INVLIB::InvDipole::~InvDipole
virtual ~InvDipole()
Definition
inv_dipole.cpp:57
INVLIB::InvDipole::InvDipole
InvDipole()
Definition
inv_dipole.cpp:46
Generated on
for MNE-CPP by
1.16.1