Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I could not understand the principle how G is computed in find_peaks and find_peaks_adaptive , but it works good. Would you explain in more detail? #9

Open
xtj49 opened this issue Jun 18, 2024 · 0 comments

Comments

@xtj49
Copy link

xtj49 commented Jun 18, 2024

In find_peaks_original, G is the mat containing maxima in different scales.
In find_peaks, G needs to be mutiplied a weight.
G = G * np.arange(
N // 2, N // 2 - L, -1
) # normalize to adjust for new edge regions

(1)Why it is a decreasing sequence and how to understand it?
(2)If the sum of G(in axis of 1) means the sum of maxima in different scale, would the weight be [1...L] be right which means the longest length of periodicity?
(3)and would you explain the reason why find_peaks_adaptive works, it is a difficult to understand too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant