Skip to content

Commit

Permalink
Add DeviceModel neurodata type
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Feb 5, 2025
1 parent f9fb35f commit 79dd112
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
38 changes: 34 additions & 4 deletions core/nwb.device.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
groups:
- neurodata_type_def: Device
neurodata_type_inc: NWBContainer
doc: Metadata about a data acquisition device, e.g., recording system, electrode, microscope.
doc: Metadata about a specific instance of a data acquisition device, e.g., recording system, electrode, microscope.
Link to a DeviceModel.model to represent information about the model of the device.
attributes:
- name: description
dtype: text
Expand All @@ -10,17 +11,46 @@ groups:
required: false
- name: manufacturer
dtype: text
doc: The name of the manufacturer of the device, e.g., Imec, Plexon, Thorlabs.
doc: DEPRECATED. The name of the manufacturer of the device, e.g., Imec, Plexon, Thorlabs.
Instead of using this field, store the value in DeviceModel.manufacturer and link to that
DeviceModel from this Device.
required: false
- name: model_number
dtype: text
doc: The model number (or part/product number) of the device, e.g., PRB_1_4_0480_1, PLX-VP-32-15SE(75)-(260-80)(460-10)-300-(1)CON/32m-V, BERGAMO.
doc: DEPRECATED. The model number (or part/product number) of the device, e.g., PRB_1_4_0480_1,
PLX-VP-32-15SE(75)-(260-80)(460-10)-300-(1)CON/32m-V, BERGAMO.
Instead of using this field, store the value in DeviceModel.model_number and link to that
DeviceModel from this Device.
required: false
- name: model_name
dtype: text
doc: The model name of the device, e.g., Neuropixels 1.0, V-Probe, Bergamo III.
doc: DEPRECATED. The model name of the device, e.g., Neuropixels 1.0, V-Probe, Bergamo III.
Instead of using this field, storing the value in DeviceModel.name and link to that
DeviceModel from this Device.
required: false
- name: serial_number
dtype: text
doc: The serial number of the device.
required: false
links:
- name: model
target_type: DeviceModel
doc: The model of the device.
quantity: '?'
- neurodata_type_def: DeviceModel
neurodata_type_inc: NWBContainer
doc: Model properties of a data acquisition device, e.g., recording system, electrode, microscope.
This should be extended for specific types of device models to include additional attributes specific to each type.
attributes:
- name: manufacturer
dtype: text
doc: The name of the manufacturer of the device model, e.g., Imec, Plexon, Thorlabs.
- name: model_number
dtype: text
doc: The model number (or part/product number) of the device, e.g., PRB_1_4_0480_1,
PLX-VP-32-15SE(75)-(260-80)(460-10)-300-(1)CON/32m-V, BERGAMO.
required: false
- name: description
dtype: text
doc: Description of the device model as free-form text.
required: false
5 changes: 5 additions & 0 deletions docs/format/source/format_release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Release Notes
2.9.0 (Upcoming)
----------------

Major changes
^^^^^^^^^^^^^
- Deprecated ``Device.model_number``, ``Device.model_name``, ``Device.serial_number``. Use
``Device.model`` link and new ``DeviceModel`` neurodata type instead.

Minor changes
^^^^^^^^^^^^^
- Fixed typo and removed HTML tag from doc of behavioral neurodata types. (#600)
Expand Down

0 comments on commit 79dd112

Please sign in to comment.