Skip to content

Commit 1476eff

Browse files
committed
docs: add reference to check_time_intervals_duration function in best practices for tables
1 parent 539d25e commit 1476eff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/best_practices/tables.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ Times are always stored in seconds in NWB. In :ref:`nwb-schema:sec-TimeIntervals
120120

121121
Additional time columns in :ref:`nwb-schema:sec-TimeIntervals` tables, such as the ``TrialsTable`` should have ``_time`` as a suffix to the name. *E.g.*, if you add more times in ``TrialsTable``, such as a subject response time, name it ``response_time`` and store the time values in seconds from the ``timestamps_reference_time`` of the :ref:`nwb-schema:sec-NWBFile`, just like ``start_time`` and ``stop_time``. This convention is used by downstream processing tools. For instance, NWBWidgets uses these times to create peri-stimulus time histograms relating spiking activity to trial events. See :ref:`best_practice_global_time_reference` for more details.
122122

123+
Check function :py:meth:`~nwbinspector.checks._tables.check_time_intervals_duration`
124+
123125
.. _best_practice_unique_dynamic_table_ids:
124126

125127
Unique ids

0 commit comments

Comments
 (0)