Skip to main content

InvTfMxneParams

Namespace: INVLIB  ·  Library: Inverse Library

#include <inv/inv_tf_mxne.h>

struct INVLIB::InvTfMxneParams

Parameters for the TF-MxNE solver.

src/examples/ex_inv_api/main.cpp
// TF-MxNE: sparse in space and in a Gabor time-frequency dictionary; 40 samples at 150 Hz.
InvTfMxneParams tfParams;
tfParams.dAlphaSpace = 0.5 * alphaMax;
tfParams.dAlphaTime = 0.05 * alphaMax;
tfParams.dSFreq = evoked.info.sfreq;
tfParams.iNFreqs = 4;
tfParams.dFMin = 5.0;
tfParams.dFMax = 40.0;
const InvTfMxneResult tfMxne = InvTfMxne::compute(gain, measured, tfParams);

Example​

Used in examples​

ex_inv_api​

Inverse library: minimum-norm estimates, resolution matrices, label time courses, sparse solvers.

src/examples/ex_inv_api/main.cpp, line 257
// TF-MxNE: sparse in space and in a Gabor time-frequency dictionary; 40 samples at 150 Hz.
InvTfMxneParams tfParams;
tfParams.dAlphaSpace = 0.5 * alphaMax;
tfParams.dAlphaTime = 0.05 * alphaMax;
tfParams.dSFreq = evoked.info.sfreq;
tfParams.iNFreqs = 4;
tfParams.dFMin = 5.0;
tfParams.dFMax = 40.0;
const InvTfMxneResult tfMxne = InvTfMxne::compute(gain, measured, tfParams);
ok &= expect(!tfMxne.activeVertices.isEmpty() && tfMxne.activeVertices.size() <= 5 && tfMxne.activeVertices.contains(8),
QString("InvTfMxne: %1 V1 sources, including the strongest MxNE source 8").arg(tfMxne.activeVertices.size()));

Authors of this file​