File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1515
1616It is recommended to cover :ref:`basics` before this tutorial.
1717
18+ .. note:: It is recommended to check if your source data is supported by
19+ `NeuroConv Extracellular Electrophysiology Gallery <https://neuroconv.readthedocs.io/en/main/conversion_examples_gallery/conversion_example_gallery.html#extracellular-electrophysiology>`_.
20+ If it is supported, it is recommended to use NeuroConv to convert your data.
21+
1822The following examples will reference variables that may not be defined within the block they are used in. For
1923clarity, we define them here:
2024"""
Original file line number Diff line number Diff line change 1414
1515It is recommended to cover :ref:`basics` before this tutorial.
1616
17+ .. note:: It is recommended to check if your source data is supported by
18+ `NeuroConv Optical Physiology Gallery <https://neuroconv.readthedocs.io/en/main/conversion_examples_gallery/conversion_example_gallery.html#optical-physiology>`_.
19+ If it is supported, it is recommended to use NeuroConv to convert your data.
20+
1721The following examples will reference variables that may not be defined within the block they are used in. For
1822clarity, we define them here:
1923"""
Original file line number Diff line number Diff line change 275275####################
276276# :py:class:`~pynwb.base.TimeSeries` objects can be added directly to :py:class:`~pynwb.file.NWBFile` using:
277277#
278- # * :py:meth:`~pynwb.file.NWBFile.add_acquisition` to add *acquisition* data (raw, acquired data that should never
279- # change),
280- # * :py:meth:`~pynwb.file.NWBFile.add_stimulus` to add *stimulus* data, or
281- # * :py:meth:`~pynwb.file.NWBFile.add_stimulus_template` to store *stimulus templates*.
278+ # * :py:meth:`.NWBFile.add_acquisition` to add *acquisition* data (raw, acquired data that should never change),
279+ # * :py:meth:`.NWBFile.add_stimulus` to add *stimulus* data, or
280+ # * :py:meth:`.NWBFile.add_stimulus_template` to store *stimulus templates*.
282281#
283282
284283nwbfile .add_acquisition (time_series_with_timestamps )
383382 name = "behavior" , description = "processed behavioral data"
384383)
385384behavior_module .add (position_obj )
385+ behavior_module
386386
387387####################
388388#
617617
618618nwbfile .add_time_intervals (sleep_stages )
619619
620+ sleep_stages .to_dataframe ()
621+
620622####################
621623# Now we overwrite the file with all of the data
622624
You can’t perform that action at this time.
0 commit comments