Skip to content

Commit 0a88d41

Browse files
FIX: Corrected typos across codebase (#13563)
Co-authored-by: Mathieu Scheltienne <[email protected]>
1 parent 5ce7c8d commit 0a88d41

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

mne/_fiff/meas_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ class Info(ValidatedDict, SetChannelsMixin, MontageMixin, ContainsMixin):
14611461
Eyetrack
14621462
Element ``[3]`` contains information about which eye was tracked
14631463
(-1 for left, 1 for right), and element ``[4]`` contains information
1464-
about the the axis of coordinate data (-1 for x-coordinate data, 1 for
1464+
about the axis of coordinate data (-1 for x-coordinate data, 1 for
14651465
y-coordinate data).
14661466
Dipole
14671467
Elements ``[3:6]`` contain dipole orientation information.

mne/channels/channels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ class _BuiltinChannelAdjacency:
14781478
def get_builtin_ch_adjacencies(*, descriptions=False):
14791479
"""Get a list of all FieldTrip neighbor definitions shipping with MNE.
14801480
1481-
The names of the these neighbor definitions can be passed to
1481+
The names of these neighbor definitions can be passed to
14821482
:func:`read_ch_adjacency`.
14831483
14841484
Parameters

mne/channels/layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ def _merge_opm_data(data, merged_names):
11921192
"""Merge data from multiple opm channel by just using the radial component.
11931193
11941194
Channel names that end in "MERGE_REMOVE" (ie non-radial channels) will be
1195-
removed. Only the the radial channel is kept.
1195+
removed. Only the radial channel is kept.
11961196
11971197
Parameters
11981198
----------

mne/epochs.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class BaseEpochs(
394394
%(event_id)s
395395
%(epochs_tmin_tmax)s
396396
%(baseline_epochs)s
397-
Defaults to ``(None, 0)``, i.e. beginning of the the data until
397+
Defaults to ``(None, 0)``, i.e. beginning of the data until
398398
time point zero.
399399
%(raw_epochs)s
400400
%(picks_all)s
@@ -748,7 +748,7 @@ def apply_baseline(self, baseline=(None, 0), *, verbose=None):
748748
Parameters
749749
----------
750750
%(baseline_epochs)s
751-
Defaults to ``(None, 0)``, i.e. beginning of the the data until
751+
Defaults to ``(None, 0)``, i.e. beginning of the data until
752752
time point zero.
753753
%(verbose)s
754754
@@ -3248,7 +3248,7 @@ def _diff_input_strings_vs_event_id(input_strings, input_name, event_id):
32483248

32493249
# Determine which events fall into the current time window
32503250
if start_sample is None and isinstance(tmin, list):
3251-
# Lower bound is the the current or the closest previpus event with a name
3251+
# Lower bound is the current or the closest previous event with a name
32523252
# in "tmin"; if there is no such event (e.g., beginning of the recording is
32533253
# being approached), the upper lower becomes the last event in the
32543254
# recording.
@@ -3272,7 +3272,7 @@ def _diff_input_strings_vs_event_id(input_strings, input_name, event_id):
32723272
window_start_sample = row_event.sample + start_sample
32733273

32743274
if stop_sample is None and isinstance(tmax, list):
3275-
# Upper bound is the the current or the closest following event with a name
3275+
# Upper bound is the current or the closest following event with a name
32763276
# in "tmax"; if there is no such event (e.g., end of the recording is being
32773277
# approached), the upper bound becomes the last event in the recording.
32783278
next_matching_events = events_df.loc[
@@ -3436,7 +3436,7 @@ class Epochs(BaseEpochs):
34363436
%(event_id)s
34373437
%(epochs_tmin_tmax)s
34383438
%(baseline_epochs)s
3439-
Defaults to ``(None, 0)``, i.e. beginning of the the data until
3439+
Defaults to ``(None, 0)``, i.e. beginning of the data until
34403440
time point zero.
34413441
%(picks_all)s
34423442
preload : bool

mne/evoked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def apply_baseline(self, baseline=(None, 0), *, verbose=None):
369369
Parameters
370370
----------
371371
%(baseline_evoked)s
372-
Defaults to ``(None, 0)``, i.e. beginning of the the data until
372+
Defaults to ``(None, 0)``, i.e. beginning of the data until
373373
time point zero.
374374
%(verbose)s
375375

mne/io/eeglab/_eeglab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def _readmat(fname, uint16_codec=None, *, preload=False):
195195
# and handle the 'data' field specially
196196

197197
# the files in eeglab are always the same field names
198-
# the the fields were taken from the eeglab sample reference
198+
# the fields were taken from the eeglab sample reference
199199
# available at the eeglab github:
200200
# https://github.com/sccn/eeglab/blob/develop/sample_data/eeglab_data.set
201201
# The sample reference is the big reference for the field names

mne/morph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class SourceMorph:
412412
pre_affine : instance of dipy.align.AffineMap
413413
The transformation that is applied before the before ``sdr_morph``.
414414
sdr_morph : instance of dipy.align.DiffeomorphicMap
415-
The class that applies the the symmetric diffeomorphic registration
415+
The class that applies the symmetric diffeomorphic registration
416416
(SDR) morph.
417417
src_data : dict
418418
Additional source data necessary to perform morphing.

mne/preprocessing/eyetracking/calibration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Calibration(dict):
2828
----------
2929
onset : float
3030
The onset of the calibration in seconds. If the calibration was
31-
performed before the recording started, the the onset can be
31+
performed before the recording started, the onset can be
3232
negative.
3333
model : str
3434
A string, which is the model of the eye-tracking calibration that was applied.

mne/source_estimate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ def apply_baseline(self, baseline=(None, 0), *, verbose=None):
697697
Parameters
698698
----------
699699
%(baseline_stc)s
700-
Defaults to ``(None, 0)``, i.e. beginning of the the data until
700+
Defaults to ``(None, 0)``, i.e. beginning of the data until
701701
time point zero.
702702
%(verbose)s
703703

mne/utils/docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
12321232

12331233
docdict["elevation"] = """
12341234
elevation : float
1235-
The The zenith angle of the camera rendering the view in degrees.
1235+
The zenith angle of the camera rendering the view in degrees.
12361236
"""
12371237

12381238
docdict["eltc_mode_notes"] = """
@@ -3991,7 +3991,7 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
39913991

39923992
docdict["sdr_morph"] = """
39933993
sdr_morph : instance of dipy.align.DiffeomorphicMap
3994-
The class that applies the the symmetric diffeomorphic registration
3994+
The class that applies the symmetric diffeomorphic registration
39953995
(SDR) morph.
39963996
"""
39973997

0 commit comments

Comments
 (0)