File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
element_array_ephys/export/nwb Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ def add_ephys_units_to_nwb(
293
293
294
294
def get_electrodes_mapping (electrodes ):
295
295
"""
296
- Create a mapping from the group (shank) and electrode id within that group to the row number of the electrodes
296
+ Create a mapping from the probe and electrode id to the row number of the electrodes
297
297
table. This is used in the construction of the DynamicTableRegion that indicates what rows of the electrodes
298
298
table correspond to the data in an ElectricalSeries.
299
299
@@ -342,8 +342,11 @@ def gains_helper(gains):
342
342
343
343
344
344
def add_ephys_recording_to_nwb (
345
- session_key : dict , ephys_root_data_dir ,
346
- nwbfile : pynwb .NWBFile , end_frame : int = None ):
345
+ session_key : dict ,
346
+ ephys_root_data_dir : str ,
347
+ nwbfile : pynwb .NWBFile ,
348
+ end_frame : int = None ,
349
+ ):
347
350
"""
348
351
Read voltage data directly from source files and iteratively transfer them to the NWB file. Automatically
349
352
applies lossless compression to the data, so the final file might be smaller than the original, without
@@ -354,6 +357,7 @@ def add_ephys_recording_to_nwb(
354
357
Parameters
355
358
----------
356
359
session_key: dict
360
+ ephys_root_data_dir: str
357
361
nwbfile: NWBFile
358
362
end_frame: int, optional
359
363
Used for small test conversions
You can’t perform that action at this time.
0 commit comments