From cc0ae1d7817569d189ee7c49f20ffa00c77663d3 Mon Sep 17 00:00:00 2001 From: Florian Wittkamp Date: Wed, 9 Mar 2016 15:21:06 +0100 Subject: [PATCH] Revert "BUGFIX: STF & Step length estimation" This reverts commit 0e8335b91061df981be88c44d3f3685ca4592843. --- src/IFOS2D.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IFOS2D.c b/src/IFOS2D.c index 4a9638c..f5a7f8c 100644 --- a/src/IFOS2D.c +++ b/src/IFOS2D.c @@ -3278,7 +3278,7 @@ int main(int argc, char **argv){ /*------------------------------------------------------------------------------*/ /*time domain filtering of the source signal */ if(WAVETYPE==1||WAVETYPE==3){ - if(((TIME_FILT==1) || (TIME_FILT==2))){ + if(((TIME_FILT==1) || (TIME_FILT==2)) && (INV_STF==0)){ timedomain_filt(signals,FC,ORDER,nsrc_loc,ns,1); } @@ -3286,7 +3286,7 @@ int main(int argc, char **argv){ /*time domain filtering of the source signal */ if(WAVETYPE==2||WAVETYPE==3){ - if(((TIME_FILT==1) || (TIME_FILT==2))){ + if(((TIME_FILT==1) || (TIME_FILT==2)) && (INV_STF==0)){ timedomain_filt(signals_SH,FC,ORDER,nsrc_loc,ns,1); } -- GitLab