v2.0.0
Loading...
Searching...
No Matches
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
32namespace INVLIB
33{
34
35//=============================================================================================================
36// USED NAMESPACES
37//=============================================================================================================
38
39using namespace Eigen;
40
41//=============================================================================================================
42// DEFINE MEMBER METHODS
43//=============================================================================================================
44
45template <class T>
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
56template <class T>
60
61//=============================================================================================================
62
63template <class T>
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
Templated dipole and dipole-pair value types used by the RAP-MUSIC scanning algorithm.
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
virtual ~InvDipole()