Skip to content

Red and green channels on the same imaging plane #14

Closed
@ageorgou

Description

@ageorgou

Related to #6, but it seems this was always an error (in NWB2, at least)!

When adding an imaging plane, we create one or two associated optical channels, for green and/or red, according to what data is available. However, the schema for the imaging plane makes it look like there should only be one channel. pynwb doesn't warn about this, but the MATLAB API gives an error and fails to load the file, which is how we started suspecting this was wrong.

We can work around this by creating different imaging planes e.g. "Zstack_0027_red" and "Zstack_0027_green", which also involves various other changes throughout the code.

May be worth double-checking that this is indeed an error, and possibly adding a relevant test in pynwb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NWBUse of the NWB format or its interfaces

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions