uafgeotools / rtm

A Python package for locating infrasound sources using reverse time migration
https://uaf-rtm.readthedocs.io/
MIT License
38 stars 13 forks source link

Demeaning the input Stream when using AGC method='walker' produces weird results #2

Closed liamtoney closed 5 years ago

liamtoney commented 5 years ago

Original report by me.


Walker et al. (2010) specify that their decimated envelopes are demeaned prior to the application of AGC. When I do this in my implementation of their algorithm, the resulting AGC'd envelopes go negative and look strange. The code currently uses the line st_out.detrend('demean'), but perhaps it’s better to deviate from Walker here and remove it. Doesn’t look like Richard uses it in his implementation of the Walker AGC algorithm.

liamtoney commented 5 years ago

We also might remove method='walker' entirely, in which case this issue could be closed…

liamtoney commented 5 years ago

Resolved by d65f132