|
MNE-CPP 0.1.9
A Framework for Electrophysiology
|
Definition of the FwdEegSphereModel Class. More...
#include "utils/simplex_algorithm.h"#include "fwd_eeg_sphere_model.h"#include "fwd_eeg_sphere_model_set.h"#include <QtAlgorithms>#include <qmath.h>#include <Eigen/Core>#include <Eigen/Dense>
Go to the source code of this file.
Classes | |
| struct | FWDLIB::bergSchergPar |
Macros | |
| #define | MIN_1(a, b) ((a) < (b) ? (a) : (b)) |
| #define | X_1 0 |
| #define | Y_1 1 |
| #define | Z_1 2 |
| #define | VEC_DOT_1(x, y) ((x)[X_1]*(y)[X_1] + (x)[Y_1]*(y)[Y_1] + (x)[Z_1]*(y)[Z_1]) |
| #define | VEC_LEN_1(x) sqrt(VEC_DOT_1(x,x)) |
| #define | VEC_DIFF_1(from, to, diff) |
| #define | VEC_COPY_1(to, from) |
| #define | CROSS_PRODUCT_1(x, y, xy) |
| #define | MALLOC_1(x, t) (t *)malloc((x)*sizeof(t)) |
| #define | REALLOC_1(x, y, t) (t *)((x == NULL) ? malloc((y)*sizeof(t)) : realloc((x),(y)*sizeof(t))) |
| #define | FREE(x) if ((char *)(x) != NULL) free((char *)(x)) |
| #define | ALLOC_DCMATRIX_1(x, y) mne_dmatrix_1((x),(y)) |
| #define | FREE_DCMATRIX_1(m) mne_free_dcmatrix_1((m)) |
| #define | ALLOC_CMATRIX_1(x, y) mne_cmatrix_1((x),(y)) |
| #define | FREE_CMATRIX_1(m) mne_free_cmatrix_1((m)) |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | FAIL -1 |
| #define | OK 0 |
| #define | MAXTERMS 1000 |
| #define | EPS 1e-10 |
| #define | SIN_EPS 1e-3 |
Typedefs | |
| typedef struct FWDLIB::bergSchergPar | FWDLIB::bergSchergParRec |
Functions | |
| float ** | mne_cmatrix_1 (int nr, int nc) |
| double ** | mne_dmatrix_1 (int nr, int nc) |
| void | mne_free_cmatrix_1 (float **m) |
| void | mne_free_dcmatrix_1 (double **m) |
| Eigen::MatrixXd | toDoubleEigenMatrix (double **mat, const int m, const int n) |
| void | fromDoubleEigenMatrix (const Eigen::MatrixXd &from_mat, double **to_mat, const int m, const int n) |
| void | fromDoubleEigenMatrix (const Eigen::MatrixXd &from_mat, double **to_mat) |
| void | fromDoubleEigenVector (const Eigen::VectorXd &from_vec, double *to_vec, const int n) |
| void | fromDoubleEigenVector (const Eigen::VectorXd &from_vec, double *to_vec) |
Definition of the FwdEegSphereModel Class.
Copyright (C) 2016, Lorenz Esch, Matti Hamalainen, Christoph Dinh. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file fwd_eeg_sphere_model.cpp.
| #define ALLOC_CMATRIX_1 | ( | x, | |
| y | |||
| ) | mne_cmatrix_1((x),(y)) |
Definition at line 102 of file fwd_eeg_sphere_model.cpp.
| #define ALLOC_DCMATRIX_1 | ( | x, | |
| y | |||
| ) | mne_dmatrix_1((x),(y)) |
Definition at line 99 of file fwd_eeg_sphere_model.cpp.
| #define CROSS_PRODUCT_1 | ( | x, | |
| y, | |||
| xy | |||
| ) |
Definition at line 87 of file fwd_eeg_sphere_model.cpp.
| #define EPS 1e-10 |
Definition at line 194 of file fwd_eeg_sphere_model.cpp.
| #define FAIL -1 |
Definition at line 118 of file fwd_eeg_sphere_model.cpp.
| #define FALSE 0 |
Definition at line 114 of file fwd_eeg_sphere_model.cpp.
| #define FREE | ( | x | ) | if ((char *)(x) != NULL) free((char *)(x)) |
Definition at line 97 of file fwd_eeg_sphere_model.cpp.
| #define FREE_CMATRIX_1 | ( | m | ) | mne_free_cmatrix_1((m)) |
Definition at line 107 of file fwd_eeg_sphere_model.cpp.
| #define FREE_DCMATRIX_1 | ( | m | ) | mne_free_dcmatrix_1((m)) |
Definition at line 100 of file fwd_eeg_sphere_model.cpp.
| #define MALLOC_1 | ( | x, | |
| t | |||
| ) | (t *)malloc((x)*sizeof(t)) |
Definition at line 93 of file fwd_eeg_sphere_model.cpp.
| #define MAXTERMS 1000 |
Definition at line 193 of file fwd_eeg_sphere_model.cpp.
Definition at line 61 of file fwd_eeg_sphere_model.cpp.
| #define OK 0 |
Definition at line 122 of file fwd_eeg_sphere_model.cpp.
| #define REALLOC_1 | ( | x, | |
| y, | |||
| t | |||
| ) | (t *)((x == NULL) ? malloc((y)*sizeof(t)) : realloc((x),(y)*sizeof(t))) |
Definition at line 95 of file fwd_eeg_sphere_model.cpp.
| #define SIN_EPS 1e-3 |
Definition at line 195 of file fwd_eeg_sphere_model.cpp.
| #define TRUE 1 |
Definition at line 110 of file fwd_eeg_sphere_model.cpp.
| #define VEC_COPY_1 | ( | to, | |
| from | |||
| ) |
Definition at line 81 of file fwd_eeg_sphere_model.cpp.
| #define VEC_DIFF_1 | ( | from, | |
| to, | |||
| diff | |||
| ) |
Definition at line 75 of file fwd_eeg_sphere_model.cpp.
| #define VEC_DOT_1 | ( | x, | |
| y | |||
| ) | ((x)[X_1]*(y)[X_1] + (x)[Y_1]*(y)[Y_1] + (x)[Z_1]*(y)[Z_1]) |
Definition at line 70 of file fwd_eeg_sphere_model.cpp.
| #define VEC_LEN_1 | ( | x | ) | sqrt(VEC_DOT_1(x,x)) |
Definition at line 71 of file fwd_eeg_sphere_model.cpp.
| #define X_1 0 |
Definition at line 64 of file fwd_eeg_sphere_model.cpp.
| #define Y_1 1 |
Definition at line 65 of file fwd_eeg_sphere_model.cpp.
| #define Z_1 2 |
Definition at line 66 of file fwd_eeg_sphere_model.cpp.
| void fromDoubleEigenMatrix | ( | const Eigen::MatrixXd & | from_mat, |
| double ** | to_mat | ||
| ) |
Definition at line 1050 of file fwd_eeg_sphere_model.cpp.
| void fromDoubleEigenMatrix | ( | const Eigen::MatrixXd & | from_mat, |
| double ** | to_mat, | ||
| const int | m, | ||
| const int | n | ||
| ) |
Definition at line 1043 of file fwd_eeg_sphere_model.cpp.
| void fromDoubleEigenVector | ( | const Eigen::VectorXd & | from_vec, |
| double * | to_vec | ||
| ) |
Definition at line 1061 of file fwd_eeg_sphere_model.cpp.
| void fromDoubleEigenVector | ( | const Eigen::VectorXd & | from_vec, |
| double * | to_vec, | ||
| const int | n | ||
| ) |
Definition at line 1055 of file fwd_eeg_sphere_model.cpp.
| float ** mne_cmatrix_1 | ( | int | nr, |
| int | nc | ||
| ) |
Definition at line 142 of file fwd_eeg_sphere_model.cpp.
| double ** mne_dmatrix_1 | ( | int | nr, |
| int | nc | ||
| ) |
Definition at line 159 of file fwd_eeg_sphere_model.cpp.
| void mne_free_cmatrix_1 | ( | float ** | m | ) |
Definition at line 176 of file fwd_eeg_sphere_model.cpp.
| void mne_free_dcmatrix_1 | ( | double ** | m | ) |
Definition at line 184 of file fwd_eeg_sphere_model.cpp.
| Eigen::MatrixXd toDoubleEigenMatrix | ( | double ** | mat, |
| const int | m, | ||
| const int | n | ||
| ) |
Definition at line 1032 of file fwd_eeg_sphere_model.cpp.