Skip to content

Commit 9d99119

Browse files
authored
Merge pull request #482 from NeurodataWithoutBorders/enh/time_intervals
Update TimeIntervals to use the new TimeSeriesReferenceVectorData
2 parents 81cee96 + 7fe092a commit 9d99119

File tree

2 files changed

+53
-23
lines changed

2 files changed

+53
-23
lines changed

core/nwb.epoch.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,7 @@ groups:
2222
doc: Index for tags.
2323
quantity: '?'
2424
- name: timeseries
25-
neurodata_type_inc: VectorData
26-
dtype:
27-
- name: idx_start
28-
dtype: int32
29-
doc: Start index into the TimeSeries 'data' and 'timestamp' datasets of the
30-
referenced TimeSeries. The first dimension of those arrays is always time.
31-
- name: count
32-
dtype: int32
33-
doc: Number of data samples available in this time series, during this epoch.
34-
- name: timeseries
35-
dtype:
36-
target_type: TimeSeries
37-
reftype: object
38-
doc: the TimeSeries that this index applies to.
25+
neurodata_type_inc: TimeSeriesReferenceVectorData
3926
doc: An index into a TimeSeries object.
4027
quantity: '?'
4128
- name: timeseries_index

docs/format/source/format_release_notes.rst

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,58 @@ Release Notes
22
=============
33

44
2.4.0 (Aug. 7, 2021)
5-
----------------
6-
7-
- Fix incorrect dtype for electrodes table column "filtering" (float -> text)
8-
- Remove "quantity: *" from the type definitions of ``OptogeneticStimulusSite`` and ``ImagingPlane``.
9-
This change improves clarity of the schema to follow best practices. It has no functional effect on the schema.
10-
- Require the "data" dataset in ``ImageSeries``. Since ``ImageSeries`` is a ``TimeSeries`` and ``TimeSeries`` requires
11-
the "data" dataset, ``ImageSeries`` should also require the "data" dataset. Otherwise this creates problems for
12-
inheritance and validation. If ``ImageSeries`` data are stored in an external file, then "data" should be set to
13-
an empty 3D array.
5+
--------------------
6+
7+
8+
Major changes
9+
^^^^^^^^^^^^^
10+
- Added new ``TimeSeriesReferenceVectorData`` type for referencing ranges of ``TimeSeries`` from a ``VectorData`` column (#470)
11+
- Updated ``TimeIntervals`` to use the new ``TimeSeriesReferenceVectorData`` type. This does not alter the overall structure
12+
of ``TimeIntervals`` in a major way aside from changing the value of the ``neurodata_type`` attribute in the file
13+
from ``VectorData`` to ```TimeSeriesReferenceVectorData``. This change replaces the existing ``TimeIntervals.timeseries``
14+
column with a ``TimeSeriesReferenceVectorData`` type column of the same name and overall schema. This change facilitate creating
15+
common functionality around ``TimeSeriesReferenceVectorData``. This change affects all existing ``TimeIntervals`` tables
16+
as part of the ``intervals/`` group, i.e., ``intervals/epochs``, ``intervals/trials``, and ``intervals/invalid_times`` (#482)
17+
- Integrated the intracellular electrophysiology experiment metadata table structure developed as part of the
18+
`ndx-icephys-meta <https://github.com/oruebel/ndx-icephys-meta>`_ extension project with NWB (#470). This includes the
19+
following new types:
20+
21+
- ``IntracellularRecordingsTable`` is an ``AlignedDynamicTable`` for managing individual intracellular recordings and
22+
to group together a stimulus and response from a single electrode recording. The table contains the following category tables:
23+
24+
- ``IntracellularElectrodesTable``; a ``DynamicTable`` for storing metadata about the ``IntracellularElectrode`` used
25+
- ``IntracellularStimuliTable``; a ``DynamicTable`` for storing metadata about the recorded stimulus ``TimeSeries``
26+
using the new ``TimeSeriesReferenceVectorData`` type to reference ``TimeSeries``
27+
- ``IntracellularResponsesTable``; a ``DynamicTable`` for storing metadata about the recorded response ``TimeSeries``
28+
using the new ``TimeSeriesReferenceVectorData`` type to reference ``TimeSeries``
29+
30+
- ``SimultaneousRecordingsTable`` is a ``DynamicTable`` for grouping different intracellular recordings from the
31+
``IntracellularRecordingsTable`` together that were recorded simultaneously from different electrodes and for
32+
storing metdata about simultaneous recordings
33+
- ``SequentialRecordingsTable`` is a ``DynamicTable`` for grouping different sequential recordings from the
34+
``SimultaneousRecordingsTable`` together and storing metadata about sequential recordings
35+
- ``RepetitionsTable`` a ``DynamicTable`` for grouping different sequential intracellular recordings from the
36+
``SequentialRecordingsTable`` together and storing metadata about repetitions
37+
- ``ExperimentalConditionsTable`` is a ``DynamicTable`` for grouping different intracellular recording repetitions
38+
from the ``RepetitionsTable`` together and storing metadata about experimental conditions
39+
40+
- Added the new intracellular electrophysiology metadata tables to ``/general/intracellular_ephys`` as part of ``NWBFile`` (#470)
41+
42+
Deprecations
43+
^^^^^^^^^^^^
44+
- ``SweepTable`` has been deprecated in favor of the new intracellular electrophysiology metadata tables. Use of ``SweepTable``
45+
is still possible but no longer recommended. (#470)
46+
- ``/general/intracellular_ephys/filtering`` has been deprecated in favor of ``IntracellularElectrode.filtering`` (#470)
47+
48+
Bug Fixes
49+
^^^^^^^^^
50+
- Fixed incorrect dtype for electrodes table column "filtering" (float -> text) (#478)
51+
- Removed ``quantity: *`` from the type definitions of ``OptogeneticStimulusSite`` and ``ImagingPlane``.
52+
This change improves clarity of the schema to follow best practices. It has no functional effect on the schema. (#472)
53+
- Updated ``ImageSeries`` to have its ``data`` dataset be required. Since ``ImageSeries`` is a ``TimeSeries`` and ``TimeSeries.data``
54+
is required, ``ImageSeries.data`` should also be a required dataset. Otherwise this creates problems for
55+
inheritance and validation. If ``ImageSeries`` data are stored in an external file, then ``ImageSeries.data`` should
56+
be set to an empty 3D array. (#481)
1457

1558
2.3.0 (May 12, 2021)
1659
---------------------

0 commit comments

Comments
 (0)