v2.0.0
Loading...
Searching...
No Matches
IEEGLIB::IeegReference Class Reference

Bipolar montages along sEEG / ECoG leads. More...

#include <ieeg_reference.h>

Static Public Member Functions

static QVector< IeegBipolarPair > bipolarPairs (const IeegImplantation &implantation)
static Eigen::SparseMatrix< double > bipolarMatrix (const QVector< IeegBipolarPair > &pairs, int contactCount)

Static Public Attributes

static constexpr float kMaxNeighbourDistance = 0.015f

Detailed Description

Bipolar montages along sEEG / ECoG leads.

Definition at line 70 of file ieeg_reference.h.

Member Function Documentation

◆ bipolarMatrix()

Eigen::SparseMatrix< double > IeegReference::bipolarMatrix ( const QVector< IeegBipolarPair > & pairs,
int contactCount )
static

Montage matrix of the derivations: bipolar data = M * contact data.

Parameters
[in]pairsDerivations.
[in]contactCountNumber of contacts, the columns of M.
Returns
Sparse pairs x contacts matrix, +1 at the anode and -1 at the cathode of each row.

Definition at line 68 of file ieeg_reference.cpp.

◆ bipolarPairs()

QVector< IeegBipolarPair > IeegReference::bipolarPairs ( const IeegImplantation & implantation)
static

Pair each contact with its next neighbour on the same lead: along a depth lead or strip, and along the rows and then the columns of a grid with a known shape. The contact earlier along the lead is the anode, so a depth lead gives LA1-LA2, LA2-LA3, …

Parameters
[in]implantationContacts and leads.
Returns
The derivations, lead by lead.

Definition at line 36 of file ieeg_reference.cpp.

Member Data Documentation

◆ kMaxNeighbourDistance

float IEEGLIB::IeegReference::kMaxNeighbourDistance = 0.015f
staticconstexpr

Contacts further apart than this are not paired: they are not neighbours on one lead.

Definition at line 74 of file ieeg_reference.h.


The documentation for this class was generated from the following files: