v2.0.0
Loading...
Searching...
No Matches
MNELIB Namespace Reference

Core MNE data structures (source spaces, source estimates, hemispheres). More...

Classes

class  FilterThreadArg
 Thread-local arguments for parallel raw data filtering (channel range, filter kernel, buffer). More...
class  MNE
 The MNE class provides wrapper functions to stay consistent with mne matlab toolbox. More...
class  MNEBem
 BEM descritpion. More...
class  MNEBemSurface
 BEM surface provides geometry information. More...
class  MNEChSelection
class  MNEClusterInfo
 cluster information More...
class  MNECovMatrix
 Covariance matrix storage. More...
class  MNECTFCompData
 Represents a single CTF compensation data element. More...
class  MNECTFCompDataSet
 Collection of CTF third-order gradient compensation operators. More...
class  MNEDeriv
 One item in a derivation data set. More...
class  MNEDerivSet
 Collection of MNEDeriv channel derivation definitions loaded from a file. More...
class  MNEDescriptionParser
class  MNEEpochData
 epoch data More...
struct  ArtifactRejectionData
 Artifact rejection thresholds and flags for each channel type (grad, mag, eeg, eog) used during epoch dropping. More...
class  MNEEpochDataList
 Epoch data list. More...
class  MNEEvent
 Single trigger-event marker. More...
class  MNEEventList
 Ordered list of trigger-event markers. More...
class  MNEFilterDef
struct  RegionDataOut
 Output of a cluster-based forward solution computation for a single cortical region. More...
struct  RegionData
 Input parameters for cluster-based forward solution computation on a single cortical region. More...
class  MNEForwardSolution
 Forward operator. More...
class  MNEHemisphere
 Hemisphere provides geometry information. More...
struct  RegionMTOut
 Output of a multi-threaded KMeans clustering step for a single cortical region. More...
struct  RegionMT
 Input parameters for multi-threaded KMeans clustering on a single cortical region. More...
class  MNEInverseOperator
 MNE-style inverse operator. More...
class  MNELayout
 Full plotter layout with viewports. More...
class  MNELayoutPort
 Single viewport in a plotter layout. More...
class  MNEMeasData
 Measurement data container for MNE inverse and dipole-fit computations. More...
class  MNEMeasDataSet
 Single measurement epoch or average within MNEMeasData. More...
class  MNEMghTag
 Single tag entry in a FreeSurfer MGH/MGZ file header. More...
class  MNEMghTagGroup
 Collection of MNEMghTag entries from a FreeSurfer MGH/MGZ file footer. More...
class  MNEMneData
 Data associated with MNE computations for each mneMeasDataSet. More...
class  MNEMorphMap
 Vertex-to-vertex mapping between two FreeSurfer surface meshes for morphing source estimates. More...
class  MNEMshColorScaleDef
 Color scale definition with value range and color mapping for surface visualization. More...
class  MNEMshDisplaySurface
 The MNE Msh Display FsSurface class holds information about a surface to be rendered. More...
class  MNEMshDisplaySurfaceSet
 The MNE Msh Display FsSurface Set class holds information about a set of surfaces to be rendered. More...
class  MNEMshEyes
 Eye/camera position and gaze direction for 3-D surface rendering. More...
class  MNEMshLight
 Single light source with position, color, and state for 3-D surface rendering. More...
class  MNEMshLightSet
 Collection of lights defining the lighting setup for 3-D rendering. More...
class  MNEMshPicked
 Picked point on a displayed surface storing vertex index, coordinates, and source value. More...
class  MNENamedMatrix
 A dense matrix with named rows and columns. More...
class  MNENamedVector
class  MNENearest
 This is used in the patch definitions. More...
class  MNEPatchInfo
 Patch information for a single source space point including vertex members and area. More...
struct  CovDefinition
struct  CovDescription
struct  FilterSettings
struct  ProcessingSettings
class  MNEProjData
 Auxiliary projection data computed from MNEProjOp for efficient repeated application. More...
class  MNEProjItem
 A single SSP (Signal-Space Projection) item. More...
class  MNEProjOp
 Projection operator managing a set of linear projection items and the final compiled projector matrix. More...
class  MNEProjectToSurface
 Projects 3-D points onto a triangulated surface mesh and returns nearest vertices and distances. More...
class  MNERawBufDef
 Definition of one raw data buffer within a FIFF file. More...
struct  RingBuffer
 Circular ring buffer for managing raw-data matrix allocations. More...
struct  FilterData
 Pre-computed frequency-domain filter state used for FFT-based raw data filtering. More...
class  MNERawData
 A comprehensive raw data structure. More...
class  MNERawInfo
 Information about raw data in a FIFF file. More...
class  MNESourceSpace
 This defines a source space. More...
class  MNESourceSpaces
 Source Space descritpion. More...
class  MNESparseNamedMatrix
struct  frameNameRec_1
 Lookup record mapping a FIFF coordinate frame integer code to its human-readable name. More...
class  MNESssData
 Container for Signal Space Separation (SSS/Maxwell filtering) expansion coefficients and metadata. More...
class  MNESurface
 This defines a surface. More...
class  MNESurfaceOrVolume
 Defines a source space or a surface. More...
class  MNESurfacePatch
 Cortical surface patch linking a set of vertices to a single source space point. More...
class  MNETriangle
 Per-triangle geometric data for a cortical or BEM surface. More...
class  MNEVolGeom
 MRI data volume geometry information like FreeSurfer keeps it. More...
struct  RejectionParams
struct  AverageCategory
struct  AverageDescription

Typedefs

typedef MNEChSelection mneChSelectionRec
typedef MNEChSelectionmneChSelection
typedef MNELayoutPort mneLayoutPortRec
typedef MNELayoutPortmneLayoutPort
typedef void(* mneUserFreeFunc) (void *)
 Generic destructor callback for user-attached data.

Functions

bool operator== (const MNEClusterInfo &a, const MNEClusterInfo &b)
std::ostream & operator<< (std::ostream &out, const MNELIB::MNEForwardSolution &p_MNEForwardSolution)
bool operator== (const MNEForwardSolution &a, const MNEForwardSolution &b)
const char * buildDateTime ()
const char * buildHash ()
const char * buildHashLong ()
bool operator== (const MNEHemisphere &a, const MNEHemisphere &b)
bool performIcp (const QSharedPointer< MNELIB::MNEProjectToSurface > mneSurfacePoints, const Eigen::MatrixXf &matPointCloud, FIFFLIB::FiffCoordTrans &transFromTo, float &fRMSE, bool bScale=false, int iMaxIter=20, float fTol=0.001, const Eigen::VectorXf &vecWeights=vecDefaultWeights)
bool fitMatchedPoints (const Eigen::MatrixXf &matSrcPoint, const Eigen::MatrixXf &matDstPoint, Eigen::Matrix4f &matTrans, float fScale=1.0, bool bScale=false, const Eigen::VectorXf &vecWeights=vecDefaultWeights)
bool discard3DPointOutliers (const QSharedPointer< MNELIB::MNEProjectToSurface > mneSurfacePoints, const Eigen::MatrixXf &matPointCloud, const FIFFLIB::FiffCoordTrans &transFromTo, Eigen::VectorXi &vecTake, Eigen::MatrixXf &matTakePoint, float fMaxDist=0.0)
std::ostream & operator<< (std::ostream &out, const MNEInverseOperator &inv)
bool operator== (const MNESourceSpaces &a, const MNESourceSpaces &b)

Variables

const Eigen::VectorXf vecDefaultWeights

Detailed Description

Core MNE data structures (source spaces, source estimates, hemispheres).

Typedef Documentation

◆ mneChSelection

Definition at line 46 of file mne_ch_selection.h.

◆ mneChSelectionRec

Backward-compatible typedef aliases.

Definition at line 45 of file mne_ch_selection.h.

◆ mneLayoutPort

Definition at line 44 of file mne_layout_port.h.

◆ mneLayoutPortRec

Backward-compatible typedef aliases.

Definition at line 43 of file mne_layout_port.h.

◆ mneUserFreeFunc

typedef void(* MNELIB::mneUserFreeFunc) (void *)

Generic destructor callback for user-attached data.

Several legacy structures carry a void* user_data slot together with a matching mneUserFreeFunc that is called when the owning object is destroyed.

Definition at line 91 of file mne_types.h.

Function Documentation

◆ buildDateTime()

const char * MNELIB::buildDateTime ( )

Returns build date and time.

Definition at line 46 of file mne_global.cpp.

◆ buildHash()

const char * MNELIB::buildHash ( )

Returns abbreviated build git hash.

Definition at line 50 of file mne_global.cpp.

◆ buildHashLong()

const char * MNELIB::buildHashLong ( )

Returns full build git hash.

Definition at line 54 of file mne_global.cpp.

◆ discard3DPointOutliers()

bool MNELIB::discard3DPointOutliers ( const QSharedPointer< MNELIB::MNEProjectToSurface > mneSurfacePoints,
const Eigen::MatrixXf & matPointCloud,
const FIFFLIB::FiffCoordTrans & transFromTo,
Eigen::VectorXi & vecTake,
Eigen::MatrixXf & matTakePoint,
float fMaxDist = 0.0 )

Discard outliers compared to a given 3D surface.

Parameters
[in]mneSurfacePointsThe MNEProjectToSurface object that contains the surface triangles etc. (To).
[in]matPointCloudThe point cloud to be registered (From).
[in,out]transFromToThe forward transformation matrix.
[in]vecTakeThe index of taken digitizers.
[in]matTakePointThe digitizer points to take.
[in]fMaxDistThe maximum distance to the surface in mm, defaults to 0 mm.
Returns
Whether the discarding was successful.

◆ fitMatchedPoints()

bool MNELIB::fitMatchedPoints ( const Eigen::MatrixXf & matSrcPoint,
const Eigen::MatrixXf & matDstPoint,
Eigen::Matrix4f & matTrans,
float fScale = 1.0,
bool bScale = false,
const Eigen::VectorXf & vecWeights = vecDefaultWeights )

Corresponding point set registration using quaternions.

Parameters
[in]matSrcPointThe source point set.
[in]matDstPointThe destination point set.
[in,out]matTransThe forward transformation matrix.
[in,out]fScaleThe scaling parameter, defaults to 1.0.
[in]bScaleWhether to apply scaling or not. Should be false for matching data sets, defaults to false.
[in]vecWeightsThe weights to apply, defaults to zeros.
Returns
Whether the matching was successful.

◆ operator<<() [1/2]

std::ostream & MNELIB::operator<< ( std::ostream & out,
const MNEInverseOperator & inv )
inline
Parameters
[in]outOutput stream.
[in]invInverse operator to print.
Returns
The output stream.

Definition at line 403 of file mne_inverse_operator.h.

◆ operator<<() [2/2]

std::ostream & MNELIB::operator<< ( std::ostream & out,
const MNELIB::MNEForwardSolution & p_MNEForwardSolution )
inline

overloading the stream out operator<<

Parameters
[in]outThe stream to which the MNE forward solution should be assigned to.
[in]p_MNEForwardSolutionMNE forward solution which should be assigned to the stream.
Returns
the stream with the attached fiff projector.

Definition at line 551 of file mne_forward_solution.h.

◆ operator==() [1/4]

bool MNELIB::operator== ( const MNEClusterInfo & a,
const MNEClusterInfo & b )
inline

Overloaded == operator to compare an object to this instance.

Parameters
[in]objectThe object which should be compared to.
Returns
true if equal, false otherwise.

Definition at line 151 of file mne_cluster_info.h.

◆ operator==() [2/4]

bool MNELIB::operator== ( const MNEForwardSolution & a,
const MNEForwardSolution & b )
inline

Overloaded == operator to compare an object to this instance.

Parameters
[in]objectThe object which should be compared to.
Returns
true if equal, false otherwise.

Definition at line 567 of file mne_forward_solution.h.

◆ operator==() [3/4]

bool MNELIB::operator== ( const MNEHemisphere & a,
const MNEHemisphere & b )
inline

Overloaded == operator to compare an object to this instance.

Parameters
[in]objectThe object which should be compared to.
Returns
true if equal, false otherwise.

Definition at line 257 of file mne_hemisphere.h.

◆ operator==() [4/4]

bool MNELIB::operator== ( const MNESourceSpaces & a,
const MNESourceSpaces & b )
inline

Overloaded == operator to compare an object to this instance.

Parameters
[in]objectThe object which should be compared to.
Returns
true if equal, false otherwise.

Definition at line 389 of file mne_source_spaces.h.

◆ performIcp()

bool MNELIB::performIcp ( const QSharedPointer< MNELIB::MNEProjectToSurface > mneSurfacePoints,
const Eigen::MatrixXf & matPointCloud,
FIFFLIB::FiffCoordTrans & transFromTo,
float & fRMSE,
bool bScale = false,
int iMaxIter = 20,
float fTol = 0.001,
const Eigen::VectorXf & vecWeights = vecDefaultWeights )

The ICP algorithm to register a point cloud with a surface.

Parameters
[in]mneSurfacePointsThe MNEProjectToSurface object that contains the surface triangles etc. (To).
[in]matPointCloudThe point cloud to be registered (From).
[in,out]transFromToThe forward transformation matrix. It can contain an initial transformation (e.g. from fiducial alignment).
[in,out]fRMSEThe resulting Root-Mean-Square-Error in m.
[in]bScaleWhether to apply scaling or not. Should be false for matching data sets, defaults to false.
[in]iMaxIterThe maximum number of iterations for the ICP algorithm, defaults to 20.
[in]fTolThe convergence tolerance, defaults to 0.001.
[in]vecWeightsThe weights to apply, defaults to zeros.
Returns
Whether the registration was successful.

Variable Documentation

◆ vecDefaultWeights

const Eigen::VectorXf MNELIB::vecDefaultWeights

Definition at line 76 of file mne_icp.h.