103 inline static Eigen::VectorXd
combine_xyz(
const Eigen::VectorXd& vec)
165 static inline Eigen::SparseMatrix<double>
make_block_diag(
const Eigen::MatrixXd& A, qint32 n)
192 bool exclude_comp_chs =
false)
218 const QStringList& ch_names,
219 Eigen::MatrixXd& proj,
220 const QStringList& bads = FIFFLIB::defaultQStringList,
221 Eigen::MatrixXd& U = FIFFLIB::defaultMatrixXd)
246 Eigen::MatrixXd& proj)
269 const QString& t_fileRawName,
270 Eigen::MatrixXi& events)
275 events = fiffEvents.
events;
291 Eigen::MatrixXi& eventlist)
296 eventlist = fiffEvents.
events;
312 Eigen::MatrixXi& eventlist)
317 eventlist = fiffEvents.
events;
333 const Eigen::MatrixXi& eventlist)
336 fiffEvents.
events = eventlist;
353 const Eigen::MatrixXi& eventlist,
357 fiffEvents.
events = eventlist;
385 const Eigen::MatrixXi& events,
386 const QList<int>& eventCodes,
391 bool doBaseline =
false,
392 bool removeMean =
true)
419 const Eigen::MatrixXi& events,
426 const QMap<QString, double>& mapReject = QMap<QString, double>())
452 QIODevice& p_IODevice,
453 const Eigen::RowVectorXi& picks = Eigen::RowVectorXi(),
458 return raw.
save(p_IODevice, picks, decim, from, to);
487 return p_pStream->read_cov(p_Node,
Symbolic FIFF tag, block, value, unit and channel-type constants shared across FIFFLIB.
Set of averaged evoked responses sharing a FiffInfo, plus the ave-style category / rejection descript...
Stim-channel event list (sample, previous value, new value triples) with FIFF read/write helpers.
SSP projection item: a named projection vector set with active/desired flags, parsed from FIFFB_PROJ_...
FIFF continuous raw recording: FiffInfo plus a directory of FIFF_DATA_BUFFER tags for random-access s...
Noise / data covariance matrix as stored under FIFFB_MNE_COV, with channel names, kind,...
Static linear-algebra helpers: SVD-based conditioning, block-diagonal assembly, sorted index pairs.
Single closed BEM surface (triangulation, normals, conductivity).
Per-hemisphere cortical surface bundle with decimation, patch info and rendering buffers.
Boundary element model bundle (inner skull, outer skull, outer skin) loaded from -bem....
MNELIB shared-library export/import macros and library build metadata.
Ordered list of MNELIB::MNEEpochData objects sharing a common FIFFLIB::FiffInfo.
Container pairing the left and right cortical source spaces of a subject.
Core MNE data structures (source spaces, source estimates, hemispheres).
Labelled 4x4 FIFF affine: source frame, destination frame, rotation, translation and cached inverse.
FIFF noise / data covariance: matrix, channel names, kind, applied projectors, bads,...
static FiffCov compute_from_epochs(const FiffRawData &raw, const Eigen::MatrixXi &events, const QList< int > &eventCodes, float tmin, float tmax, float bmin=0.0f, float bmax=0.0f, bool doBaseline=false, bool removeMean=true, unsigned int ignoreMask=0, float delay=0.0f, const RejectionParams *rej=nullptr)
One CTF software-gradient compensation matrix: grade kind, calibration flag and the gradiometer × ref...
QSharedPointer< FiffDirNode > SPtr
FIFF event list: (sample, prev, new) integer triples with read / write / detect / filter helpers.
bool write_to_ascii(QIODevice &p_IODevice, float sfreq=0.0f) const
static bool read(const QString &t_sEventName, const QString &t_fileRawName, FiffEvents &p_Events)
static bool read_from_fif(QIODevice &p_IODevice, FiffEvents &p_Events)
bool write_to_fif(QIODevice &p_IODevice) const
static bool read_from_ascii(QIODevice &p_IODevice, FiffEvents &p_Events)
Full FIFF measurement info: per-channel descriptors, sampling and filter setup, projectors,...
void set_current_comp(fiff_int_t value)
qint32 make_projector(Eigen::MatrixXd &proj) const
qint32 get_current_comp()
bool make_compensator(fiff_int_t from, fiff_int_t to, FiffCtfComp &ctf_comp, bool exclude_comp_chs=false) const
FIFF named matrix: dense / sparse Eigen matrix plus row-name and column-name string lists.
void transpose_named_matrix()
static QList< FiffProj > compute_from_raw(const FiffRawData &raw, const Eigen::MatrixXi &events, int eventCode, float tmin, float tmax, int nGrad, int nMag, int nEeg, const QMap< QString, double > &mapReject=QMap< QString, double >())
static fiff_int_t make_projector(const QList< FiffProj > &projs, const QStringList &ch_names, Eigen::MatrixXd &proj, const QStringList &bads=defaultQStringList, Eigen::MatrixXd &U=defaultMatrixXd)
Continuous FIFF raw recording: FiffInfo plus a random-access directory of FIFF_DATA_BUFFER tags.
bool save(QIODevice &p_IODevice, const Eigen::RowVectorXi &picks=Eigen::RowVectorXi(), int decim=1, int from=-1, int to=-1) const
QSharedPointer< FiffStream > SPtr
static Eigen::VectorXd combine_xyz(const Eigen::VectorXd &vec)
static Eigen::SparseMatrix< double > make_block_diag(const Eigen::MatrixXd &A, qint32 n)
The MNE class provides wrapper functions to stay consistent with mne matlab toolbox.
static bool write_events_to_fif(QIODevice &p_IODevice, const Eigen::MatrixXi &eventlist)
static qint32 make_projector(FIFFLIB::FiffInfo &info, Eigen::MatrixXd &proj)
static qint32 get_current_comp(FIFFLIB::FiffInfo *info)
static bool read_events_from_ascii(QIODevice &p_IODevice, Eigen::MatrixXi &eventlist)
static bool make_compensator(const FIFFLIB::FiffInfo &info, FIFFLIB::fiff_int_t from, FIFFLIB::fiff_int_t to, FIFFLIB::FiffCtfComp &ctf_comp, bool exclude_comp_chs=false)
static FIFFLIB::fiff_int_t make_projector(const QList< FIFFLIB::FiffProj > &projs, const QStringList &ch_names, Eigen::MatrixXd &proj, const QStringList &bads=FIFFLIB::defaultQStringList, Eigen::MatrixXd &U=FIFFLIB::defaultMatrixXd)
static QList< FIFFLIB::FiffChInfo > set_current_comp(QList< FIFFLIB::FiffChInfo > &chs, FIFFLIB::fiff_int_t value)
static bool save_raw(const FIFFLIB::FiffRawData &raw, QIODevice &p_IODevice, const Eigen::RowVectorXi &picks=Eigen::RowVectorXi(), int decim=1, int from=-1, int to=-1)
static bool transform_source_space_to(MNESourceSpaces &p_pMNESourceSpaces, FIFFLIB::fiff_int_t dest, FIFFLIB::FiffCoordTrans &trans)
static void transpose_named_matrix(FIFFLIB::FiffNamedMatrix &mat)
static bool patch_info(MNEHemisphere &p_Hemisphere)
static bool read_source_spaces(FIFFLIB::FiffStream::SPtr &p_pStream, bool add_geom, MNESourceSpaces &p_SourceSpace)
static bool write_events_to_ascii(QIODevice &p_IODevice, const Eigen::MatrixXi &eventlist, float sfreq=0.0f)
static Eigen::VectorXd combine_xyz(const Eigen::VectorXd &vec)
static bool read_cov(FIFFLIB::FiffStream::SPtr &p_pStream, const FIFFLIB::FiffDirNode::SPtr &p_Node, FIFFLIB::fiff_int_t cov_kind, FIFFLIB::FiffCov &p_covData)
static qint32 find_source_space_hemi(MNEHemisphere &p_Hemisphere)
static bool read_events(const QString &t_sEventName, const QString &t_fileRawName, Eigen::MatrixXi &events)
static bool read_events_from_fif(QIODevice &p_IODevice, Eigen::MatrixXi &eventlist)
static FIFFLIB::FiffCov compute_epoch_covariance(const FIFFLIB::FiffRawData &raw, const Eigen::MatrixXi &events, const QList< int > &eventCodes, float tmin, float tmax, float bmin=0.0f, float bmax=0.0f, bool doBaseline=false, bool removeMean=true)
static QList< FIFFLIB::FiffProj > compute_proj(const FIFFLIB::FiffRawData &raw, const Eigen::MatrixXi &events, int eventCode, float tmin, float tmax, int nGrad, int nMag, int nEeg, const QMap< QString, double > &mapReject=QMap< QString, double >())
static Eigen::SparseMatrix< double > make_block_diag(const Eigen::MatrixXd &A, qint32 n)
Hemisphere provides geometry information.
bool compute_patch_info()
qint32 find_source_space_hemi() const
List of MNESourceSpace objects forming a subject source space.
bool transform_source_space_to(FIFFLIB::fiff_int_t dest, FIFFLIB::FiffCoordTrans &trans)
static bool readFromStream(FIFFLIB::FiffStream::SPtr &p_pStream, bool add_geom, MNESourceSpaces &p_SourceSpace)