v2.0.0
Loading...
Searching...
No Matches
mne_named_vector.h
Go to the documentation of this file.
1#ifndef MNE_NAMED_VECTOR_H
2#define MNE_NAMED_VECTOR_H
3
4//=============================================================================================================
5// INCLUDES
6//=============================================================================================================
7
8#include "mne_global.h"
9
10#include <Eigen/Core>
11
12#include <QStringList>
13
14//=============================================================================================================
15// DEFINE NAMESPACE MNELIB
16//=============================================================================================================
17
18namespace MNELIB
19{
20
25{
26public:
27 MNENamedVector() = default;
28 ~MNENamedVector() = default;
29
30 //=========================================================================================================
42 int pick(const QStringList& names, int nnames, bool require_all, Eigen::Ref<Eigen::VectorXf> res) const;
43
44 int nvec = 0;
45 QStringList names;
46 Eigen::VectorXf data;
47};
48
49} // namespace MNELIB
50
51#endif // MNE_NAMED_VECTOR_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
Core MNE data structures (source spaces, source estimates, hemispheres).
int pick(const QStringList &names, int nnames, bool require_all, Eigen::Ref< Eigen::VectorXf > res) const