Skip to content
Snippets Groups Projects
Commit acca9714 authored by Jan Thorbecke's avatar Jan Thorbecke
Browse files

adding alpha for laplace transform

parent 008343f0
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,7 @@ void freqwave(float *wave, int nt, float dt, float fp, float fmin, float flef, f
}
//fprintf(stderr,"scaling factor back FFT=%e\n", max);
for (i = 0; i < nt; i++) {
wave[i]= rwave[i]*max*exp(alpha*i*dt);
wave[i]= rwave[i]*max*exp(-alpha*i*dt);
}
free(cwave);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment