v2.0.0
Loading...
Searching...
No Matches
mne_named_vector.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef MNE_NAMED_VECTOR_H
38#define MNE_NAMED_VECTOR_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "mne_global.h"
45
46#include <Eigen/Core>
47
48#include <QStringList>
49
50//=============================================================================================================
51// DEFINE NAMESPACE MNELIB
52//=============================================================================================================
53
54namespace MNELIB
55{
56
61{
62public:
63 MNENamedVector() = default;
64 ~MNENamedVector() = default;
65
66 //=========================================================================================================
78 int pick(const QStringList& names, int nnames, bool require_all, Eigen::Ref<Eigen::VectorXf> res) const;
79
80 int nvec = 0;
81 QStringList names;
82 Eigen::VectorXf data;
83};
84
85} // namespace MNELIB
86
87#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