MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
MNELIB::MNEEpochData Class Reference

epoch data More...

#include <mne_epoch_data.h>

Public Types

typedef QSharedPointer< MNEEpochDataSPtr
typedef QSharedPointer< const MNEEpochDataConstSPtr

Public Member Functions

 MNEEpochData ()
 MNEEpochData (const MNEEpochData &p_MNEEpochData)
 ~MNEEpochData ()
void applyBaselineCorrection (const QPair< float, float > &baseline)
void pick_channels (const Eigen::RowVectorXi &sel)

Public Attributes

Eigen::MatrixXd epoch
FIFFLIB::fiff_int_t event
float tmin
float tmax
bool bReject


bool operator== (const MNEEpochData &a, const MNEEpochData &b)

Detailed Description

epoch data

Epoch data, which corresponds to an event

Definition at line 73 of file mne_epoch_data.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const MNEEpochData> MNELIB::MNEEpochData::ConstSPtr

Const shared pointer type for MNEEpochData.

Definition at line 78 of file mne_epoch_data.h.

◆ SPtr

typedef QSharedPointer<MNEEpochData> MNELIB::MNEEpochData::SPtr

Shared pointer type for MNEEpochData.

Definition at line 77 of file mne_epoch_data.h.

Constructor & Destructor Documentation

◆ MNEEpochData() [1/2]

MNEEpochData::MNEEpochData ( )

Default constructor.

Definition at line 57 of file mne_epoch_data.cpp.

◆ MNEEpochData() [2/2]

MNEEpochData::MNEEpochData ( const MNEEpochData p_MNEEpochData)

Copy constructor.

[in]p_MNEEpochDataMNE epoch data.

Definition at line 67 of file mne_epoch_data.cpp.

◆ ~MNEEpochData()

MNEEpochData::~MNEEpochData ( )

Destroys the MNE epoch data.

Definition at line 78 of file mne_epoch_data.cpp.

Member Function Documentation

◆ applyBaselineCorrection()

void MNEEpochData::applyBaselineCorrection ( const QPair< float, float > &  baseline)

Applies baseline (mode=mean) correction to the evoked data.

[in]baselinetime definition of the baseline in seconds [from, to].

Definition at line 84 of file mne_epoch_data.cpp.

◆ pick_channels()

void MNEEpochData::pick_channels ( const Eigen::RowVectorXi &  sel)

Reduces the data to the selected rows.

[in]selThe selected rows to keep.

Definition at line 93 of file mne_epoch_data.cpp.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const MNEEpochData a,
const MNEEpochData b 

Comparison of two Epoch data

[in]bEpoch data to compare with.
true if equal; false otherwise.

Definition at line 124 of file mne_epoch_data.h.

Member Data Documentation

◆ bReject

bool MNELIB::MNEEpochData::bReject

Whether this epoch is to be rejected.

Definition at line 138 of file mne_epoch_data.h.

◆ epoch

Eigen::MatrixXd MNELIB::MNEEpochData::epoch

The data.

Definition at line 134 of file mne_epoch_data.h.

◆ event

FIFFLIB::fiff_int_t MNELIB::MNEEpochData::event

The event code.

Definition at line 135 of file mne_epoch_data.h.

◆ tmax

float MNELIB::MNEEpochData::tmax

New end time of the data (cannot exceed data duration).

Definition at line 137 of file mne_epoch_data.h.

◆ tmin

float MNELIB::MNEEpochData::tmin

New start time (must be >= 0).

Definition at line 136 of file mne_epoch_data.h.

The documentation for this class was generated from the following files: