Skip to content

Commit 208ee8c

Browse files
committed
Merge branch 'master' into update_template
2 parents 184ccee + 1f129aa commit 208ee8c

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Representation of a probe in NWB.
8585
- **probe_type** `string`: type of probe
8686
- **units** `string`: units in device
8787
- **probe_description** `string`: description of probe
88-
- **contact_side_numbering** `bool`: is contact_side_numbering enabled
88+
- **contact_side_numbering** `bool`: Whether the electrodes were numbered in a scheme wherein the contacts were electrodes facing up toward the viewer (true) or if the numbering was based on the electrodes facing down (false). This is relevant when the goal is to determine where in the tissue each electrode contact is located. (optional)
8989
- **contact_size** `float`: value of contact size as float
9090
- **shanks** `dict`: shanks in the probe
9191

spec/ndx-franklab-novela.extensions.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ groups:
4444
doc: description of the probe
4545
- name: contact_side_numbering
4646
dtype: bool
47-
doc: is contact_side_numbering enabled
47+
doc: Whether the electrodes were numbered in a scheme wherein the contacts
48+
were electrodes facing up toward the viewer (true) or if the numbering was
49+
based on the electrodes facing down (false). This is relevant when the
50+
goal is to determine where in the tissue each electrode contact is
51+
located.
52+
required: false
4853
- name: contact_size
4954
dtype: float
5055
doc: value of contact size in float

src/spec/create_extension_spec.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,17 @@ def main():
5858
NWBAttributeSpec(name="probe_type", doc="type of the probe", dtype="text"),
5959
NWBAttributeSpec(name="units", doc="units in probe, acceptable values um or mm", dtype="text"),
6060
NWBAttributeSpec(name="probe_description", doc="description of the probe", dtype="text"),
61-
NWBAttributeSpec(name="contact_side_numbering", doc="is contact_side_numbering enabled", dtype="bool"),
61+
NWBAttributeSpec(
62+
name="contact_side_numbering",
63+
doc=(
64+
"Whether the electrodes were numbered in a scheme wherein the contacts were "
65+
"electrodes facing up toward the viewer (true) or if the numbering was based "
66+
"on the electrodes facing down (false). This is relevant when the goal is to "
67+
"determine where in the tissue each electrode contact is located."
68+
),
69+
dtype="bool",
70+
required=False,
71+
),
6272
NWBAttributeSpec(name="contact_size", doc="value of contact size in float", dtype="float"),
6373
],
6474
)

0 commit comments

Comments
 (0)