v2.0.0
Loading...
Searching...
No Matches
MNELIB::MNEEpochDataList Class Reference

Epoch data list. More...

#include <mne_epoch_data_list.h>

Public Types

typedef QSharedPointer< MNEEpochDataListSPtr
typedef QSharedPointer< const MNEEpochDataListConstSPtr

Public Member Functions

 MNEEpochDataList ()
 ~MNEEpochDataList ()
FIFFLIB::FiffEvoked average (const FIFFLIB::FiffInfo &p_info, FIFFLIB::fiff_int_t first, FIFFLIB::fiff_int_t last, Eigen::VectorXi sel=FIFFLIB::defaultVectorXi, bool proj=false)
void applyBaselineCorrection (const QPair< float, float > &baseline)
void dropRejected ()
void pick_channels (const Eigen::RowVectorXi &sel)

Static Public Member Functions

static MNEEpochDataList readEpochs (const FIFFLIB::FiffRawData &raw, const Eigen::MatrixXi &events, float tmin, float tmax, qint32 event, const QMap< QString, double > &mapReject, const QStringList &lExcludeChs=QStringList(), const Eigen::RowVectorXi &picks=Eigen::RowVectorXi())
static bool checkForArtifact (const Eigen::MatrixXd &data, const FIFFLIB::FiffInfo &pFiffInfo, const QMap< QString, double > &mapReject, const QStringList &lExcludeChs=QStringList())
static void checkChThreshold (ArtifactRejectionData &inputData)

Detailed Description

Epoch data list.

Epoch data list, which corresponds to a set of events

Definition at line 78 of file mne_epoch_data_list.h.

Inheritance diagram for MNELIB::MNEEpochDataList:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for MNEEpochDataList.

Definition at line 83 of file mne_epoch_data_list.h.

◆ SPtr

Shared pointer type for MNEEpochDataList.

Definition at line 82 of file mne_epoch_data_list.h.

Constructor & Destructor Documentation

◆ MNEEpochDataList()

MNEEpochDataList::MNEEpochDataList ( )

Default constructor.

Definition at line 67 of file mne_epoch_data_list.cpp.

◆ ~MNEEpochDataList()

MNEEpochDataList::~MNEEpochDataList ( )

Destroys the MNEEpochDataList.

Definition at line 73 of file mne_epoch_data_list.cpp.

Member Function Documentation

◆ applyBaselineCorrection()

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

Applies baseline correction to the evoked data.

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

Definition at line 240 of file mne_epoch_data_list.cpp.

◆ average()

FiffEvoked MNEEpochDataList::average ( const FIFFLIB::FiffInfo & p_info,
FIFFLIB::fiff_int_t first,
FIFFLIB::fiff_int_t last,
Eigen::VectorXi sel = FIFFLIB::defaultVectorXi,
bool proj = false )

Averages epoch list. Note that no baseline correction performed.

Parameters
[in]infomeasurement info.
[in]firstFirst time sample.
[in]lastLast time sample.
[in]selWhich epochs should be averaged (optional).
[in]projApply SSP projection vectors (optional, default = false).

Definition at line 179 of file mne_epoch_data_list.cpp.

◆ checkChThreshold()

void MNEEpochDataList::checkChThreshold ( ArtifactRejectionData & inputData)
static

Definition at line 360 of file mne_epoch_data_list.cpp.

◆ checkForArtifact()

bool MNEEpochDataList::checkForArtifact ( const Eigen::MatrixXd & data,
const FIFFLIB::FiffInfo & pFiffInfo,
const QMap< QString, double > & mapReject,
const QStringList & lExcludeChs = QStringList() )
static

Checks the givven matrix for artifacts beyond a threshold value.

Parameters
[in]dataThe data matrix.
[in]pFiffInfoThe fiff info.
[in]mapRejectThe channel data types to scan for. EEG, MEG or EOG.
[in]lExcludeChsList of channel names to exclude.
Returns
Whether a threshold artifact was detected.

Definition at line 273 of file mne_epoch_data_list.cpp.

◆ dropRejected()

void MNEEpochDataList::dropRejected ( )

Drop/Remove all epochs tagged as rejected

Definition at line 251 of file mne_epoch_data_list.cpp.

◆ pick_channels()

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

Reduces alld epochs to the selected rows.

Parameters
[in]selThe selected rows to keep.

Definition at line 263 of file mne_epoch_data_list.cpp.

◆ readEpochs()

MNEEpochDataList MNEEpochDataList::readEpochs ( const FIFFLIB::FiffRawData & raw,
const Eigen::MatrixXi & events,
float tmin,
float tmax,
qint32 event,
const QMap< QString, double > & mapReject,
const QStringList & lExcludeChs = QStringList(),
const Eigen::RowVectorXi & picks = Eigen::RowVectorXi() )
static

Read the epochs from a raw file based on provided events.

Parameters
[in]rawThe raw data.
[in]eventsThe events provided in samples and event kind.
[in]tminThe start time relative to the event in seconds.
[in]tmaxThe end time relative to the event in seconds.
[in]eventThe event kind.
[in]lExcludeChsList of channel names to exclude.
[in]picksWhich channels to pick.

Definition at line 84 of file mne_epoch_data_list.cpp.


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