diff --git a/mne/_fiff/meas_info.py b/mne/_fiff/meas_info.py index 90454b9a699..8baae82f4b0 100644 --- a/mne/_fiff/meas_info.py +++ b/mne/_fiff/meas_info.py @@ -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. diff --git a/mne/channels/channels.py b/mne/channels/channels.py index ef98efd1731..08c35dd310e 100644 --- a/mne/channels/channels.py +++ b/mne/channels/channels.py @@ -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 diff --git a/mne/channels/layout.py b/mne/channels/layout.py index 20ef3809207..85b7913c1c6 100644 --- a/mne/channels/layout.py +++ b/mne/channels/layout.py @@ -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 ---------- diff --git a/mne/epochs.py b/mne/epochs.py index 6c3935097bf..4bd94ffa2c5 100644 --- a/mne/epochs.py +++ b/mne/epochs.py @@ -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 @@ -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 @@ -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. @@ -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[ @@ -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 diff --git a/mne/evoked.py b/mne/evoked.py index c016efd59f3..32475b37818 100644 --- a/mne/evoked.py +++ b/mne/evoked.py @@ -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 diff --git a/mne/io/eeglab/_eeglab.py b/mne/io/eeglab/_eeglab.py index 78df0be366b..77ad6e681a7 100644 --- a/mne/io/eeglab/_eeglab.py +++ b/mne/io/eeglab/_eeglab.py @@ -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 diff --git a/mne/morph.py b/mne/morph.py index a8278731f3c..e2a48350f1b 100644 --- a/mne/morph.py +++ b/mne/morph.py @@ -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. diff --git a/mne/preprocessing/eyetracking/calibration.py b/mne/preprocessing/eyetracking/calibration.py index 867119557a8..54518ff1a63 100644 --- a/mne/preprocessing/eyetracking/calibration.py +++ b/mne/preprocessing/eyetracking/calibration.py @@ -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. diff --git a/mne/source_estimate.py b/mne/source_estimate.py index deeb3a43ede..689022fb326 100644 --- a/mne/source_estimate.py +++ b/mne/source_estimate.py @@ -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 diff --git a/mne/utils/docs.py b/mne/utils/docs.py index 898fb9c34e1..54b2c9f1363 100644 --- a/mne/utils/docs.py +++ b/mne/utils/docs.py @@ -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"] = """ @@ -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. """