MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Static Public Member Functions | List of all members
INVERSELIB::DipoleFit Class Reference

Dipole Fit implementation. More...

#include <dipole_fit.h>

Public Types

typedef QSharedPointer< DipoleFitSPtr
 
typedef QSharedPointer< const DipoleFitConstSPtr
 

Public Member Functions

 DipoleFit (DipoleFitSettings *p_settings)
 
ECDSet calculateFit () const
 

Static Public Member Functions

static int fit_dipoles (const QString &dataname, MneMeasData *data, DipoleFitData *fit, GuessData *guess, float tmin, float tmax, float tstep, float integ, int verbose, ECDSet &p_set)
 
static int fit_dipoles_raw (const QString &dataname, MNELIB::MneRawData *raw, MNELIB::mneChSelection sel, DipoleFitData *fit, GuessData *guess, float tmin, float tmax, float tstep, float integ, int verbose, ECDSet &p_set)
 
static int fit_dipoles_raw (const QString &dataname, MNELIB::MneRawData *raw, MNELIB::mneChSelection sel, DipoleFitData *fit, GuessData *guess, float tmin, float tmax, float tstep, float integ, int verbose)
 

Detailed Description

Dipole Fit implementation.

Implements all required dipole fitting routines

Definition at line 79 of file dipole_fit.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const DipoleFit> INVERSELIB::DipoleFit::ConstSPtr

Const shared pointer type for DipoleFit.

Definition at line 83 of file dipole_fit.h.

◆ SPtr

typedef QSharedPointer<DipoleFit> INVERSELIB::DipoleFit::SPtr

Shared pointer type for DipoleFit.

Definition at line 82 of file dipole_fit.h.

Constructor & Destructor Documentation

◆ DipoleFit()

DipoleFit::DipoleFit ( DipoleFitSettings p_settings)
explicit

Constructs Dipole Fit algorithm

Definition at line 553 of file dipole_fit.cpp.

Member Function Documentation

◆ fit_dipoles()

int DipoleFit::fit_dipoles ( const QString &  dataname,
MneMeasData data,
DipoleFitData fit,
GuessData guess,
float  tmin,
float  tmax,
float  tstep,
float  integ,
int  verbose,
ECDSet p_set 
)
static

Fit a single dipole to each time point of the data Refactored: fit_dipoles (fit_dipoles.c)

Parameters
[in]dataname.
[in]dataThe measured data.
[in]fitPrecomputed fitting data.
[in]guessThe initial guesses.
[in]tminTime range.
[in]tmax.
[in]tstepTime step to use.
[in]integIntegration time.
[in]verboseVerbose output?.
[out]p_setthe fitted ECD Set.
Returns
true when successful.

Definition at line 689 of file dipole_fit.cpp.

◆ fit_dipoles_raw() [1/2]

int DipoleFit::fit_dipoles_raw ( const QString &  dataname,
MNELIB::MneRawData raw,
MNELIB::mneChSelection  sel,
DipoleFitData fit,
GuessData guess,
float  tmin,
float  tmax,
float  tstep,
float  integ,
int  verbose 
)
static

Fit a single dipole to each time point of the data Refactored: fit_dipoles_raw (fit_dipoles.c)

Parameters
[in]dataname.
[in]rawThe raw data description.
[in]selChannel selection to use.
[in]fitPrecomputed fitting data.
[in]guessThe initial guesses.
[in]tminTime range.
[in]tmax.
[in]tstepTime step to use.
[in]integIntegration time.
[in]verboseVerbose output?.
Returns
true when successful.

Definition at line 805 of file dipole_fit.cpp.

◆ fit_dipoles_raw() [2/2]

int DipoleFit::fit_dipoles_raw ( const QString &  dataname,
MNELIB::MneRawData raw,
MNELIB::mneChSelection  sel,
DipoleFitData fit,
GuessData guess,
float  tmin,
float  tmax,
float  tstep,
float  integ,
int  verbose,
ECDSet p_set 
)
static

Fit a single dipole to each time point of the data Refactored: fit_dipoles_raw (fit_dipoles.c)

Parameters
[in]dataname.
[in]rawThe raw data description.
[in]selChannel selection to use.
[in]fitPrecomputed fitting data.
[in]guessThe initial guesses.
[in]tminTime range.
[in]tmax.
[in]tstepTime step to use.
[in]integIntegration time.
[in]verboseVerbose output?.
[out]p_setReturn all results here. Warning: for large data files this may take a lot of memory.
Returns
true when successful.

Definition at line 732 of file dipole_fit.cpp.


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