Skip to content

Commit

Permalink
Merge branch 'dev' into tut-ecephys-add-event-detection
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel authored Nov 20, 2024
2 parents 3c51b22 + 8559eb2 commit 85fcc25
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/gallery/general/plot_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,12 @@
# object with text information about a stimulus and add it to the stimulus group in
# the :py:class:`~pynwb.file.NWBFile`.

annotations = AnnotationSeries(name='airpuffs',
data=['Left Airpuff', 'Right Airpuff', 'Right Airpuff'],
description='Airpuff events delivered to the animal',
timestamps=[1.0, 3.0, 8.0])
annotations = AnnotationSeries(
name='airpuffs',
data=['Left Airpuff', 'Right Airpuff', 'Right Airpuff'],
description='Airpuff events delivered to the animal',
timestamps=[1.0, 3.0, 8.0],
)

nwbfile.add_stimulus(annotations)

Expand Down

0 comments on commit 85fcc25

Please sign in to comment.