Skip to content

Commit

Permalink
FIX: Ex
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 23, 2024
1 parent b470b43 commit 949c028
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,7 @@ def reset_warnings(gallery_conf, fname):
r"iteritems is deprecated.*Use \.items instead\.",
"is_categorical_dtype is deprecated.*",
"The default of observed=False.*",
"When grouping with a length-1 list-like.*",
):
warnings.filterwarnings(
"ignore",
Expand Down
2 changes: 2 additions & 0 deletions examples/time_frequency/time_frequency_erds.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
# %%
# First, we load and preprocess the data. We use runs 6, 10, and 14 from
# subject 1 (these runs contains hand and feet motor imagery).

fnames = eegbci.load_data(subject=1, runs=(6, 10, 14))
raw = concatenate_raws([read_raw_edf(f, preload=True) for f in fnames])

Expand All @@ -59,6 +60,7 @@

# %%
# Now we can create 5-second epochs around events of interest.

tmin, tmax = -1, 4
event_ids = dict(hands=2, feet=3) # map event IDs to tasks

Expand Down

0 comments on commit 949c028

Please sign in to comment.