trichter / rf

Receiver function calculation in seismology
MIT License
106 stars 62 forks source link

update mtspec -> multitaper #49

Closed hfmark closed 4 months ago

hfmark commented 4 months ago

Sorry to keep throwing PRs at you, but I just realized that mtspec is no longer maintained and doesn't work past 3.8. I switched everything for the multitaper deconvolution over to the replacement, multitaper, which is essentially a python implementation of the fortran codes that used to be wrapped in mtspec. It works for 3.8+ (and for me that python upgrade also resolves an issue with toeplitz and numpy versions).

trichter commented 4 months ago

Thanks for this PR! I was not aware that the multitaper package could simply be used as a replacement for the outdated mtspec. I will first integrate this PR and after that look at the other PR.

Not sure why they pass on master since conda is definitely not installing mtspec for 3.10 and 3.11.

This part of the code is only run if mtspec is successfully installed.