bandwidth (in frequency units, not angular frequency) of the continuous Fourier transform of the Gaussian source function when it has decayed by a tolerance tol below its peak value
| 65 | // continuous Fourier transform of the Gaussian source function |
| 66 | // when it has decayed by a tolerance tol below its peak value |
| 67 | static double gaussian_bandwidth(double width) { |
| 68 | double tol = 1e-7; |
| 69 | return sqrt(-2.0 * log(tol)) / (width * pi); |
| 70 | } |
| 71 | |
| 72 | gaussian_src_time::gaussian_src_time(double f, double my_fwidth, double s) { |
| 73 | freq = f; |