|
MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Go to the documentation of this file.
74 #include <QStringList>
195 return p_Node->dir_tree_find(p_kind);
236 return p_pStream->open();
255 const QStringList& include = defaultQStringList,
256 const QStringList& exclude = defaultQStringList)
278 const QStringList& include = defaultQStringList,
279 const QStringList& exclude = defaultQStringList)
319 const Eigen::RowVectorXi &sel = defaultVectorXi)
347 const QStringList& include = defaultQStringList,
348 const QStringList& exclude = defaultQStringList)
350 return info.
pick_types(meg, eeg, stim, include, exclude);
371 return p_pStream->read_bad_channels(p_Node);
392 const QList<FiffChInfo>& p_Chs)
394 return p_pStream->read_ctf_comp(p_Node, p_Chs);
422 QPair<float,float> baseline = defaultFloatPair,
426 return FiffEvoked::read(p_IODevice, data, setno, baseline, proj, p_aspect_kind);
463 return p_pStream->read_meas_info(p_Node, p_Info, p_NodeInfo);
485 return p_pStream->read_named_matrix(p_Node, matkind, mat);
505 return p_pStream->read_proj(p_Node);
528 Eigen::MatrixXd& data,
529 Eigen::MatrixXd& times,
530 fiff_int_t from = -1,
532 Eigen::MatrixXi sel = defaultMatrixXi)
557 Eigen::MatrixXd& data,
558 Eigen::MatrixXd& times,
559 Eigen::SparseMatrix<double>& mult,
560 fiff_int_t from = -1,
562 Eigen::MatrixXi sel = defaultMatrixXi)
586 return p_pStream->read_tag(p_pTag, pos);
607 return p_pStream->read_tag_info(p_pTag);
706 Eigen::RowVectorXd& cals,
707 Eigen::MatrixXi sel = defaultMatrixXi)
821 inline static void write_int(
FiffStream* p_pStream, fiff_int_t kind,
const fiff_int_t* data, fiff_int_t nel = 1)
static void finish_writing_raw(FiffStream *p_pStream)
FiffProj class declaration.
static QList< FiffDirNode::SPtr > dir_tree_find(const FiffDirNode::SPtr &p_Node, fiff_int_t p_kind)
FiffEvokedSet class declaration.
FiffNamedMatrix class declaration.
FIFF raw measurement data.
fiff_long_t end_block(fiff_int_t kind, fiff_int_t next=FIFFV_NEXT_SEQ)
fiff_long_t write_float_matrix(fiff_int_t kind, const Eigen::MatrixXf &mat)
fiff_long_t write_id(fiff_int_t kind, const FiffId &id=FiffId::getDefault())
static FiffStream::SPtr start_writing_raw(QIODevice &p_IODevice, const FiffInfo &info, Eigen::RowVectorXd &cals, Eigen::MatrixXi sel=defaultMatrixXi, bool bResetRange=true)
static Eigen::RowVectorXi pick_channels(QStringList &ch_names, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList)
static bool open(QIODevice &p_IODevice, FiffStream::SPtr &p_pStream)
static bool copy_tree(QSharedPointer< FiffStream > &p_pStreamIn, const FiffId &in_id, const QList< QSharedPointer< FiffDirNode > > &p_Nodes, QSharedPointer< FiffStream > &p_pStreamOut)
FiffCtfComp class declaration.
fiff_long_t write_string(fiff_int_t kind, const QString &data)
bool find_evoked(const FiffEvokedSet &p_FiffEvokedSet) const
static void write_int(FiffStream *p_pStream, fiff_int_t kind, const fiff_int_t *data, fiff_int_t nel=1)
FiffTag class declaration, which provides fiff tag I/O and processing methods.
QSharedPointer< FiffStream > SPtr
FIFF measurement file information.
static FiffInfo pick_info(const FiffInfo &info, const Eigen::RowVectorXi &sel=defaultVectorXi)
static void write_ch_info(FiffStream *p_pStream, const FiffChInfo &ch)
static bool read_named_matrix(FiffStream::SPtr &p_pStream, const FiffDirNode::SPtr &p_Node, fiff_int_t matkind, FiffNamedMatrix &mat)
static bool read_raw_segment(FiffRawData &raw, Eigen::MatrixXd &data, Eigen::MatrixXd ×, Eigen::SparseMatrix< double > &mult, fiff_int_t from=-1, fiff_int_t to=-1, Eigen::MatrixXi sel=defaultMatrixXi)
static bool read_tag(FiffStream::SPtr &p_pStream, FiffTag::SPtr &p_pTag, qint64 pos=-1)
static FiffId & getDefault()
QSharedPointer< FiffDirNode > SPtr
static QStringList split_name_list(QString p_sNameList)
The Fiff class provides static wrapper functions to stay consistent with mne matlab toolbox Note: avo...
static void write_float_matrix(FiffStream *p_pStream, fiff_int_t kind, Eigen::MatrixXf &mat)
bool read_raw_segment(Eigen::MatrixXd &data, Eigen::MatrixXd ×, fiff_int_t from=-1, fiff_int_t to=-1, const Eigen::RowVectorXi &sel=defaultRowVectorXi, bool do_debug=false) const
static void end_file(FiffStream *p_pStream)
static bool read(QIODevice &p_IODevice, FiffEvoked &p_FiffEvoked, QVariant setno=0, QPair< float, float > t_baseline=defaultFloatPair, bool proj=true, fiff_int_t p_aspect_kind=FIFFV_ASPECT_AVERAGE)
static bool copy_tree(FiffStream::SPtr p_pStreamIn, const FiffId &in_id, const QList< FiffDirNode::SPtr > &p_Nodes, FiffStream::SPtr &p_pStreamOut)
Eigen::RowVectorXi pick_types(const QString meg, bool eeg=false, bool stim=false, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) const
FiffStream class declaration.
static bool setup_read_raw(QIODevice &p_IODevice, FiffRawData &data, bool allow_maxshield=true, bool is_littleEndian=false)
Universially unique identifier.
static Eigen::RowVectorXi pick_channels(const QStringList &ch_names, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList)
static void write_named_matrix(FiffStream *p_pStream, fiff_int_t kind, FiffNamedMatrix &mat)
static bool read_raw_segment(FiffRawData &raw, Eigen::MatrixXd &data, Eigen::MatrixXd ×, fiff_int_t from=-1, fiff_int_t to=-1, Eigen::MatrixXi sel=defaultMatrixXi)
static bool read_evoked(QIODevice &p_IODevice, FiffEvoked &data, QVariant setno=0, QPair< float, float > baseline=defaultFloatPair, bool proj=true, fiff_int_t p_aspect_kind=FIFFV_ASPECT_AVERAGE)
FiffRawDir class declaration.
static void write_coord_trans(FiffStream *p_pStream, FiffCoordTrans &trans)
fiff_long_t write_ch_info(const FiffChInfo &ch)
FiffCoordTrans class declaration.
static void end_block(FiffStream *p_pStream, fiff_int_t kind)
fiff_long_t write_proj(const QList< FiffProj > &projs)
static bool read_meas_info(FiffStream::SPtr &p_pStream, const FiffDirNode::SPtr &p_Node, FiffInfo &p_Info, FiffDirNode::SPtr &p_NodeInfo)
static FiffStream::SPtr start_file(QIODevice &p_IODevice)
FiffInfo pick_info(const Eigen::RowVectorXi &sel=defaultVectorXi) const
static FiffStream::SPtr start_writing_raw(QIODevice &p_IODevice, const FiffInfo &info, Eigen::RowVectorXd &cals, Eigen::MatrixXi sel=defaultMatrixXi)
static QList< FiffCtfComp > read_ctf_comp(FiffStream::SPtr &p_pStream, const FiffDirNode::SPtr &p_Node, const QList< FiffChInfo > &p_Chs)
FiffDirNode class declaration, which provides fiff dir tree processing methods.
static bool read_evoked_set(QIODevice &p_IODevice, FiffEvokedSet &data)
static bool write_raw_buffer(FiffStream *p_pStream, const Eigen::MatrixXd &buf, const Eigen::MatrixXd &cals)
fiff_long_t write_name_list(fiff_int_t kind, const QStringList &data)
Digitization point description.
static QStringList split_name_list(QString p_sNameList)
#define FIFFSHARED_EXPORT
FiffDirEntry class declaration.
FiffInfo class declaration.
QSharedPointer< FiffTag > SPtr
Fiff library export/import macros.
fiff_long_t write_float(fiff_int_t kind, const float *data, fiff_int_t nel=1)
static void write_float(FiffStream *p_pStream, fiff_int_t kind, float *data, fiff_int_t nel=1)
static Eigen::RowVectorXi pick_types(FiffInfo &info, bool meg, bool eeg=false, bool stim=false, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList)
fiff_long_t write_coord_trans(const FiffCoordTrans &trans)
static bool setup_read_raw(QIODevice &p_IODevice, FiffRawData &data, bool allow_maxshield=false)
static void write_proj(FiffStream *p_pStream, QList< FiffProj > &projs)
fiff_long_t write_named_matrix(fiff_int_t kind, const FiffNamedMatrix &mat)
void finish_writing_raw()
static void write_name_list(FiffStream *p_pStream, fiff_int_t kind, QStringList &data)
FiffEvokedSet pick_channels(const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList) const
fiff_long_t write_dig_point(const FiffDigPoint &dig)
#define FIFFV_ASPECT_AVERAGE
Coordinate transformation description.
bool write_raw_buffer(const Eigen::MatrixXd &buf, const Eigen::RowVectorXd &cals)
Definitions for describing the objects in a FIFF file.
static void write_id(FiffStream *p_pStream, fiff_int_t kind, FiffId &id=FiffId::getDefault())
fiff_long_t write_ctf_comp(const QList< FiffCtfComp > &comps)
static QStringList read_bad_channels(FiffStream::SPtr &p_pStream, FiffDirNode::SPtr &p_Node)
fiff_long_t write_int(fiff_int_t kind, const fiff_int_t *data, fiff_int_t nel=1, fiff_int_t next=FIFFV_NEXT_SEQ)
fiff_long_t start_block(fiff_int_t kind)
static bool invert_transform(FiffCoordTrans &p_Transform)
FiffRawData class declaration.
static bool read(QIODevice &p_IODevice, FiffEvokedSet &p_FiffEvokedSet, QPair< float, float > baseline=defaultFloatPair, bool proj=true)
static FiffEvokedSet pick_channels(FiffEvokedSet &orig, const QStringList &include=defaultQStringList, const QStringList &exclude=defaultQStringList)
static QList< FiffProj > read_proj(FiffStream::SPtr &p_pStream, const FiffDirNode::SPtr &p_Node)
static void write_dig_point(FiffStream *p_pStream, FiffDigPoint &dig)
static void write_string(FiffStream *p_pStream, fiff_int_t kind, QString &data)
static bool find_evoked(FiffEvokedSet &orig)
static void write_ctf_comp(FiffStream *p_pStream, QList< FiffCtfComp > &comps)
static FiffStream::SPtr start_file(QIODevice &p_IODevice)
static bool read_tag_info(FiffStream::SPtr &p_pStream, FiffTag::SPtr &p_pTag)
static void start_block(FiffStream *p_pStream, fiff_int_t kind)