v2.0.0
Loading...
Searching...
No Matches
network.h File Reference

Graph container that stores the result of one functional-connectivity metric as nodes (sources/sensors) and weighted edges (channel-pair couplings). More...

#include "../connectivity_global.h"
#include <QSharedPointer>
#include <QList>
#include <Eigen/Core>
Include dependency graph for network.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CONNECTIVITYLIB::VisualizationInfo
 Per-network rendering hints: colour-map name or fixed RGBA for nodes and edges. More...
class  CONNECTIVITYLIB::Network
 Graph container for one connectivity metric; nodes + weighted edges + threshold/visualisation state. More...

Namespaces

namespace  CONNECTIVITYLIB
 Functional connectivity metrics (coherence, PLV, cross-correlation, etc.).

Macros

#define metatype_networks
#define metatype_networkslist
#define metatype_networkssptr
#define metatype_networkssptrlist

Functions

 Q_DECLARE_METATYPE (CONNECTIVITYLIB::Network)
 Q_DECLARE_METATYPE (QList< CONNECTIVITYLIB::Network >)
 Q_DECLARE_METATYPE (CONNECTIVITYLIB::Network::SPtr)
 Q_DECLARE_METATYPE (QList< CONNECTIVITYLIB::Network::SPtr >)

Detailed Description

Graph container that stores the result of one functional-connectivity metric as nodes (sources/sensors) and weighted edges (channel-pair couplings).

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2016-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
August 2016

Network is the common output type returned by every estimator in CONNECTIVITYLIB. Each NetworkNode carries a 3D position (sensor coordinate for sensor-space metrics, source vertex for source-space metrics) and the list of edges incident to it, and each NetworkEdge stores the full per-frequency weight matrix together with the scalar band-averaged weight used for thresholding and display. The same container is reused for symmetric metrics (coherence, PLV, PLI/wPLI/dwPLI, imaginary coherence, correlation, cross-correlation) and for the directed metrics (Granger Causality, DTF, PDC); directionality is encoded by treating (i, j) and (j, i) as distinct edges.

The container also offers the bookkeeping operations needed by every downstream visualisation and statistical layer: distance-based and threshold-based edge selection, full vs. mirrored adjacency-matrix extraction, and a VisualizationInfo block carrying the colour-map choice that disp3D and the connectivity-estimator plugin honour when rendering the graph in 3D.

Definition in file network.h.

Macro Definition Documentation

◆ metatype_networks

#define metatype_networks

Definition at line 433 of file network.h.

◆ metatype_networkslist

#define metatype_networkslist

Definition at line 438 of file network.h.

◆ metatype_networkssptr

#define metatype_networkssptr

Definition at line 443 of file network.h.

◆ metatype_networkssptrlist

#define metatype_networkssptrlist

Definition at line 448 of file network.h.

Function Documentation

◆ Q_DECLARE_METATYPE() [1/4]

Q_DECLARE_METATYPE ( CONNECTIVITYLIB::Network )

◆ Q_DECLARE_METATYPE() [2/4]

Q_DECLARE_METATYPE ( CONNECTIVITYLIB::Network::SPtr )

◆ Q_DECLARE_METATYPE() [3/4]

Q_DECLARE_METATYPE ( QList< CONNECTIVITYLIB::Network > )

◆ Q_DECLARE_METATYPE() [4/4]

Q_DECLARE_METATYPE ( QList< CONNECTIVITYLIB::Network::SPtr > )