Added gaussianprime and gaussiandoubleprime waveforms which are direct 1st and 2nd derivatives of the gaussian waveform, i.e. they don't share the same centre frequency.

这个提交包含在:
Craig Warren
2017-06-21 14:33:01 +01:00
父节点 0a28aeed62
当前提交 3329df6015
共有 4 个文件被更改,包括 21 次插入8 次删除

查看文件

@@ -95,7 +95,7 @@ def mpl_plot(w, timewindow, dt, iterations, fft=False):
if w.freq and not w.type == 'gaussian':
print('Centre frequency: {:g} Hz'.format(w.freq))
if w.type == 'gaussian' or w.type == 'gaussiandot' or w.type == 'gaussiandotnorm':
if w.type == 'gaussian' or w.type == 'gaussiandot' or w.type == 'gaussiandotnorm' or w.type == 'gaussianprime' or w.type == 'gaussiandoubleprime':
delay = 1 / w.freq
print('Time to centre of pulse: {:g} s'.format(delay))
elif w.type == 'gaussiandotdot' or w.type == 'gaussiandotdotnorm' or w.type == 'ricker':