[med-svn] [python-mne] 60/376: Added missing constants

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:22:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.1
in repository python-mne.

commit ea771ff319d1ceb737f72f4350d1de66c8300b12
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Fri Jan 28 09:48:49 2011 -0500

    Added missing constants
---
 mne/fiff/constants.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/mne/fiff/constants.py b/mne/fiff/constants.py
index 2af0acf..363f5e1 100644
--- a/mne/fiff/constants.py
+++ b/mne/fiff/constants.py
@@ -234,6 +234,7 @@ FIFF.FIFF_MNE_SOURCE_SPACE_NUSE          = 3514    # How many are in use
 FIFF.FIFF_MNE_SOURCE_SPACE_NEAREST       = 3515    # Nearest source space vertex for all vertices
 FIFF.FIFF_MNE_SOURCE_SPACE_NEAREST_DIST  = 3516    # Distance to the Nearest source space vertex for all vertices
 FIFF.FIFF_MNE_SOURCE_SPACE_ID            = 3517    # Identifier
+FIFF.FIFF_MNE_SOURCE_SPACE_TYPE          = 3518    # Surface or volume
 
 FIFF.FIFF_MNE_SOURCE_SPACE_NTRI          = 3590    # Number of triangles
 FIFF.FIFF_MNE_SOURCE_SPACE_TRIANGLES     = 3591    # The triangulation
@@ -315,6 +316,20 @@ FIFF.FIFFV_MNE_SIGNAL_COV           = 4         # This will be potentially emplo
 FIFF.FIFFV_MNE_DEPTH_PRIOR_COV      = 5         # The depth weighting prior
 FIFF.FIFFV_MNE_ORIENT_PRIOR_COV     = 6     # The orientation prior
 #
+# Source space types (values of FIFF_MNE_SOURCE_SPACE_TYPE)
+#
+FIFF.FIFFV_MNE_SPACE_UNKNOWN  = -1
+FIFF.FIFFV_MNE_SPACE_SURFACE  = 1
+FIFF.FIFFV_MNE_SPACE_VOLUME   = 2
+FIFF.FIFFV_MNE_SPACE_DISCRETE = 3
+#
+# Covariance matrix channel classification
+#
+FIFF.FIFFV_MNE_COV_CH_UNKNOWN  = -1  # No idea
+FIFF.FIFFV_MNE_COV_CH_MEG_MAG  =  0  # Axial gradiometer or magnetometer [T]
+FIFF.FIFFV_MNE_COV_CH_MEG_GRAD =  1  # Planar gradiometer [T/m]
+FIFF.FIFFV_MNE_COV_CH_EEG      =  2  # EEG [V]
+#
 # Projection item kinds
 #
 FIFF.FIFFV_PROJ_ITEM_NONE           = 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git



More information about the debian-med-commit mailing list