v2.0.0
Loading...
Searching...
No Matches
INVLIB::InvGuessData Class Reference

Precomputed guess point grid with forward fields for initial dipole position candidates. More...

#include <inv_guess_data.h>

Public Types

typedef QSharedPointer< InvGuessDataSPtr
typedef QSharedPointer< const InvGuessDataConstSPtr

Public Member Functions

 InvGuessData ()
 InvGuessData (const InvGuessData &)=delete
InvGuessDataoperator= (const InvGuessData &)=delete
 InvGuessData (const QString &guessname, const QString &guess_surfname, float mindist, float exclude, float grid, InvDipoleFitData *f)
 InvGuessData (const QString &guessname, const QString &guess_surfname, float mindist, float exclude, float grid, InvDipoleFitData *f, char *guess_save_name)
 ~InvGuessData ()
bool compute_guess_fields (InvDipoleFitData *f)

Public Attributes

Eigen::Matrix< float, Eigen::Dynamic, 3, Eigen::RowMajor > rr
std::vector< InvDipoleForward::UPtrguess_fwd
int nguess

Detailed Description

Precomputed guess point grid with forward fields for initial dipole position candidates.

Implements InvGuessData (Replaces *guessData,guessDataRec struct of MNE-C fit_types.h).

Definition at line 80 of file inv_guess_data.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const InvGuessData> INVLIB::InvGuessData::ConstSPtr

Const shared pointer type for InvGuessData.

Definition at line 84 of file inv_guess_data.h.

◆ SPtr

typedef QSharedPointer<InvGuessData> INVLIB::InvGuessData::SPtr

Shared pointer type for InvGuessData.

Definition at line 83 of file inv_guess_data.h.

Constructor & Destructor Documentation

◆ InvGuessData() [1/4]

InvGuessData::InvGuessData ( )

Constructs the Guess Data Refactored: new_guess_data (dipole_fit_setup.c)

Definition at line 170 of file inv_guess_data.cpp.

◆ InvGuessData() [2/4]

INVLIB::InvGuessData::InvGuessData ( const InvGuessData & )
delete

Deleted — non-copyable due to unique_ptr members.

◆ InvGuessData() [3/4]

InvGuessData::InvGuessData ( const QString & guessname,
const QString & guess_surfname,
float mindist,
float exclude,
float grid,
InvDipoleFitData * f )

Constructs the Guess Data from given Data Refactored: make_guess_data (setup.c)

Parameters
[in]guessname.

Definition at line 183 of file inv_guess_data.cpp.

◆ InvGuessData() [4/4]

InvGuessData::InvGuessData ( const QString & guessname,
const QString & guess_surfname,
float mindist,
float exclude,
float grid,
InvDipoleFitData * f,
char * guess_save_name )

Constructs the Guess Data from given Data Refactored: make_guess_data (dipole_fit_setup.c)

Parameters
[in]guessname.

Definition at line 282 of file inv_guess_data.cpp.

◆ ~InvGuessData()

InvGuessData::~InvGuessData ( )
default

Destroys the Guess Data description Refactored: free_guess_data (dipole_fit_setup.c)

Member Function Documentation

◆ compute_guess_fields()

bool InvGuessData::compute_guess_fields ( InvDipoleFitData * f)

Once the guess locations have been set up we can compute the fields Refactored: compute_guess_fields (dipole_fit_setup.c)

Parameters
[in]fDipole Fit Data to the Compute Guess Fields.
Returns
true when successful.

Definition at line 380 of file inv_guess_data.cpp.

◆ operator=()

InvGuessData & INVLIB::InvGuessData::operator= ( const InvGuessData & )
delete

Member Data Documentation

◆ guess_fwd

std::vector<InvDipoleForward::UPtr> INVLIB::InvGuessData::guess_fwd

Forward solutions for the guesses.

Definition at line 137 of file inv_guess_data.h.

◆ nguess

int INVLIB::InvGuessData::nguess

How many sources.

Definition at line 138 of file inv_guess_data.h.

◆ rr

Eigen::Matrix<float, Eigen::Dynamic, 3, Eigen::RowMajor> INVLIB::InvGuessData::rr

Guess dipole locations (nguess x 3, row-major).

Definition at line 136 of file inv_guess_data.h.


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