From f631baf09016b7a04e0865290c3b252f9325bc42 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Tue, 9 Jan 2024 13:33:47 -0800 Subject: [PATCH] Update `OptogeneticSeries` to allow 2D data (#564) --- core/nwb.ogen.yaml | 12 +++++++++--- docs/format/source/format_release_notes.rst | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/core/nwb.ogen.yaml b/core/nwb.ogen.yaml index eb0bcdac..419d6190 100644 --- a/core/nwb.ogen.yaml +++ b/core/nwb.ogen.yaml @@ -6,10 +6,16 @@ groups: - name: data dtype: numeric dims: - - num_times + - - num_times + - - num_times + - num_rois shape: - - null - doc: Applied power for optogenetic stimulus, in watts. + - - null + - - null + - null + doc: Applied power for optogenetic stimulus, in watts. Shape can be 1D or 2D. + 2D data is meant to be used in an extension of OptogeneticSeries that + defines what the second dimension represents. attributes: - name: unit dtype: text diff --git a/docs/format/source/format_release_notes.rst b/docs/format/source/format_release_notes.rst index c97c1363..f909b35f 100644 --- a/docs/format/source/format_release_notes.rst +++ b/docs/format/source/format_release_notes.rst @@ -9,6 +9,7 @@ Release Notes Minor changes ^^^^^^^^^^^^^ - Fixed typos in docstrings. (#560) +- Modified `OptogeneticSeries` to allow 2D data, primarily in extensions of `OptogeneticSeries`. (#564) 2.6.0 (January 17, 2023) -----------------------