|
@@ -0,0 +1,71 @@
|
|
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
+<html><head><title>Python: module readrawnix</title>
|
|
|
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
+</head><body bgcolor="#f0f0f8">
|
|
|
+
|
|
|
+<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
|
+<tr bgcolor="#7799ee">
|
|
|
+<td valign=bottom> <br>
|
|
|
+<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>readrawnix</strong></big></big></font></td
|
|
|
+><td align=right valign=bottom
|
|
|
+><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/achilleas/code/pilsen-workshop/DataConversionToNIX/readrawnix.py">/Users/achilleas/code/pilsen-workshop/DataConversionToNIX/readrawnix.py</a></font></td></tr></table>
|
|
|
+ <p><tt>readrawnix.py<br>
|
|
|
+ <br>
|
|
|
+Usage:<br>
|
|
|
+ python readrawnix.py <nixfile><br>
|
|
|
+ <br>
|
|
|
+Arguments:<br>
|
|
|
+ nixfile Path to the NIX file to read.<br>
|
|
|
+ <br>
|
|
|
+ <br>
|
|
|
+(Requires Python 3)<br>
|
|
|
+ <br>
|
|
|
+Command line script for reading NIX files into an MNE structure (mne-python).<br>
|
|
|
+NIX file should have been created using the mnetonix.py script/module. This<br>
|
|
|
+reader expects certain objects relationships and names to exist in order to<br>
|
|
|
+load all data and metadata successfully. Refer to the "NIX Format Layout" in<br>
|
|
|
+the mnetonix.py module for details.<br>
|
|
|
+ <br>
|
|
|
+To include in a script, call the 'importnix()' and provide a NIX filename.</tt></p>
|
|
|
+<p>
|
|
|
+<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
|
+<tr bgcolor="#aa55cc">
|
|
|
+<td colspan=3 valign=bottom> <br>
|
|
|
+<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
|
|
|
+
|
|
|
+<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
|
|
+<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="mne.html">mne</a><br>
|
|
|
+<a href="nixio.html">nixio</a><br>
|
|
|
+</td><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
|
|
|
+<a href="os.html">os</a><br>
|
|
|
+</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
|
|
|
+</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
|
|
|
+<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
|
+<tr bgcolor="#eeaa77">
|
|
|
+<td colspan=3 valign=bottom> <br>
|
|
|
+<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
|
|
+
|
|
|
+<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
|
|
|
+<td width="100%"><dl><dt><a name="-convert_prop_type"><strong>convert_prop_type</strong></a>(prop)</dt></dl>
|
|
|
+ <dl><dt><a name="-create_mne_annotations"><strong>create_mne_annotations</strong></a>(mtags)</dt></dl>
|
|
|
+ <dl><dt><a name="-import_nix"><strong>import_nix</strong></a>(nixfilename)</dt><dd><tt>Import a NIX file (generated with mnetonix.py) into an MNE Raw structure.<br>
|
|
|
+ <br>
|
|
|
+:param nixfilename: Path to the NIX file to be loaded.<br>
|
|
|
+:rtype: mne.io.RawArray</tt></dd></dl>
|
|
|
+ <dl><dt><a name="-main"><strong>main</strong></a>()</dt></dl>
|
|
|
+ <dl><dt><a name="-md_to_dict"><strong>md_to_dict</strong></a>(section)</dt></dl>
|
|
|
+ <dl><dt><a name="-merge_data_arrays"><strong>merge_data_arrays</strong></a>(arrays)</dt></dl>
|
|
|
+</td></tr></table><p>
|
|
|
+<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
|
+<tr bgcolor="#55aa55">
|
|
|
+<td colspan=3 valign=bottom> <br>
|
|
|
+<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
|
|
+
|
|
|
+<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
|
|
+<td width="100%"><strong>DATA_BLOCK_NAME</strong> = 'EEG Data Block'<br>
|
|
|
+<strong>DATA_BLOCK_TYPE</strong> = 'Recording'<br>
|
|
|
+<strong>RAW_DATA_GROUP_NAME</strong> = 'Raw Data Group'<br>
|
|
|
+<strong>RAW_DATA_GROUP_TYPE</strong> = 'EEG Channels'<br>
|
|
|
+<strong>RAW_DATA_TYPE</strong> = 'Raw Data'<br>
|
|
|
+<strong>typemap</strong> = {'bool': <class 'bool'>, 'float': <class 'float'>, 'int': <class 'int'>, 'list': <class 'list'>, 'numpy.float64': <class 'numpy.float64'>, 'numpy.ndarray': <built-in function array>, 'str': <class 'str'>, 'tuple': <class 'tuple'>}</td></tr></table>
|
|
|
+</body></html>
|