Skip to content

Commit

Permalink
Fix strings
Browse files Browse the repository at this point in the history
  • Loading branch information
withmywoessner committed Jan 23, 2024
1 parent 7fcca17 commit 052dcc6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mne/evoked.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,8 @@ def get_peak(
If True, return also the amplitude at the maximum response.
strict : bool
If True, raise an error if values are all positive when detecting
a minimum, or all negative when detecting a maximum.
a minimum (mode='neg'), or all negative when detecting a maximum
(mode='pos'). Defaults to True.
.. versionadded:: 0.16
Expand Down Expand Up @@ -1976,7 +1977,8 @@ def _get_peak(data, times, tmin=None, tmax=None, mode="abs", strict=True):
Defaults to 'abs'.
strict : bool
If True, raise an error if values are all positive when detecting
a minimum, or all negative when detecting a maximum.
a minimum (mode='neg'), or all negative when detecting a maximum
(mode='pos'). Defaults to True.
Returns
-------
max_loc : int
Expand Down

0 comments on commit 052dcc6

Please sign in to comment.