I would like to ask whether the get_peak function can specify the maximum or minimum value?
I want to request the peak value in the erp data, but there are some I want to find the maximum value, and some want to find the minimum value. I want to ask whether the get_peak function can specify the maximum or minimum value.
I don’t understand what this means in the tutorial.This means that if I choose pos or neg, it means that only data with positive or negative values is considered?
mode: {‘pos’,‘neg’,‘abs’}
How to deal with the sign of the data. If ‘pos’ only positive values will be considered. If ‘neg’ only negative values will be considered. If ‘abs’ absolute values will be considered. Defaults to ‘abs’.
And it seems to say The amplitude of the maximum response.
Does this mean that I can only find the peak of the maximum? Can’t find the peak of the minimum?
https://mne.tools/stable/generated/mne.EvokedArray.html?highlight=get_peak#mne.EvokedArray.get_peak
I also tried the mne.preprocessing.peak_finder function, but this function does not support evoke data and I need to convert it to a 1d array. It will return multiple peaks, and it seems that it will not return the latency directly, but will return the index I need to convert it to the latency by myself.
I want to ask if there is a good way to specify the maximum peak or minimum peak?
https://mne.tools/stable/generated/mne.preprocessing.peak_finder.html?highlight=peak%20finder#mne.preprocessing.peak_finder
Very grateful for your help!
Looking forward to your reply!