Skip to content

Commit ce94c05

Browse files
authored
Fix bad cross-ref syntax (#13690)
1 parent 4051f31 commit ce94c05

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

examples/datasets/limo_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250

251251
# %%
252252
# Now we can set up the linear model to be used in the analysis using
253-
# MNE-Python's func:`~mne.stats.linear_regression` function.
253+
# MNE-Python's :func:`~mne.stats.linear_regression` function.
254254

255255
reg = linear_regression(limo_epochs, design_matrix=design, names=predictor_vars)
256256

mne/io/edf/edf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class RawEDF(BaseRaw):
149149
annotations.
150150
151151
If channels named 'status' or 'trigger' are present, they are considered as
152-
STIM channels by default. Use func:`mne.find_events` to parse events
152+
STIM channels by default. Use :func:`mne.find_events` to parse events
153153
encoded in such analog stim channels.
154154
"""
155155

@@ -361,7 +361,7 @@ class RawBDF(BaseRaw):
361361
annotations.
362362
363363
If channels named 'status' or 'trigger' are present, they are considered as
364-
STIM channels by default. Use func:`mne.find_events` to parse events
364+
STIM channels by default. Use :func:`mne.find_events` to parse events
365365
encoded in such analog stim channels.
366366
"""
367367

@@ -517,7 +517,7 @@ class RawGDF(BaseRaw):
517517
Notes
518518
-----
519519
If channels named 'status' or 'trigger' are present, they are considered as
520-
STIM channels by default. Use func:`mne.find_events` to parse events
520+
STIM channels by default. Use :func:`mne.find_events` to parse events
521521
encoded in such analog stim channels.
522522
"""
523523

@@ -1978,7 +1978,7 @@ def read_raw_edf(
19781978
obtain events from these annotations.
19791979
19801980
If channels named 'status' or 'trigger' are present, they are considered as
1981-
STIM channels by default. Use func:`mne.find_events` to parse events
1981+
STIM channels by default. Use :func:`mne.find_events` to parse events
19821982
encoded in such analog stim channels.
19831983
19841984
The EDF specification allows optional storage of channel types in the
@@ -2142,7 +2142,7 @@ def read_raw_bdf(
21422142
obtain events from these annotations.
21432143
21442144
If channels named 'status' or 'trigger' are present, they are considered as
2145-
STIM channels by default. Use func:`mne.find_events` to parse events
2145+
STIM channels by default. Use :func:`mne.find_events` to parse events
21462146
encoded in such analog stim channels.
21472147
"""
21482148
_check_args(input_fname, preload, "bdf")
@@ -2222,7 +2222,7 @@ def read_raw_gdf(
22222222
Notes
22232223
-----
22242224
If channels named 'status' or 'trigger' are present, they are considered as
2225-
STIM channels by default. Use func:`mne.find_events` to parse events
2225+
STIM channels by default. Use :func:`mne.find_events` to parse events
22262226
encoded in such analog stim channels.
22272227
"""
22282228
_check_args(input_fname, preload, "gdf")

tutorials/evoked/30_eeg_erp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def print_peak_measures(ch, tmin, tmax, lat, amp):
522522
#
523523
# If using peak measures, it is critical to visually inspect the data to
524524
# make sure the selected time window actually contains a peak. The
525-
# meth:`~mne.Evoked.get_peak` method detects the maximum or minimum voltage in
525+
# :meth:`~mne.Evoked.get_peak` method detects the maximum or minimum voltage in
526526
# the specified time range and returns the latency and amplitude of this peak.
527527
# There is no guarantee that this method will return an actual peak. Instead,
528528
# it may return a value on the rising or falling edge of a peak we are trying

tutorials/intro/70_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
#
320320
# Forward solutions ("leadfields") can be added by passing a `~mne.Forward`
321321
# object or the path to a forward solution stored on disk to
322-
# meth:`mne.Report.add_forward`.
322+
# :meth:`mne.Report.add_forward`.
323323

324324
fwd_path = sample_dir / "sample_audvis-meg-oct-6-fwd.fif"
325325

0 commit comments

Comments
 (0)