#include <rawmodel.h>
|
| RawModel (QObject *parent) |
|
| RawModel (QFile &qFile, QObject *parent) |
|
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
|
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
|
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
bool | loadFiffData (QFile *qFile) |
|
bool | writeFiffData (QIODevice *p_IODevice) |
|
qint32 | sizeOfFiffData () |
|
qint32 | firstSample () const |
|
qint32 | lastSample () const |
|
qint32 | sizeOfPreloadedData () const |
|
qint32 | relFiffCursor () const |
|
qint32 | absFiffCursor () const |
|
DECLARE CLASS RawModel
Definition at line 144 of file rawmodel.h.
qint32 MNEBrowseRawQt::RawModel::absFiffCursor |
( |
| ) |
const |
|
inline |
absFiffCursor (introduced for consistency reasons)
- Returns
- the absolute cursor in the fiff file
Definition at line 547 of file rawmodel.h.
void RawModel::applyOperator |
( |
QModelIndexList |
chlist, |
|
|
const QSharedPointer< MNEOperator > & |
operatorPtr, |
|
|
const QString & |
chType |
|
) |
| |
|
slot |
applyOperator applies assigend operators to channel which include a scpefic string in their channel names
- Parameters
-
chlist | selects the channels to process |
operatorPtr | |
chType | the string which need to be included in the channels name to get filtered |
Definition at line 681 of file rawmodel.cpp.
void RawModel::applyOperator |
( |
QModelIndexList |
chlist, |
|
|
const QSharedPointer< MNEOperator > & |
operatorPtr |
|
) |
| |
|
slot |
applyOperator applies operators to channels
- Parameters
-
chlist | selects the channels to process |
filter | |
Definition at line 721 of file rawmodel.cpp.
void RawModel::applyOperatorsConcurrently |
( |
QPair< int, RowVectorXd > & |
chdata | ) |
const |
|
slot |
applyOperatorsConcurrently updates all applied MNEOperators to a given RowVectorXd and modifies it in-place
- Parameters
-
chdata[in,out] | represents the channel data as a RowVectorXd |
Definition at line 759 of file rawmodel.cpp.
void MNEBrowseRawQt::RawModel::assignedOperatorsChanged |
( |
const QMap< int, QSharedPointer< MNEOperator > > & |
| ) |
|
|
signal |
fileLoaded is emitted whenever a file was to be loaded
- Parameters
-
the | currentl assigned operators |
void MNEBrowseRawQt::RawModel::dataReloaded |
( |
| ) |
|
|
signal |
dataReloaded is emitted when data reloading has finished in the background-thread
void MNEBrowseRawQt::RawModel::fileLoaded |
( |
const FiffInfo & |
| ) |
|
|
signal |
fileLoaded is emitted whenever a file was to be loaded
- Parameters
-
FiffInfo | the current loaded fiffinfo |
qint32 MNEBrowseRawQt::RawModel::firstSample |
( |
| ) |
const |
|
inline |
firstSample
- Returns
- the first sample of the loaded Fiff file
Definition at line 512 of file rawmodel.h.
qint32 MNEBrowseRawQt::RawModel::lastSample |
( |
| ) |
const |
|
inline |
lastSample
- Returns
- the last sample of the loaded Fiff file
Definition at line 521 of file rawmodel.h.
bool RawModel::loadFiffData |
( |
QFile * |
qFile | ) |
|
loadFiffData loads fiff data file.
- Parameters
-
p_IODevice | fiff data file to write |
Definition at line 362 of file rawmodel.cpp.
void RawModel::markChBad |
( |
QModelIndexList |
chlist, |
|
|
bool |
status |
|
) |
| |
|
slot |
markChBad marks the selected channels as bad/good in m_chInfolist
- Parameters
-
chlist | is the list of indices that are selected for marking |
status,status=1 | -> mark as bad, status=0 -> mark as good |
Definition at line 656 of file rawmodel.cpp.
qint32 MNEBrowseRawQt::RawModel::relFiffCursor |
( |
| ) |
const |
|
inline |
relFiffCursor
- Returns
- the relative cursor in the fiff file
Definition at line 540 of file rawmodel.h.
int RawModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
Reimplemented virtual functions
Definition at line 152 of file rawmodel.cpp.
qint32 MNEBrowseRawQt::RawModel::sizeOfFiffData |
( |
| ) |
|
|
inline |
sizeOfFiffData
- Returns
- the size of the total data contained in the loaded Fiff file
Definition at line 503 of file rawmodel.h.
qint32 MNEBrowseRawQt::RawModel::sizeOfPreloadedData |
( |
| ) |
const |
|
inline |
sizeOfPreloadedData
- Returns
- size of loaded m_data
Definition at line 530 of file rawmodel.h.
void RawModel::undoFilter |
( |
QModelIndexList |
chlist, |
|
|
const QSharedPointer< MNEOperator > & |
filterPtr |
|
) |
| |
|
slot |
undoFilter undoes the filtering operation for filter operations of the type
- Parameters
-
chlist | selects the channels to filter |
type | determines the filter type TPassType to choose for the undo operation |
Definition at line 844 of file rawmodel.cpp.
void RawModel::undoFilter |
( |
QModelIndexList |
chlist | ) |
|
|
slot |
undoFilter undoes the filtering operation for all filter operations
- Parameters
-
chlist | selects the channels to filter |
Definition at line 872 of file rawmodel.cpp.
void RawModel::undoFilter |
( |
const QString & |
chType | ) |
|
|
slot |
undoFilter undoes the filtering operation for all filter operations for channel which include chType in their channel name
- Parameters
-
chType | channel names which include this paramter in their channel name get undone |
Definition at line 885 of file rawmodel.cpp.
void RawModel::undoFilter |
( |
| ) |
|
|
slot |
undoFilter undoes the filtering operation for all filter operations for all channels
Definition at line 902 of file rawmodel.cpp.
void RawModel::updateOperators |
( |
QModelIndex |
chan | ) |
|
|
slot |
updateOperators updates all set operator to channels according to m_assignedOperators
- Parameters
-
chan | the channel to which the operators shall be updated |
Definition at line 784 of file rawmodel.cpp.
void RawModel::updateOperators |
( |
QModelIndexList |
chlist | ) |
|
|
slot |
updateOperators is an overloaded function to update the operators to a channel list
- Parameters
-
Definition at line 808 of file rawmodel.cpp.
void RawModel::updateOperators |
( |
| ) |
|
|
slot |
updateOperators is an overloaded function that updates all channels according to m_assignedOperators
Definition at line 836 of file rawmodel.cpp.
void RawModel::updateScrollPos |
( |
int |
value | ) |
|
|
slot |
updateScrollPos checks, whether the actual position of the QScrollBar demands for a fiff data reload (depending on m_reloadPos and m_iCurAbsScrollPos)
- Parameters
-
value | the position of QScrollBar |
Definition at line 628 of file rawmodel.cpp.
bool RawModel::writeFiffData |
( |
QIODevice * |
p_IODevice | ) |
|
writeFiffData writes a new fiff data file
- Parameters
-
p_IODevice | fiff data file to write |
- Returns
Definition at line 411 of file rawmodel.cpp.
bool MNEBrowseRawQt::RawModel::m_bFileloaded |
true when a Fiff file is loaded
Definition at line 179 of file rawmodel.h.
QList<FiffChInfo> MNEBrowseRawQt::RawModel::m_chInfolist |
List of FiffChInfo objects that holds the corresponding channels information
Definition at line 180 of file rawmodel.h.
FiffInfo MNEBrowseRawQt::RawModel::m_fiffInfo |
fiff info of whole fiff file
Definition at line 181 of file rawmodel.h.
QMap<QString,QSharedPointer<MNEOperator> > MNEBrowseRawQt::RawModel::m_Operators |
QSharedPointer<FiffIO> MNEBrowseRawQt::RawModel::m_pfiffIO |
FiffIO objects, which holds all the information of the fiff data (excluding the samples!)
Definition at line 182 of file rawmodel.h.
The documentation for this class was generated from the following files:
- D:/Users/Christoph/GitHub/mne-cpp/applications/mne_browse_raw_qt/Models/rawmodel.h
- D:/Users/Christoph/GitHub/mne-cpp/applications/mne_browse_raw_qt/Models/rawmodel.cpp