diff --git a/README.md b/README.md index 7f30791..fa9716f 100644 --- a/README.md +++ b/README.md @@ -5,25 +5,11 @@ ndx-franklab-novela is a python package containing NWB custom extensions. # Extensions -### Edge -An undirected edge connecting two nodes in a graph.
+### AssociatedFiles +Representation of associated files in NWB
**Attributes:**
-**name** `string`: name of this segement node
-**edge_nodes** `array_data`, `data`: the names of the two nodes in this undirected edge'
- -#### Node -A generic graph node. Subclass for more specific types of nodes.
-**Attributes:**
- **name** `string`: name of this node
- **value** `int`: value of this node'
- -#### Apparatus -Topological graph representing connected components of a behavioral apparatus.
-**Attributes:**
- **name** `string`: name of apparatus
- **nodes** `list`: Node objects contained in this apparatus
- **edges** `list`: Edge objects contained in this apparatus
- + **description** `string`: description of associated file
+ **content** `string`: content of associated file
#### HeaderDevice Representation of HeaderDevice in NWB.
@@ -49,14 +35,20 @@ Representation of HeaderDevice in NWB.
**system_time_at_creation** `string`: system_time_at_creation from header global configuration
**file_path** `string`: file_path from header global configuration
-#### NTrode -Representation of NTrode object in NWB
+#### ShanksElectrode +Representation of ShanksElectrode object in NWB
+**Attributes:**
+ **name** `string`: name of the shank
+ **rel_x** `float`: the rel_x value of this electrode
+ **rel_y** `float`: the rel_y value of this electrode
+ **rel_z** `float`: the rel_z value of this electrode of p + +#### Shank +Representation of Shank object in NWB
**Attributes:**
- **ntrode_id** `int`: id of electrode group
- **electrode_group_id** `int`: id of electrode group
- **bad_channels** `array_data`: ids of bad channel
- **map** `array_data`: map of ntrode
- + **name** `string`: name of the shank
+ **shanks_electrodes** `list`,`tuple`: 'electrodes in shank', 'default': list()
+ #### Probe Representation of Probe object in NWB
**Attributes:**
diff --git a/src/pynwb/ndx_franklab_novela/associated_files.py b/src/pynwb/ndx_franklab_novela/associated_files.py index 21b5acb..bf900b9 100644 --- a/src/pynwb/ndx_franklab_novela/associated_files.py +++ b/src/pynwb/ndx_franklab_novela/associated_files.py @@ -6,6 +6,7 @@ @register_class('AssociatedFiles', 'ndx-franklab-novela') class AssociatedFiles(NWBDataInterface): """ Representation of associated files in NWB """ + __nwbfields__ = ('description', 'content') @docval(*get_docval(NWBDataInterface.__init__) + ( diff --git a/src/pynwb/ndx_franklab_novela/header_device.py b/src/pynwb/ndx_franklab_novela/header_device.py index 12c009d..fb338f2 100644 --- a/src/pynwb/ndx_franklab_novela/header_device.py +++ b/src/pynwb/ndx_franklab_novela/header_device.py @@ -6,6 +6,7 @@ @register_class('HeaderDevice', 'ndx-franklab-novela') class HeaderDevice(Device): """Configuration comes from SpikeGadgets recording system. Represented as HeaderDevice in NWB""" + __nwbfields__ = ('headstage_serial', 'headstage_smart_ref_on', 'realtime_mode', 'headstage_auto_settle_on', 'timestamp_at_creation', 'conntroller_firmware_version', 'controller_serial', 'save_displayed_chan_only', 'headstage_firmwavare_version', 'qt_version', 'compile_date',