Commit 8174de0a authored by thomas.forbriger's avatar thomas.forbriger

libstfinv [WP]: implement FFT framework for taper application

parent d80fd618
......@@ -572,6 +572,15 @@ namespace stfinv {
{
if (this->Mapplystftaper)
{
// transform correction filter to time domain
Mfftenginestf.c2r();
Tfftengine::TAseries thestfseries=this->stfseries();
thestfseries *= Mfftenginestf.scale_series(this->dt());
// apply taper
//
// transform correction filter to Fourier domain
Mfftenginestf.r2c();
this->stfspec() *= Mfftenginestf.scale_spectrum(this->dt());
} // if (this->Mapplystftaper)
} // void STFFourierDomainEngine::taperstf()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment