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

alpha

parent 7899427a
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,8 @@ 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);
tt=(float)i*dt;
wave[i]= rwave[i]*max*exp(-alpha*tt);
}
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