Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mne/_fiff/meas_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ class Info(ValidatedDict, SetChannelsMixin, MontageMixin, ContainsMixin):
Eyetrack
Element ``[3]`` contains information about which eye was tracked
(-1 for left, 1 for right), and element ``[4]`` contains information
about the the axis of coordinate data (-1 for x-coordinate data, 1 for
about the axis of coordinate data (-1 for x-coordinate data, 1 for
y-coordinate data).
Dipole
Elements ``[3:6]`` contain dipole orientation information.
Expand Down
2 changes: 1 addition & 1 deletion mne/channels/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ class _BuiltinChannelAdjacency:
def get_builtin_ch_adjacencies(*, descriptions=False):
"""Get a list of all FieldTrip neighbor definitions shipping with MNE.

The names of the these neighbor definitions can be passed to
The names of these neighbor definitions can be passed to
:func:`read_ch_adjacency`.

Parameters
Expand Down
2 changes: 1 addition & 1 deletion mne/channels/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ def _merge_opm_data(data, merged_names):
"""Merge data from multiple opm channel by just using the radial component.

Channel names that end in "MERGE_REMOVE" (ie non-radial channels) will be
removed. Only the the radial channel is kept.
removed. Only the radial channel is kept.

Parameters
----------
Expand Down
10 changes: 5 additions & 5 deletions mne/epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ class BaseEpochs(
%(event_id)s
%(epochs_tmin_tmax)s
%(baseline_epochs)s
Defaults to ``(None, 0)``, i.e. beginning of the the data until
Defaults to ``(None, 0)``, i.e. beginning of the data until
time point zero.
%(raw_epochs)s
%(picks_all)s
Expand Down Expand Up @@ -748,7 +748,7 @@ def apply_baseline(self, baseline=(None, 0), *, verbose=None):
Parameters
----------
%(baseline_epochs)s
Defaults to ``(None, 0)``, i.e. beginning of the the data until
Defaults to ``(None, 0)``, i.e. beginning of the data until
time point zero.
%(verbose)s

Expand Down Expand Up @@ -3248,7 +3248,7 @@ def _diff_input_strings_vs_event_id(input_strings, input_name, event_id):

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

if stop_sample is None and isinstance(tmax, list):
# Upper bound is the the current or the closest following event with a name
# Upper bound is the current or the closest following event with a name
# in "tmax"; if there is no such event (e.g., end of the recording is being
# approached), the upper bound becomes the last event in the recording.
next_matching_events = events_df.loc[
Expand Down Expand Up @@ -3436,7 +3436,7 @@ class Epochs(BaseEpochs):
%(event_id)s
%(epochs_tmin_tmax)s
%(baseline_epochs)s
Defaults to ``(None, 0)``, i.e. beginning of the the data until
Defaults to ``(None, 0)``, i.e. beginning of the data until
time point zero.
%(picks_all)s
preload : bool
Expand Down
2 changes: 1 addition & 1 deletion mne/evoked.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def apply_baseline(self, baseline=(None, 0), *, verbose=None):
Parameters
----------
%(baseline_evoked)s
Defaults to ``(None, 0)``, i.e. beginning of the the data until
Defaults to ``(None, 0)``, i.e. beginning of the data until
time point zero.
%(verbose)s

Expand Down
2 changes: 1 addition & 1 deletion mne/io/eeglab/_eeglab.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _readmat(fname, uint16_codec=None, *, preload=False):
# and handle the 'data' field specially

# the files in eeglab are always the same field names
# the the fields were taken from the eeglab sample reference
# the fields were taken from the eeglab sample reference
# available at the eeglab github:
# https://github.com/sccn/eeglab/blob/develop/sample_data/eeglab_data.set
# The sample reference is the big reference for the field names
Expand Down
2 changes: 1 addition & 1 deletion mne/morph.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ class SourceMorph:
pre_affine : instance of dipy.align.AffineMap
The transformation that is applied before the before ``sdr_morph``.
sdr_morph : instance of dipy.align.DiffeomorphicMap
The class that applies the the symmetric diffeomorphic registration
The class that applies the symmetric diffeomorphic registration
(SDR) morph.
src_data : dict
Additional source data necessary to perform morphing.
Expand Down
2 changes: 1 addition & 1 deletion mne/preprocessing/eyetracking/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Calibration(dict):
----------
onset : float
The onset of the calibration in seconds. If the calibration was
performed before the recording started, the the onset can be
performed before the recording started, the onset can be
negative.
model : str
A string, which is the model of the eye-tracking calibration that was applied.
Expand Down
2 changes: 1 addition & 1 deletion mne/source_estimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def apply_baseline(self, baseline=(None, 0), *, verbose=None):
Parameters
----------
%(baseline_stc)s
Defaults to ``(None, 0)``, i.e. beginning of the the data until
Defaults to ``(None, 0)``, i.e. beginning of the data until
time point zero.
%(verbose)s

Expand Down
4 changes: 2 additions & 2 deletions mne/utils/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):

docdict["elevation"] = """
elevation : float
The The zenith angle of the camera rendering the view in degrees.
The zenith angle of the camera rendering the view in degrees.
"""

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

docdict["sdr_morph"] = """
sdr_morph : instance of dipy.align.DiffeomorphicMap
The class that applies the the symmetric diffeomorphic registration
The class that applies the symmetric diffeomorphic registration
(SDR) morph.
"""

Expand Down
Loading