Skip to content

Commit

Permalink
Update OptogeneticSeries to allow 2D data (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jan 9, 2024
1 parent 6ce41fa commit f631baf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
12 changes: 9 additions & 3 deletions core/nwb.ogen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/format/source/format_release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
-----------------------
Expand Down

0 comments on commit f631baf

Please sign in to comment.