v2.0.0
Loading...
Searching...
No Matches
mne_types.h File Reference

Legacy MNE-C constants and common typedefs. More...

#include <fiff/fiff_types.h>
#include <fiff/fiff_stream.h>
#include <fiff/fiff_sparse_matrix.h>
#include "mne_sss_data.h"
#include "mne_named_matrix.h"
#include "mne_sparse_named_matrix.h"
#include "mne_named_vector.h"
#include "mne_deriv_set.h"
#include "mne_proj_item.h"
#include "mne_proj_op.h"
#include "mne_cov_matrix.h"
#include "mne_ctf_comp_data.h"
#include "mne_ctf_comp_data_set.h"
#include "mne_layout_port.h"
#include "mne_layout.h"
#include "mne_ch_selection.h"
#include "mne_event.h"
#include "mne_event_list.h"
#include "mne_filter_def.h"
#include <QStringList>
Include dependency graph for mne_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MNELIB
 Core MNE data structures (source spaces, source estimates, hemispheres).

Macros

#define MNE_DEFAULT_TRIGGER_CH   "STI 014"
 Default digital trigger channel name.
#define MNE_ENV_TRIGGER_CH   "MNE_TRIGGER_CH_NAME"
 Environment variable overriding the trigger channel name.
#define MNE_ENV_ROOT   "MNE_ROOT"
 Environment variable pointing to the MNE installation root.
Source-space types

Discriminators for the type field in MNESurfaceOrVolume / MNESourceSpace.

#define MNE_SOURCE_SPACE_UNKNOWN   -1
#define MNE_SOURCE_SPACE_SURFACE   1
#define MNE_SOURCE_SPACE_VOLUME   2
#define MNE_SOURCE_SPACE_DISCRETE   3
Channel-selection kinds

Origin tag for MNEChSelection records.

#define MNE_CH_SELECTION_UNKNOWN   0
#define MNE_CH_SELECTION_FILE   1
#define MNE_CH_SELECTION_USER   2
CTF compensation grades

Software gradient-compensation levels for CTF systems.

#define MNE_CTFV_NOGRAD   0
#define MNE_CTFV_GRAD1   1
#define MNE_CTFV_GRAD2   2
#define MNE_CTFV_GRAD3   3
4D Neuroimaging compensation
#define MNE_4DV_COMP1   101

Typedefs

typedef void(* MNELIB::mneUserFreeFunc) (void *)
 Generic destructor callback for user-attached data.

Detailed Description

Legacy MNE-C constants and common typedefs.

Author
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, 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.

Provides the constants originally defined in the MNE-C mne_types.h (source-space discriminators, CTF/4D-compensation grades, channel-selection origin tags, trigger-channel defaults) together with the mneUserFreeFunc callback typedef.

This header also re-exports the individual MNE class headers that replaced the original C struct definitions, so that existing code relying on the umbrella include continues to compile. New code should include the specific class headers directly.

Definition in file mne_types.h.

Macro Definition Documentation

◆ MNE_4DV_COMP1

#define MNE_4DV_COMP1   101

4D Neuroimaging 1st-order compensation.

Definition at line 141 of file mne_types.h.

◆ MNE_CH_SELECTION_FILE

#define MNE_CH_SELECTION_FILE   1

Loaded from file.

Definition at line 118 of file mne_types.h.

◆ MNE_CH_SELECTION_UNKNOWN

#define MNE_CH_SELECTION_UNKNOWN   0

Unknown origin.

Definition at line 117 of file mne_types.h.

◆ MNE_CH_SELECTION_USER

#define MNE_CH_SELECTION_USER   2

Created interactively.

Definition at line 119 of file mne_types.h.

◆ MNE_CTFV_GRAD1

#define MNE_CTFV_GRAD1   1

1st-order gradient compensation.

Definition at line 132 of file mne_types.h.

◆ MNE_CTFV_GRAD2

#define MNE_CTFV_GRAD2   2

2nd-order gradient compensation.

Definition at line 133 of file mne_types.h.

◆ MNE_CTFV_GRAD3

#define MNE_CTFV_GRAD3   3

3rd-order gradient compensation.

Definition at line 134 of file mne_types.h.

◆ MNE_CTFV_NOGRAD

#define MNE_CTFV_NOGRAD   0

No gradient compensation.

Definition at line 131 of file mne_types.h.

◆ MNE_DEFAULT_TRIGGER_CH

#define MNE_DEFAULT_TRIGGER_CH   "STI 014"

Default digital trigger channel name.

Definition at line 149 of file mne_types.h.

◆ MNE_ENV_ROOT

#define MNE_ENV_ROOT   "MNE_ROOT"

Environment variable pointing to the MNE installation root.

Definition at line 155 of file mne_types.h.

◆ MNE_ENV_TRIGGER_CH

#define MNE_ENV_TRIGGER_CH   "MNE_TRIGGER_CH_NAME"

Environment variable overriding the trigger channel name.

Definition at line 152 of file mne_types.h.

◆ MNE_SOURCE_SPACE_DISCRETE

#define MNE_SOURCE_SPACE_DISCRETE   3

Discrete point set.

Definition at line 105 of file mne_types.h.

◆ MNE_SOURCE_SPACE_SURFACE

#define MNE_SOURCE_SPACE_SURFACE   1

Surface-based source space.

Definition at line 103 of file mne_types.h.

◆ MNE_SOURCE_SPACE_UNKNOWN

#define MNE_SOURCE_SPACE_UNKNOWN   -1

Type not yet determined.

Definition at line 102 of file mne_types.h.

◆ MNE_SOURCE_SPACE_VOLUME

#define MNE_SOURCE_SPACE_VOLUME   2

Volumetric (3-D grid) source space.

Definition at line 104 of file mne_types.h.