v2.0.0
Loading...
Searching...
No Matches
mne_source_space.cpp File Reference

Definition of the MNESourceSpace Class. More...

#include "mne_source_space.h"
#include "mne_nearest.h"
#include "mne_patch_info.h"
#include "mne_mgh_tag_group.h"
#include "mne_surface.h"
#include "mne_hemisphere.h"
#include "filter_thread_arg.h"
#include <fiff/fiff_coord_trans.h>
#include <fiff/fiff_constants.h>
#include <fiff/fiff_sparse_matrix.h>
#include <fiff/fiff_stream.h>
#include <fiff/fiff_tag.h>
#include <fiff/fiff_byte_swap.h>
#include <QFile>
#include <QTextStream>
#include <QtConcurrent>
#include <QDebug>
#include <cstring>
#include <memory>
#include <math.h>
Include dependency graph for mne_source_space.cpp:

Go to the source code of this file.

Classes

class  FiffCoordTrans
 Coordinate transformation description. More...

Macros

#define _USE_MATH_DEFINES
#define EVEN(n)
#define LH_LABEL_TAG   "-lh.label"
#define RH_LABEL_TAG   "-rh.label"

Variables

constexpr int X = 0
constexpr int Y = 1
constexpr int Z = 2
constexpr int FAIL = -1
constexpr int OK = 0
constexpr int NNEIGHBORS = 26
constexpr int CURVATURE_FILE_MAGIC_NUMBER = 16777215
constexpr int TAG_OLD_MGH_XFORM = 30
constexpr int TAG_OLD_COLORTABLE = 1
constexpr int TAG_OLD_USEREALRAS = 2
constexpr int TAG_USEREALRAS = 4

Detailed Description

Definition of the MNESourceSpace Class.

Author
Lorenz Esch lesch.nosp@m.@mgh.nosp@m..harv.nosp@m.ard..nosp@m.edu; Matti Hamalainen msh@n.nosp@m.mr.m.nosp@m.gh.ha.nosp@m.rvar.nosp@m.d.edu; Christoph Dinh chdin.nosp@m.h@nm.nosp@m.r.mgh.nosp@m..har.nosp@m.vard..nosp@m.edu
Since
0.1.0
Date
January, 2017

LICENSE

Copyright (C) 2017, 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:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of MNE-CPP authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

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 mne_source_space.cpp.

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 65 of file mne_source_space.cpp.

◆ EVEN

#define EVEN ( n)
Value:
((((n) / 2) * 2) == n)

◆ LH_LABEL_TAG

#define LH_LABEL_TAG   "-lh.label"

Definition at line 2006 of file mne_source_space.cpp.

◆ RH_LABEL_TAG

#define RH_LABEL_TAG   "-rh.label"

Definition at line 2007 of file mne_source_space.cpp.

Variable Documentation

◆ CURVATURE_FILE_MAGIC_NUMBER

int CURVATURE_FILE_MAGIC_NUMBER = 16777215
constexpr

Definition at line 79 of file mne_source_space.cpp.

◆ FAIL

int FAIL = -1
constexpr

Definition at line 74 of file mne_source_space.cpp.

◆ NNEIGHBORS

int NNEIGHBORS = 26
constexpr

Definition at line 77 of file mne_source_space.cpp.

◆ OK

int OK = 0
constexpr

Definition at line 75 of file mne_source_space.cpp.

◆ TAG_OLD_COLORTABLE

int TAG_OLD_COLORTABLE = 1
constexpr

Definition at line 82 of file mne_source_space.cpp.

◆ TAG_OLD_MGH_XFORM

int TAG_OLD_MGH_XFORM = 30
constexpr

Definition at line 81 of file mne_source_space.cpp.

◆ TAG_OLD_USEREALRAS

int TAG_OLD_USEREALRAS = 2
constexpr

Definition at line 83 of file mne_source_space.cpp.

◆ TAG_USEREALRAS

int TAG_USEREALRAS = 4
constexpr

Definition at line 84 of file mne_source_space.cpp.

◆ X

int X = 0
constexpr

Definition at line 70 of file mne_source_space.cpp.

◆ Y

int Y = 1
constexpr

Definition at line 71 of file mne_source_space.cpp.

◆ Z

int Z = 2
constexpr

Definition at line 72 of file mne_source_space.cpp.