Commit 0e8335b9 authored by Florian Wittkamp's avatar Florian Wittkamp

BUGFIX: STF & Step length estimation

parent 3dae0cd1
...@@ -3275,7 +3275,7 @@ int main(int argc, char **argv){ ...@@ -3275,7 +3275,7 @@ int main(int argc, char **argv){
/*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/
/*time domain filtering of the source signal */ /*time domain filtering of the source signal */
if(WAVETYPE==1||WAVETYPE==3){ if(WAVETYPE==1||WAVETYPE==3){
if(((TIME_FILT==1) || (TIME_FILT==2)) && (INV_STF==0)){ if(((TIME_FILT==1) || (TIME_FILT==2))){
timedomain_filt(signals,FC,ORDER,nsrc_loc,ns,1); timedomain_filt(signals,FC,ORDER,nsrc_loc,ns,1);
} }
...@@ -3283,7 +3283,7 @@ int main(int argc, char **argv){ ...@@ -3283,7 +3283,7 @@ int main(int argc, char **argv){
/*time domain filtering of the source signal */ /*time domain filtering of the source signal */
if(WAVETYPE==2||WAVETYPE==3){ if(WAVETYPE==2||WAVETYPE==3){
if(((TIME_FILT==1) || (TIME_FILT==2)) && (INV_STF==0)){ if(((TIME_FILT==1) || (TIME_FILT==2))){
timedomain_filt(signals_SH,FC,ORDER,nsrc_loc,ns,1); timedomain_filt(signals_SH,FC,ORDER,nsrc_loc,ns,1);
} }
......
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