v2.0.0
Loading...
Searching...
No Matches
mne_named_vector.h
Go to the documentation of this file.
1//=============================================================================================================
18
19#ifndef MNE_NAMED_VECTOR_H
20#define MNE_NAMED_VECTOR_H
21
22//=============================================================================================================
23// INCLUDES
24//=============================================================================================================
25
26#include "mne_global.h"
27
28#include <Eigen/Core>
29
30#include <QStringList>
31
32//=============================================================================================================
33// DEFINE NAMESPACE MNELIB
34//=============================================================================================================
35
36namespace MNELIB
37{
38
43{
44public:
45 MNENamedVector() = default;
46 ~MNENamedVector() = default;
47
48 //=========================================================================================================
60 int pick(const QStringList& names, int nnames, bool require_all, Eigen::Ref<Eigen::VectorXf> res) const;
61
62 int nvec = 0;
63 QStringList names;
64 Eigen::VectorXf data;
65};
66
67} // namespace MNELIB
68
69#endif // MNE_NAMED_VECTOR_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
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