feat: détection multi-pics pour scan_templates (seuil cc, ondes S optionnelles)#10
Open
MariusYvard wants to merge 1 commit into
Open
feat: détection multi-pics pour scan_templates (seuil cc, ondes S optionnelles)#10MariusYvard wants to merge 1 commit into
MariusYvard wants to merge 1 commit into
Conversation
…d and optional S-wave criterion Replace the single best peak and the MAD-ratio trigger (removed) with a sliding correlate_template + find_peaks at template_cc_min, so several events can be detected per chunk; add t_min spacing, sub-sample interpolation, decim_factor, zero-phase filtering, and an optional S-wave NCCs combined criterion with a ccs column.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Salut Claudio,
Le cœur du stage.
scan_templatespasse d'un pic unique par chunk (déclenché par le ratio cc/MAD) à une corrélation glissantecorrelate_template+find_peaksau seuiltemplate_cc_min: plusieurs événements détectables par chunk. La MAD (min_cc_mad_ratio) est retirée, comme tu le souhaitais.Inclus aussi : fusion des pics trop proches (
t_min), interpolation sous-échantillon du pic, décimationdecim_factoravec anti-repliement pour la vitesse, passe-bande zéro-phase. En option (off par défaut) : une seconde corrélation centrée sur les ondes S (NCCs) et un critère combiné entièrement paramétrable, avec une colonneccsajoutée àtemplate_detections(migration en place).Point de nommage à trancher : j'ai introduit
template_cc_mincarcc_minexiste déjà (0.95, similarité des paires du clustering). Dis-moi si tu préfères réutilisercc_min.Tests unitaires (dont un test d'injection synthétique) et une note de réglage des performances ajoutés.
Marius