MNE-CPP
beta 1.0
|
The adaptiveMP class provides functions several calculating functions to run the Matching Pursuit Algorithm. More...
#include <adaptivemp.h>
Public Types | |
typedef QList< QList< GaborAtom > > | adaptive_atom_list |
typedef QList< FixDictAtom > | fix_dict_atom_list |
typedef Eigen::VectorXd | VectorXd |
typedef Eigen::MatrixXd | MatrixXd |
Public Slots | |
QList< QList< GaborAtom > > | matching_pursuit (MatrixXd signal, qint32 max_iterations, qreal epsilon, bool fix_phase, qint32 boost, qint32 simplex_it, qreal simplex_reflection, qreal simplex_expansion, qreal simplex_contraction, qreal simplex_full_contraction, bool trial_separation) |
void | recieve_input (MatrixXd signal, qint32 max_iterations, qreal epsilon, bool fix_phase, qint32 boost, qint32 simplex_it, qreal simplex_reflection, qreal simplex_expansion, qreal simplex_contraction, qreal simplex_full_contraction, bool trial_separation) |
Public Member Functions | |
AdaptiveMp () | |
~AdaptiveMp () | |
VectorXcd | modulation_function (qint32 N, qreal k) |
void | simplex_maximisation (qint32 simplex_it, qreal simplex_reflection, qreal simplex_expansion, qreal simplex_contraction, qreal simplex_full_contraction, GaborAtom *gabor_Atom, VectorXd max_scalar_product, qint32 sample_count, bool fix_phase, MatrixXd residuum, bool trial_separation, qint32 chn) |
Static Public Member Functions | |
static VectorXd | calculate_atom (qint32 sample_count, qreal scale, qint32 translation, qreal modulation, qint32 channel, MatrixXd residuum, ReturnValue return_value, bool fix_phase) |
Public Attributes | |
bool | fix_phase |
qreal | signal_energy |
qreal | current_energy |
qreal | epsilon |
qint32 | it |
qint32 | max_it |
qint32 | max_iterations |
VectorXd | best_match |
MatrixXd | signal |
QList< QList< GaborAtom > > | atom_list |
QList< GaborAtom > | atoms_in_chns |
QList< FixDictAtom > | fix_dict_list |
The adaptiveMP class provides functions several calculating functions to run the Matching Pursuit Algorithm.
DECLARE CLASS adaptiveMP
Definition at line 105 of file adaptivemp.h.
AdaptiveMp::AdaptiveMp | ( | ) |
adaptiveMP_adaptiveMP
Constructor
constructs adaptiveMP class
Definition at line 63 of file adaptivemp.cpp.
AdaptiveMp::~AdaptiveMp | ( | ) |
adaptiveMP_adaptiveMP
Deconstructor
deconstructs adaptiveMP class
Definition at line 675 of file adaptivemp.cpp.
|
static |
adaptiveMP_calculate_atom
calculates real gabor atoms for MP Algorithm
[in] | sampleCount | number of samples in the atom |
[in] | scale | scale of atom |
[in] | translation | translation of atom |
[in] | modulation | modulation of atom |
[in] | channel | number of signalchannels |
[in] | residuum | the signalresiduun after each MP Algorithm iterationstep |
[in] | returnValue | declare what kind of information should be returned |
Definition at line 372 of file adaptivemp.cpp.
VectorXcd AdaptiveMp::modulation_function | ( | qint32 | N, |
qreal | k | ||
) |
adaptiveMP_modulation_function
calculates a complex function for modulating signals in MP Algorithm
[in] | N | number of samples |
[in] | k | factor of modulationfrequency |
Definition at line 359 of file adaptivemp.cpp.
void AdaptiveMp::simplex_maximisation | ( | qint32 | simplex_it, |
qreal | simplex_reflection, | ||
qreal | simplex_expansion, | ||
qreal | simplex_contraction, | ||
qreal | simplex_full_contraction, | ||
GaborAtom * | gabor_Atom, | ||
VectorXd | max_scalar_product, | ||
qint32 | sample_count, | ||
bool | fix_phase, | ||
MatrixXd | residuum, | ||
bool | trial_separation, | ||
qint32 | chn | ||
) |
adaptiveMP_simplex_maximisation
varies mp Algorithm parameters to find Optimum
[in] | simplex_it | number of maximal iterations of simplex algorithm |
[in] | simplex_reflection | simplex parameter reflection |
[in] | simplex_expansion | simplex parameter expansion |
[in] | simplex_contraction | simplex parameter contraction |
[in] | simplex_full_contraction | simplex parameter full contraction |
[in] | gabor_Atom | atom to be optimised |
[in] | max_scalar_product | figure of merit of the atom |
[in] | sample_count | number of samples in the atom |
[in] | fix_phase | whether fix phase or varying |
[in] | residuum | the signalresiduun after each MP Algorithm iterationstep |
Definition at line 435 of file adaptivemp.cpp.