#include <fwd/fwd_types.h>#include "dipole_fit_data.h"#include "guess_data.h"#include "../c/mne_meas_data.h"#include "../c/mne_meas_data_set.h"#include <mne/mne_proj_item.h>#include <mne/mne_cov_matrix.h>#include "ecd.h"#include <fiff/fiff_stream.h>#include <fiff/fiff_coord_trans.h>#include <fwd/fwd_bem_model.h>#include <mne/mne_surface.h>#include <fwd/fwd_comp_data.h>#include <Eigen/Dense>#include <QFile>#include <QTextStream>#include <QCoreApplication>#include <QDebug>#include <math.h>
Go to the source code of this file.
Classes | |
| struct | MNELIB::fitSphereUser |
| Workspace for sphere-fitting optimization, holding digitizer point coordinates and count. More... | |
| struct | MNELIB::frameNameRec_3 |
| Lookup record mapping a FIFF coordinate frame integer ID to its human-readable name string. More... | |
Namespaces | |
| namespace | MNELIB |
| Core MNE data structures (source spaces, source estimates, hemispheres). | |
Macros | |
| #define | _USE_MATH_DEFINES |
| #define | FIFFV_COIL_CTF_OFFDIAG_REF_GRAD 5004 |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | FAIL -1 |
| #define | OK 0 |
| #define | X_3 0 |
| #define | Y_3 1 |
| #define | Z_3 2 |
| #define | MALLOC_3(x, t) |
| #define | REALLOC_3(x, y, t) |
| #define | FREE_3(x) |
| #define | ALLOC_FLOAT_3(x) |
| #define | ALLOC_DCMATRIX_3(x, y) |
| #define | ALLOC_CMATRIX_3(x, y) |
| #define | FREE_CMATRIX_3(m) |
| #define | FREE_DCMATRIX_3(m) |
| #define | VEC_DOT_3(x, y) |
| #define | VEC_LEN_3(x) |
| #define | VEC_DIFF_3(from, to, diff) |
| #define | VEC_COPY_3(to, from) |
| #define | CROSS_PRODUCT_3(x, y, xy) |
| #define | MIN_3(a, b) |
| #define | EPS_3 0.05 |
| #define | ALPHA 1.0 |
| #define | BETA 0.5 |
| #define | GAMMA 2.0 |
| #define | USE_LIMIT 1e-5 |
| #define | SMALL_VALUE 1e-4 |
| #define | MAXLINE 500 |
| #define | TOO_CLOSE 1e-4 |
| #define | REALLY_REVERT |
| #define | ALPHA 1.0 |
| #define | BETA 0.5 |
| #define | GAMMA 2.0 |
| #define | MIN_STOL_LOOP 5 |
Typedefs | |
| typedef struct MNELIB::fitSphereUser | MNELIB::fitSphereUserRec |
Functions | |
| float ** | mne_cmatrix_3 (int nr, int nc) |
| double ** | mne_dmatrix_3 (int nr, int nc) |
| void | mne_free_dcmatrix_3 (double **m) |
| void | mne_transpose_square_3 (float **mat, int n) |
| float | mne_dot_vectors_3 (float *v1, float *v2, int nn) |
| void | mne_add_scaled_vector_to_3 (float *v1, float scale, float *v2, int nn) |
| double ** | mne_dmatt_dmat_mult2_3 (double **m1, double **m2, int d1, int d2, int d3) |
| float ** | mne_mat_mat_mult_3 (float **m1, float **m2, int d1, int d2, int d3) |
| void | mne_mat_vec_mult2_3 (float **m, float *v, float *result, int d1, int d2) |
| QString | mne_name_list_to_string_3 (const QStringList &list) |
| QString | mne_channel_names_to_string_3 (const QList< FiffChInfo > &chs, int nch) |
| void | mne_string_to_name_list_3 (const QString &s, QStringList &listp, int &nlistp) |
| FiffSparseMatrix * | mne_convert_to_sparse_3 (float **dense, int nrow, int ncol, int stor_type, float small) |
| int | mne_is_diag_cov_3 (MNECovMatrix *c) |
| void | mne_scale_vector_3 (double scale, float *v, int nn) |
| Eigen::MatrixXf | toFloatEigenMatrix_3 (float **mat, const int m, const int n) |
| void | fromFloatEigenMatrix_3 (const Eigen::MatrixXf &from_mat, float **&to_mat, const int m, const int n) |
| void | fromFloatEigenMatrix_3 (const Eigen::MatrixXf &from_mat, float **&to_mat) |
| void | fromFloatEigenVector_3 (const Eigen::VectorXf &from_vec, float *to_vec, const int n) |
| float ** | mne_lu_invert_3 (float **mat, int dim) |
| void | mne_free_cmatrix_3 (float **m) |
| int | mne_svd_3 (float **mat, int m, int n, float *sing, float **uu, float **vv) |
| void | mne_free_cov_3 (MNECovMatrix *c) |
| int | mne_get_values_from_data_3 (float time, float integ, float **data, int nsamp, int nch, float tmin, float sfreq, int use_abs, float *value) |
| int | mne_decompose_eigen_3 (double *mat, double *lambda, Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &vectors, int dim) |
| int | mne_add_inv_cov_3 (MNECovMatrix *c) |
| int | mne_classify_channels_cov (MNECovMatrix *cov, const QList< FiffChInfo > &chs, int nchan) |
| int | mne_decompose_eigen_cov_3 (MNECovMatrix *c) |
| int | mne_whiten_data (float **data, float **whitened_data, int np, int nchan, MNECovMatrix *C) |
| int | mne_whiten_one_data (float *data, float *whitened_data, int nchan, MNECovMatrix *C) |
| void | mne_regularize_cov (MNECovMatrix *c, float *regs) |
| int | mne_simplex_minimize (float **p, float *y, int ndim, float ftol, float(*func)(float *x, int npar, void *user_data), void *user_data, int max_eval, int *neval, int report, int(*report_func)(int loop, float *fitpar, int npar, double fval)) |
| int | fit_sphere_to_points (const MNESurfaceOrVolume::PointsT &rr, int np, float simplex_size, float *r0, float *R) |
| void | mne_proj_op_report_data_3 (QTextStream &out, const char *tag, MNEProjOp *op, int list_data, char **exclude, int nexclude) |
| void | mne_proj_op_report_3 (QTextStream &out, const char *tag, MNEProjOp *op) |
| int | mne_pick_from_named_vector_3 (MNENamedVector *vec, const QStringList &names, int nnames, int require_all, float *res) |
| MNEProjOp * | mne_read_proj_op_from_node_3 (FiffStream::SPtr &stream, const FiffDirNode::SPtr &start) |
| MNEProjOp * | mne_read_proj_op_3 (const QString &name) |
| int | mne_proj_op_chs_3 (MNEProjOp *op, const QStringList &list, int nlist) |
| int | mne_proj_op_make_proj_bad (MNEProjOp *op, char **bad, int nbad) |
| int | mne_proj_op_make_proj (MNEProjOp *op) |
| int | mne_read_meg_comp_eeg_ch_info_3 (const QString &name, QList< FiffChInfo > &megp, int *nmegp, QList< FiffChInfo > &meg_compp, int *nmeg_compp, QList< FiffChInfo > &eegp, int *neegp, FiffCoordTrans *meg_head_t, fiffId *idp) |
| int | is_selected_in_data (mshMegEegData d, const QString &ch_name) |
| int | mne_read_bad_channels_3 (const QString &name, QStringList &listp, int &nlistp) |
| int | mne_read_bad_channel_list_from_node_3 (FiffStream::SPtr &stream, const FiffDirNode::SPtr &pNode, QStringList &listp, int &nlistp) |
| int | mne_read_bad_channel_list_3 (const QString &name, QStringList &listp, int &nlistp) |
| std::unique_ptr< MNECovMatrix > | mne_read_cov (const QString &name, int kind) |
| const char * | mne_coord_frame_name_3 (int frame) |
| void | mne_merge_channels (const QList< FiffChInfo > &chs1, int nch1, const QList< FiffChInfo > &chs2, int nch2, QList< FiffChInfo > &resp, int *nresp) |
| int | read_meg_eeg_ch_info (const QString &name, int do_meg, int do_eeg, const QStringList &bads, int nbad, QList< FiffChInfo > &chsp, int *nmegp, int *neegp) |
| void | mne_revert_to_diag_cov (MNECovMatrix *c) |
| std::unique_ptr< MNECovMatrix > | mne_pick_chs_cov_omit (MNECovMatrix *c, const QStringList &new_names, int ncov, int omit_meg_eeg, const QList< FiffChInfo > &chs) |
| int | mne_proj_op_proj_dvector (MNEProjOp *op, double *vec, int nch, int do_complement) |
| int | mne_name_list_match (const QStringList &list1, int nlist1, const QStringList &list2, int nlist2) |
| void | mne_transpose_dsquare (double **mat, int n) |
| int | mne_proj_op_apply_cov (MNEProjOp *op, MNECovMatrix *c) |
| void | print_fields (float *rd, float *Q, float time, float integ, DipoleFitData *fit, MNEMeasData *data) |
| DipoleForward * | dipole_forward (DipoleFitData *d, float **rd, int ndip, DipoleForward *old) |
| int | simplex_minimize (float **p, float *y, int ndim, float ftol, float stol, float(*func)(float *x, int npar, void *user_data), void *user_data, int max_eval, int *neval, int report, int(*report_func)(int loop, float *fitpar, int npar, double fval_lo, double fval_hi, double par_diff)) |
| #define _USE_MATH_DEFINES |
Definition at line 26 of file dipole_fit_data.cpp.
| #define ALLOC_CMATRIX_3 | ( | x, | |
| y ) |
Definition at line 83 of file dipole_fit_data.cpp.
| #define ALLOC_DCMATRIX_3 | ( | x, | |
| y ) |
Definition at line 82 of file dipole_fit_data.cpp.
| #define ALLOC_FLOAT_3 | ( | x | ) |
Definition at line 80 of file dipole_fit_data.cpp.
| #define ALPHA 1.0 |
Definition at line 1296 of file dipole_fit_data.cpp.
| #define ALPHA 1.0 |
Definition at line 1296 of file dipole_fit_data.cpp.
| #define BETA 0.5 |
Definition at line 1297 of file dipole_fit_data.cpp.
| #define BETA 0.5 |
Definition at line 1297 of file dipole_fit_data.cpp.
| #define CROSS_PRODUCT_3 | ( | x, | |
| y, | |||
| xy ) |
Definition at line 169 of file dipole_fit_data.cpp.
| #define EPS_3 0.05 |
Definition at line 583 of file dipole_fit_data.cpp.
| #define FAIL -1 |
Definition at line 62 of file dipole_fit_data.cpp.
| #define FALSE 0 |
Definition at line 58 of file dipole_fit_data.cpp.
| #define FIFFV_COIL_CTF_OFFDIAG_REF_GRAD 5004 |
Definition at line 50 of file dipole_fit_data.cpp.
| #define FREE_3 | ( | x | ) |
Definition at line 75 of file dipole_fit_data.cpp.
| #define FREE_CMATRIX_3 | ( | m | ) |
Definition at line 84 of file dipole_fit_data.cpp.
| #define FREE_DCMATRIX_3 | ( | m | ) |
Definition at line 85 of file dipole_fit_data.cpp.
| #define GAMMA 2.0 |
Definition at line 1298 of file dipole_fit_data.cpp.
| #define GAMMA 2.0 |
Definition at line 1298 of file dipole_fit_data.cpp.
| #define MALLOC_3 | ( | x, | |
| t ) |
Definition at line 73 of file dipole_fit_data.cpp.
| #define MAXLINE 500 |
Definition at line 2372 of file dipole_fit_data.cpp.
| #define MIN_3 | ( | a, | |
| b ) |
Definition at line 177 of file dipole_fit_data.cpp.
| #define MIN_STOL_LOOP 5 |
Definition at line 4455 of file dipole_fit_data.cpp.
| #define OK 0 |
Definition at line 66 of file dipole_fit_data.cpp.
| #define REALLOC_3 | ( | x, | |
| y, | |||
| t ) |
Definition at line 74 of file dipole_fit_data.cpp.
| #define REALLY_REVERT |
| #define SMALL_VALUE 1e-4 |
Definition at line 1918 of file dipole_fit_data.cpp.
| #define TOO_CLOSE 1e-4 |
Definition at line 2911 of file dipole_fit_data.cpp.
| #define TRUE 1 |
Definition at line 54 of file dipole_fit_data.cpp.
| #define USE_LIMIT 1e-5 |
Definition at line 1917 of file dipole_fit_data.cpp.
| #define VEC_COPY_3 | ( | to, | |
| from ) |
| #define VEC_DIFF_3 | ( | from, | |
| to, | |||
| diff ) |
| #define VEC_DOT_3 | ( | x, | |
| y ) |
| #define VEC_LEN_3 | ( | x | ) |
Definition at line 151 of file dipole_fit_data.cpp.
| #define X_3 0 |
Definition at line 69 of file dipole_fit_data.cpp.
| #define Y_3 1 |
Definition at line 70 of file dipole_fit_data.cpp.
| #define Z_3 2 |
Definition at line 71 of file dipole_fit_data.cpp.
| DipoleForward * dipole_forward | ( | DipoleFitData * | d, |
| float ** | rd, | ||
| int | ndip, | ||
| DipoleForward * | old ) |
Definition at line 4175 of file dipole_fit_data.cpp.
| int fit_sphere_to_points | ( | const MNESurfaceOrVolume::PointsT & | rr, |
| int | np, | ||
| float | simplex_size, | ||
| float * | r0, | ||
| float * | R ) |
Definition at line 1552 of file dipole_fit_data.cpp.
| void fromFloatEigenMatrix_3 | ( | const Eigen::MatrixXf & | from_mat, |
| float **& | to_mat ) |
Definition at line 497 of file dipole_fit_data.cpp.
| void fromFloatEigenMatrix_3 | ( | const Eigen::MatrixXf & | from_mat, |
| float **& | to_mat, | ||
| const int | m, | ||
| const int | n ) |
Definition at line 490 of file dipole_fit_data.cpp.
| void fromFloatEigenVector_3 | ( | const Eigen::VectorXf & | from_vec, |
| float * | to_vec, | ||
| const int | n ) |
Definition at line 502 of file dipole_fit_data.cpp.
| int is_selected_in_data | ( | mshMegEegData | d, |
| const QString & | ch_name ) |
Definition at line 2333 of file dipole_fit_data.cpp.
| int mne_add_inv_cov_3 | ( | MNECovMatrix * | c | ) |
Definition at line 807 of file dipole_fit_data.cpp.
| void mne_add_scaled_vector_to_3 | ( | float * | v1, |
| float | scale, | ||
| float * | v2, | ||
| int | nn ) |
Definition at line 215 of file dipole_fit_data.cpp.
| QString mne_channel_names_to_string_3 | ( | const QList< FiffChInfo > & | chs, |
| int | nch ) |
Definition at line 325 of file dipole_fit_data.cpp.
| int mne_classify_channels_cov | ( | MNECovMatrix * | cov, |
| const QList< FiffChInfo > & | chs, | ||
| int | nchan ) |
Definition at line 969 of file dipole_fit_data.cpp.
| float ** mne_cmatrix_3 | ( | int | nr, |
| int | nc ) |
Definition at line 104 of file dipole_fit_data.cpp.
| FiffSparseMatrix * mne_convert_to_sparse_3 | ( | float ** | dense, |
| int | nrow, | ||
| int | ncol, | ||
| int | stor_type, | ||
| float | small ) |
Definition at line 361 of file dipole_fit_data.cpp.
| const char * mne_coord_frame_name_3 | ( | int | frame | ) |
Definition at line 2684 of file dipole_fit_data.cpp.
| int mne_decompose_eigen_3 | ( | double * | mat, |
| double * | lambda, | ||
| Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > & | vectors, | ||
| int | dim ) |
Definition at line 714 of file dipole_fit_data.cpp.
| int mne_decompose_eigen_cov_3 | ( | MNECovMatrix * | c | ) |
Definition at line 1083 of file dipole_fit_data.cpp.
| double ** mne_dmatrix_3 | ( | int | nr, |
| int | nc ) |
Definition at line 121 of file dipole_fit_data.cpp.
| double ** mne_dmatt_dmat_mult2_3 | ( | double ** | m1, |
| double ** | m2, | ||
| int | d1, | ||
| int | d2, | ||
| int | d3 ) |
Definition at line 230 of file dipole_fit_data.cpp.
| float mne_dot_vectors_3 | ( | float * | v1, |
| float * | v2, | ||
| int | nn ) |
Definition at line 196 of file dipole_fit_data.cpp.
| void mne_free_cmatrix_3 | ( | float ** | m | ) |
Definition at line 520 of file dipole_fit_data.cpp.
| void mne_free_cov_3 | ( | MNECovMatrix * | c | ) |
Definition at line 572 of file dipole_fit_data.cpp.
| void mne_free_dcmatrix_3 | ( | double ** | m | ) |
Definition at line 138 of file dipole_fit_data.cpp.
| int mne_get_values_from_data_3 | ( | float | time, |
| float | integ, | ||
| float ** | data, | ||
| int | nsamp, | ||
| int | nch, | ||
| float | tmin, | ||
| float | sfreq, | ||
| int | use_abs, | ||
| float * | value ) |
Definition at line 585 of file dipole_fit_data.cpp.
| int mne_is_diag_cov_3 | ( | MNECovMatrix * | c | ) |
Definition at line 458 of file dipole_fit_data.cpp.
| float ** mne_lu_invert_3 | ( | float ** | mat, |
| int | dim ) |
Definition at line 508 of file dipole_fit_data.cpp.
| float ** mne_mat_mat_mult_3 | ( | float ** | m1, |
| float ** | m2, | ||
| int | d1, | ||
| int | d2, | ||
| int | d3 ) |
Definition at line 261 of file dipole_fit_data.cpp.
| void mne_mat_vec_mult2_3 | ( | float ** | m, |
| float * | v, | ||
| float * | result, | ||
| int | d1, | ||
| int | d2 ) |
Definition at line 291 of file dipole_fit_data.cpp.
| void mne_merge_channels | ( | const QList< FiffChInfo > & | chs1, |
| int | nch1, | ||
| const QList< FiffChInfo > & | chs2, | ||
| int | nch2, | ||
| QList< FiffChInfo > & | resp, | ||
| int * | nresp ) |
Definition at line 2715 of file dipole_fit_data.cpp.
| int mne_name_list_match | ( | const QStringList & | list1, |
| int | nlist1, | ||
| const QStringList & | list2, | ||
| int | nlist2 ) |
Definition at line 3187 of file dipole_fit_data.cpp.
| QString mne_name_list_to_string_3 | ( | const QStringList & | list | ) |
Definition at line 307 of file dipole_fit_data.cpp.
| std::unique_ptr< MNECovMatrix > mne_pick_chs_cov_omit | ( | MNECovMatrix * | c, |
| const QStringList & | new_names, | ||
| int | ncov, | ||
| int | omit_meg_eeg, | ||
| const QList< FiffChInfo > & | chs ) |
Definition at line 3040 of file dipole_fit_data.cpp.
| int mne_pick_from_named_vector_3 | ( | MNENamedVector * | vec, |
| const QStringList & | names, | ||
| int | nnames, | ||
| int | require_all, | ||
| float * | res ) |
Definition at line 1688 of file dipole_fit_data.cpp.
| int mne_proj_op_apply_cov | ( | MNEProjOp * | op, |
| MNECovMatrix * | c ) |
Definition at line 3223 of file dipole_fit_data.cpp.
| int mne_proj_op_chs_3 | ( | MNEProjOp * | op, |
| const QStringList & | list, | ||
| int | nlist ) |
Definition at line 1891 of file dipole_fit_data.cpp.
| int mne_proj_op_make_proj | ( | MNEProjOp * | op | ) |
Definition at line 2156 of file dipole_fit_data.cpp.
| int mne_proj_op_make_proj_bad | ( | MNEProjOp * | op, |
| char ** | bad, | ||
| int | nbad ) |
Definition at line 1920 of file dipole_fit_data.cpp.
| int mne_proj_op_proj_dvector | ( | MNEProjOp * | op, |
| double * | vec, | ||
| int | nch, | ||
| int | do_complement ) |
Definition at line 3146 of file dipole_fit_data.cpp.
| void mne_proj_op_report_3 | ( | QTextStream & | out, |
| const char * | tag, | ||
| MNEProjOp * | op ) |
Definition at line 1681 of file dipole_fit_data.cpp.
| void mne_proj_op_report_data_3 | ( | QTextStream & | out, |
| const char * | tag, | ||
| MNEProjOp * | op, | ||
| int | list_data, | ||
| char ** | exclude, | ||
| int | nexclude ) |
Definition at line 1626 of file dipole_fit_data.cpp.
| int mne_read_bad_channel_list_3 | ( | const QString & | name, |
| QStringList & | listp, | ||
| int & | nlistp ) |
Definition at line 2446 of file dipole_fit_data.cpp.
| int mne_read_bad_channel_list_from_node_3 | ( | FiffStream::SPtr & | stream, |
| const FiffDirNode::SPtr & | pNode, | ||
| QStringList & | listp, | ||
| int & | nlistp ) |
Definition at line 2414 of file dipole_fit_data.cpp.
| int mne_read_bad_channels_3 | ( | const QString & | name, |
| QStringList & | listp, | ||
| int & | nlistp ) |
Definition at line 2374 of file dipole_fit_data.cpp.
| std::unique_ptr< MNECovMatrix > mne_read_cov | ( | const QString & | name, |
| int | kind ) |
Definition at line 2464 of file dipole_fit_data.cpp.
| int mne_read_meg_comp_eeg_ch_info_3 | ( | const QString & | name, |
| QList< FiffChInfo > & | megp, | ||
| int * | nmegp, | ||
| QList< FiffChInfo > & | meg_compp, | ||
| int * | nmeg_compp, | ||
| QList< FiffChInfo > & | eegp, | ||
| int * | neegp, | ||
| FiffCoordTrans * | meg_head_t, | ||
| fiffId * | idp ) |
Definition at line 2166 of file dipole_fit_data.cpp.
| MNEProjOp * mne_read_proj_op_3 | ( | const QString & | name | ) |
Definition at line 1872 of file dipole_fit_data.cpp.
| MNEProjOp * mne_read_proj_op_from_node_3 | ( | FiffStream::SPtr & | stream, |
| const FiffDirNode::SPtr & | start ) |
Definition at line 1723 of file dipole_fit_data.cpp.
| void mne_regularize_cov | ( | MNECovMatrix * | c, |
| float * | regs ) |
Definition at line 1220 of file dipole_fit_data.cpp.
| void mne_revert_to_diag_cov | ( | MNECovMatrix * | c | ) |
Definition at line 3011 of file dipole_fit_data.cpp.
| void mne_scale_vector_3 | ( | double | scale, |
| float * | v, | ||
| int | nn ) |
Definition at line 464 of file dipole_fit_data.cpp.
| int mne_simplex_minimize | ( | float ** | p, |
| float * | y, | ||
| int | ndim, | ||
| float | ftol, | ||
| float(* | func )(float *x, int npar, void *user_data), | ||
| void * | user_data, | ||
| int | max_eval, | ||
| int * | neval, | ||
| int | report, | ||
| int(* | report_func )(int loop, float *fitpar, int npar, double fval) ) |
Definition at line 1332 of file dipole_fit_data.cpp.
| void mne_string_to_name_list_3 | ( | const QString & | s, |
| QStringList & | listp, | ||
| int & | nlistp ) |
Definition at line 343 of file dipole_fit_data.cpp.
| int mne_svd_3 | ( | float ** | mat, |
| int | m, | ||
| int | n, | ||
| float * | sing, | ||
| float ** | uu, | ||
| float ** | vv ) |
Definition at line 528 of file dipole_fit_data.cpp.
| void mne_transpose_dsquare | ( | double ** | mat, |
| int | n ) |
Definition at line 3206 of file dipole_fit_data.cpp.
| void mne_transpose_square_3 | ( | float ** | mat, |
| int | n ) |
Definition at line 179 of file dipole_fit_data.cpp.
| int mne_whiten_data | ( | float ** | data, |
| float ** | whitened_data, | ||
| int | np, | ||
| int | nchan, | ||
| MNECovMatrix * | C ) |
Definition at line 1091 of file dipole_fit_data.cpp.
| int mne_whiten_one_data | ( | float * | data, |
| float * | whitened_data, | ||
| int | nchan, | ||
| MNECovMatrix * | C ) |
Definition at line 1137 of file dipole_fit_data.cpp.
| void print_fields | ( | float * | rd, |
| float * | Q, | ||
| float | time, | ||
| float | integ, | ||
| DipoleFitData * | fit, | ||
| MNEMeasData * | data ) |
Definition at line 4131 of file dipole_fit_data.cpp.
| int read_meg_eeg_ch_info | ( | const QString & | name, |
| int | do_meg, | ||
| int | do_eeg, | ||
| const QStringList & | bads, | ||
| int | nbad, | ||
| QList< FiffChInfo > & | chsp, | ||
| int * | nmegp, | ||
| int * | neegp ) |
Definition at line 2945 of file dipole_fit_data.cpp.
| int simplex_minimize | ( | float ** | p, |
| float * | y, | ||
| int | ndim, | ||
| float | ftol, | ||
| float | stol, | ||
| float(* | func )(float *x, int npar, void *user_data), | ||
| void * | user_data, | ||
| int | max_eval, | ||
| int * | neval, | ||
| int | report, | ||
| int(* | report_func )(int loop, float *fitpar, int npar, double fval_lo, double fval_hi, double par_diff) ) |
Definition at line 4489 of file dipole_fit_data.cpp.
| Eigen::MatrixXf toFloatEigenMatrix_3 | ( | float ** | mat, |
| const int | m, | ||
| const int | n ) |
Definition at line 479 of file dipole_fit_data.cpp.