This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
epochsToStc | |
@author:wronk | |
Convert epochs to stc and save as array for use in Blender. | |
""" | |
import mne | |
import numpy as np |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
plyfun | |
@author:wronk | |
Write surface to a .ply (Stanford 3D mesh file) in a way that preserves | |
vertex order in the MNE sense. Extendable for colors or other vertex/face properties. | |
.ply format: https://en.wikipedia.org/wiki/PLY_(file_format) | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<!-- saved from url=(0021)file:///tmp/tmpnc7vEt --> | |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Generate an inverse solution via python | |
import mne | |
import os | |
fwdName = "fwd.fif" | |
rawName = "raw.fif" | |
covName = "noiseCov.fif" | |
fSaveInv = os.path.join(os.getcwd(), "invPython.fif") |
NewerOlder