Evoked.get_peak()
can search for peaks in the following ways:
-
take the absolute value of the data (i.e., turn everything into non-negative values), and find the largest value of that (that’s the default,
mode='abs'
) -
only consider positive values (i.e.,
>0
), and find the highest value (mode='pos'
) -
only consider negative values (i.e.,
<0
), and find the smallest value (mode='neg'
)
There is currently no way to use get_peak()
to find the smallest value of a signal that’s always positive; or the largest value of a signal that’s exclusively negative.