49#define VEC_DOT_43(x,y) ((x)[X_43]*(y)[X_43] + (x)[Y_43]*(y)[Y_43] + (x)[Z_43]*(y)[Z_43])
51#define FREE_43(x) if ((char *)(x) != NULL) free((char *)(x))
89 for (k = 0; k < p->
nmemb; k++) {
92 for (q = 0; q < nneigh; q++)
102 float cos_theta,size;
108 for (k = 0; k < p->
nmemb; k++) {
119 for (k = 0; k < p->
nmemb; k++) {
121 if (cos_theta < -1.0)
123 else if (cos_theta > 1.0)
125 p->
dev_nn += acos(cos_theta);
MneSourceSpaceOld class declaration.
MneTriangle class declaration.
MNE Patch Information (MnePatchInfo) class declaration.
Core MNE data structures (source spaces, source estimates, hemispheres).
static void calculate_patch_area(MneSourceSpaceOld *s, MnePatchInfo *p)
static void calculate_normal_stats(MneSourceSpaceOld *s, MnePatchInfo *p)
This defines a source space.