Commit eafe46f6 authored by Florian Wittkamp's avatar Florian Wittkamp

Bugfix: Timeshift of sinus3

The sinus3 source wavelet was shifted in the wrong direction.
parent 5f576f2d
......@@ -77,7 +77,7 @@ float ** wavelet(float ** srcpos_loc, int nsrc){
break; /* source wavelet from file SOURCE_FILE */
case 4 :
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; /* sinus raised to the power of three */
default :
err("Which source-wavelet ? ");
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment