| Algorithm 1: Preliminary Screening Algorithm | |
|
Require: 1: sigfull: original signal; sigfiltered: bandpass filtered signal 2: env: Hilbert envelope of smoothed bandpass signal 3: stdata: sigfull 81–500 Hz Stockwell transform 4: : Sampling frequency; : any time; Eol: event of interest 5: threshold: ripple is 30, fastripple is 20 | |
| Ensure: | |
| 7: | ▷ Relative energy, the ratio of the energy occupied by a certain frequency at that moment |
| 8: | ▷ Signal energy entropy |
| 9: if , sigfull 0.9 & sigfiltered 10 | |
| 10: baselineenv(t); baselineFilteredsigfiltered(t) | |
| 11: thrbaseline experience accumulation function 95% threshold | |
| 12: thrFiltbaselineFiltered experience accumulation function 99% threshold | |
| 13: end if | |
| 14: if , env(t)0.99 & threshold | |
| 15: eventenv(t) | |
| 16: numberThe number of times each event crossed thrFilt | |
| 17: if 6 | |
| 18: Eolevent | |
| 19: end if | |
| 20: end if | |
| 21: for do | |
| 22: | |
| 23: end for | |