Skip to content

Commit

Permalink
Merge pull request #326 from NeurodataWithoutBorders/enh/device_desc
Browse files Browse the repository at this point in the history
Add description and manufacturer to Device, extract to new file
  • Loading branch information
rly authored Nov 13, 2019
2 parents e813662 + 717528c commit ff42013
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
14 changes: 14 additions & 0 deletions core/nwb.device.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
groups:
- neurodata_type_def: Device
neurodata_type_inc: NWBContainer
doc: Metadata about a data acquisition device, e.g., recording system, electrode, microscope.
attributes:
- name: description
dtype: text
doc: Description of the device (e.g., model, firmware version, processing software version, etc.)
as free-form text.
quantity: '?'
- name: manufacturer
dtype: text
doc: The name of the manufacturer of the device.
quantity: '?'
7 changes: 3 additions & 4 deletions core/nwb.file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,9 @@ groups:
ADC boards, microscopes, etc.
quantity: '?'
groups:
- neurodata_type_def: Device
neurodata_type_inc: NWBContainer
doc: A data acquisition device, e.g. recording system.
quantity: '+'
- neurodata_type_inc: Device
doc: Data acquisition devices.
quantity: '*'
- neurodata_type_def: Subject
neurodata_type_inc: NWBContainer
name: subject
Expand Down
3 changes: 3 additions & 0 deletions core/nwb.namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ namespaces:
format.
source: nwb.base.yaml
title: Base data types
- doc: This source module contains neurodata_types for device data.
source: nwb.device.yaml
title: Devices
- doc: This source module contains neurodata_types for epoch data.
source: nwb.epoch.yaml
title: Epochs
Expand Down

0 comments on commit ff42013

Please sign in to comment.