Time-Frequency Mixed-Norm Estimate (TF-MxNE) sparse inverse solver. More...
#include <inv_tf_mxne.h>
Static Public Member Functions | |
| static InvTfMxneResult | compute (const Eigen::MatrixXd &matGain, const Eigen::MatrixXd &matData, const InvTfMxneParams ¶ms=InvTfMxneParams()) |
| Compute the TF-MxNE inverse solution. | |
| static Eigen::MatrixXd | buildGaborDictionary (int iNSamples, int iNFreqs, double dFMin, double dFMax, double dSFreq) |
| Build a Gabor dictionary (tight frame) for time-frequency decomposition. | |
Time-Frequency Mixed-Norm Estimate (TF-MxNE) sparse inverse solver.
Solves the inverse problem in the time-frequency domain: min ||M - G*Phi*Z||^2_F + alpha_space * ||Z||_21 + alpha_time * ||Z||_1
where Phi is a Gabor dictionary (tight frame) and Z are the TF coefficients. The L21 penalty enforces spatial sparsity (few active sources) while L1 enforces temporal sparsity (focal activations in time-frequency).
Usage:
Definition at line 108 of file inv_tf_mxne.h.
|
static |
Build a Gabor dictionary (tight frame) for time-frequency decomposition.
| [in] | iNSamples | Number of time samples. |
| [in] | iNFreqs | Number of frequency bins. |
| [in] | dFMin | Minimum frequency (Hz). |
| [in] | dFMax | Maximum frequency (Hz). |
| [in] | dSFreq | Sampling frequency (Hz). |
Definition at line 45 of file inv_tf_mxne.cpp.
|
static |
Compute the TF-MxNE inverse solution.
| [in] | matGain | Forward gain matrix (n_channels × n_sources). |
| [in] | matData | Measurement data (n_channels × n_times). |
| [in] | params | TF-MxNE parameters. |
Definition at line 95 of file inv_tf_mxne.cpp.