Commit 82f12c80 authored by Florian Wittkamp's avatar Florian Wittkamp

Bugfix: Timeshift of sinus3

The sinus3 source wavelet was shifted in the wrong direction.
parent 629aa51a
......@@ -80,7 +80,7 @@ float ** wavelet(float ** srcpos_loc, int nsrc){
break;
case 4 : /* sinus raised to the power of three */
if ((t<tshift) || (t>(tshift+ts))) amp=0.0;
else amp=(0.75*PI/ts)*(pow(sin(PI*(t+tshift)/ts),3.0));
else amp=(0.75*PI/ts)*(pow(sin(PI*(t-tshift)/ts),3.0));
break;
default :
err("Which source-wavelet ? ");
......
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