Skip to content

NwbImageSeries contains Devices but should link to them #68

@rly

Description

@rly

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions