Changes
Page history
Update comp_snr_ts
authored
Mar 11, 2021
by
Kentaro Mogushi
Show whitespace changes
Inline
Side-by-side
home/comp_snr_ts.md
View page @
94302304
...
@@ -44,3 +44,17 @@ plt.close()
...
@@ -44,3 +44,17 @@ plt.close()
# noise optimal SNR
# noise optimal SNR
-
compare the double and triple whitened time series in PyCBC
```
w = d_pycbc.whiten(1,1)
#plt.plot(w.sample_times, w.data, label='whiten 1')
w = w.whiten(1,1)
plt.plot(w.sample_times, w.data, alpha=0.5, label='whiten 2')
w = w.whiten(1,1)
plt.plot(w.sample_times, w.data, alpha=0.5, ls='--', label='whiten 3')
plt.legend()
plt.savefig('test.png')
plt.close()
```
