-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The NwbImageSeries type contains a collection of Device types. This will nest the Device under NwbImageSeries. This is OK, but to fit NWB best practices better, all Device types should live under the path /general/devices which is done in PyNWB via nwbfile.create_device(name='dev0') and the NwbImageSeries type should link to those Devices.
Current:
- neurodata_type_def: NwbImageSeries
neurodata_type_inc: ImageSeries
doc: Extension of ImageSeries object in NWB
groups:
- neurodata_type_inc: Device
doc: devices used to record video
quantity: '*'Suggestion:
- neurodata_type_def: NwbImageSeries
neurodata_type_inc: ImageSeries
doc: Extension of ImageSeries object in NWB
links:
- target_type: Device
doc: devices used to record video
quantity: '*'@lfrank This extended NwbImageSeries is currently set up to associate an ImageSeries with multiple devices. When would you want to link more than one device with the same NwbImageSeries? Would quantity: ?, which means zero or one devices are present, be more appropriate?
Note that NWB 2.3.0 adds to the base ImageSeries type an optional link to one Device. If this is sufficient, then we can update the extension to remove this type. If it makes sense to associate it with multiple devices, then we can consider amending the NWB schema to allow that.