|
@@ -2,7 +2,7 @@
|
|
|
"""
|
|
|
Example code for loading and processing of a recording of the reach-
|
|
|
to-grasp experiments conducted at the Institute de Neurosciences de la Timone
|
|
|
-by Thomas Brochier and Alexa Riehle from the original Blaclrock files and
|
|
|
+by Thomas Brochier and Alexa Riehle from the original Blackrock files and
|
|
|
odML files, using the custom loading routine `ReachGraspIO`.
|
|
|
|
|
|
Authors: Julia Sprenger, Lyuba Zehl, Michael Denker
|
|
@@ -58,12 +58,13 @@ from neo_utils import load_segment
|
|
|
|
|
|
# Specify the path to the recording session to load, eg,
|
|
|
# '/home/user/l101210-001'
|
|
|
-session_name = os.path.join('..', 'datasets_blackrock', 'i140703-001')
|
|
|
-# session_name = os.path.join('..', 'datasets_blackrock', 'l101210-001')
|
|
|
+session_name = "i140703-001"
|
|
|
+# session_name = "l101210-001"
|
|
|
+session_path = os.path.join('..', 'datasets_blackrock', session_name)
|
|
|
odml_dir = os.path.join('..', 'datasets_blackrock')
|
|
|
|
|
|
# Open the session for reading
|
|
|
-session = reachgraspio.ReachGraspIO(session_name, odml_directory=odml_dir)
|
|
|
+session = reachgraspio.ReachGraspIO(session_path, odml_directory=odml_dir)
|
|
|
|
|
|
# Read a the complete dataset in lazy mode generating all neo objects,
|
|
|
# but not loading data into memory. The lazy neo structure will contain objects
|