MNE-CPP
0.1.9
A Framework for Electrophysiology
|
light measurement info More...
#include <fiff_info_base.h>
Public Types | |
typedef QSharedPointer< FiffInfoBase > | SPtr |
typedef QSharedPointer< const FiffInfoBase > | ConstSPtr |
Public Member Functions | |
FiffInfoBase () | |
FiffInfoBase (const FiffInfoBase &p_FiffInfoBase) | |
virtual | ~FiffInfoBase () |
void | clear () |
QString | channel_type (qint32 idx) const |
bool | isEmpty () const |
FiffInfoBase | pick_info (const Eigen::RowVectorXi *sel=Q_NULLPTR) const |
Eigen::RowVectorXi | pick_types (const QString meg, bool eeg=false, bool stim=false, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) const |
Eigen::RowVectorXi | pick_types (bool meg, bool eeg=false, bool stim=false, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) const |
QStringList | get_channel_types () |
Static Public Member Functions | |
static Eigen::RowVectorXi | pick_channels (const QStringList &ch_names, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) |
Public Attributes | |
QString | filename |
QStringList | bads |
FiffId | meas_id |
fiff_int_t | nchan |
QList< FiffChInfo > | chs |
QStringList | ch_names |
FiffCoordTrans | dev_head_t |
FiffCoordTrans | ctf_head_t |
Friends | |
bool | operator== (const FiffInfoBase &a, const FiffInfoBase &b) |
typedef QSharedPointer<const FiffInfoBase> FIFFLIB::FiffInfoBase::ConstSPtr |
Const shared pointer type for FiffInfoBase.
Definition at line 79 of file fiff_info_base.h.
typedef QSharedPointer<FiffInfoBase> FIFFLIB::FiffInfoBase::SPtr |
Shared pointer type for FiffInfoBase.
Definition at line 78 of file fiff_info_base.h.
FiffInfoBase::FiffInfoBase | ( | ) |
Constructors the light fiff measurement file information.
Definition at line 56 of file fiff_info_base.cpp.
FiffInfoBase::FiffInfoBase | ( | const FiffInfoBase & | p_FiffInfoBase | ) |
Copy constructor.
[in] | p_FiffInfoBase | light FIFF measurement information which should be copied. |
Definition at line 64 of file fiff_info_base.cpp.
|
virtual |
Destroys the light fiff measurement file information.
Definition at line 78 of file fiff_info_base.cpp.
QString FiffInfoBase::channel_type | ( | qint32 | idx | ) | const |
Get channel type.
[in] | idx | Index of channel. |
Definition at line 84 of file fiff_info_base.cpp.
void FiffInfoBase::clear | ( | ) |
Initializes light FIFF measurement information.
Definition at line 118 of file fiff_info_base.cpp.
QStringList FiffInfoBase::get_channel_types | ( | ) |
Parses the channel info information and returns a string list of channel types.
Definition at line 247 of file fiff_info_base.cpp.
|
inline |
True if FIFF measurement file information is empty.
Definition at line 233 of file fiff_info_base.h.
|
static |
fiff_pick_channels
Make a selector to pick desired channels from data
[in] | ch_names | - The channel name list to consult. |
[in] | include | - Channels to include (if empty, include all available). |
[in] | exclude | - Channels to exclude (if empty, do not exclude any). |
Definition at line 198 of file fiff_info_base.cpp.
FiffInfoBase FiffInfoBase::pick_info | ( | const Eigen::RowVectorXi * | sel = Q_NULLPTR | ) | const |
fiff_pick_info
Pick desired channels from measurement info
[in] | sel | List of channels to select. |
Definition at line 224 of file fiff_info_base.cpp.
RowVectorXi FiffInfoBase::pick_types | ( | bool | meg, |
bool | eeg = false , |
||
bool | stim = false , |
||
const QStringList & | include = defaultQStringList , |
||
const QStringList & | exclude = defaultQStringList |
||
) | const |
fiff_pick_types
Create a selector to pick desired channel types from data Use overloaded pick_types method to specify meg (grad, mag, ref_meg)type
[in] | meg | Include MEG channels. |
[in] | eeg | Include EEG channels. |
[in] | stim | Include stimulus channels. |
[in] | include | Additional channels to include (if empty, do not add any). |
[in] | exclude | Channels to exclude (if empty, do not exclude any). |
Definition at line 188 of file fiff_info_base.cpp.
RowVectorXi FiffInfoBase::pick_types | ( | const QString | meg, |
bool | eeg = false , |
||
bool | stim = false , |
||
const QStringList & | include = defaultQStringList , |
||
const QStringList & | exclude = defaultQStringList |
||
) | const |
fiff_pick_types (highy diversity in meg picking)
Create a selector to pick desired channel types from data
[in] | meg | It can be "all", to select all or it can be "mag" or "grad" to select only gradiometers or magnetometers. |
[in] | eeg | Include EEG channels. |
[in] | stim | Include stimulus channels. |
[in] | include | Additional channels to include (if empty, do not add any). |
[in] | exclude | Channels to exclude (if empty, do not exclude any). |
Definition at line 132 of file fiff_info_base.cpp.
|
friend |
Overloaded == operator to compare an object to this instance.
[in] | object | The object which should be compared to. |
Definition at line 240 of file fiff_info_base.h.
QStringList FIFFLIB::FiffInfoBase::bads |
List of bad channels.
Definition at line 220 of file fiff_info_base.h.
QStringList FIFFLIB::FiffInfoBase::ch_names |
List of all channel names.
Definition at line 224 of file fiff_info_base.h.
QList<FiffChInfo> FIFFLIB::FiffInfoBase::chs |
List of all channel info descriptors.
Definition at line 223 of file fiff_info_base.h.
FiffCoordTrans FIFFLIB::FiffInfoBase::ctf_head_t |
Coordinate transformation ToDo...
Definition at line 226 of file fiff_info_base.h.
FiffCoordTrans FIFFLIB::FiffInfoBase::dev_head_t |
Coordinate transformation ToDo...
Definition at line 225 of file fiff_info_base.h.
QString FIFFLIB::FiffInfoBase::filename |
Filename when the info is read of a fiff file.
Definition at line 219 of file fiff_info_base.h.
FiffId FIFFLIB::FiffInfoBase::meas_id |
Measurement ID.
Definition at line 221 of file fiff_info_base.h.
fiff_int_t FIFFLIB::FiffInfoBase::nchan |
Number of channels.
Definition at line 222 of file fiff_info_base.h.