Revision 56e08548600099b570c894fcdd672183c4115976 authored by Ian Harry on 26 October 2020, 15:56:35 UTC, committed by GitHub on 26 October 2020, 15:56:35 UTC
1 parent 0182f62
plot_waveform.py
import pylab
from pycbc.waveform import get_td_waveform
for apx in ['SEOBNRv2', 'IMRPhenomC']:
hp, hc = get_td_waveform(approximant=apx,
mass1=10,
mass2=10,
spin1z=0.9,
delta_t=1.0/4096,
f_lower=40)
pylab.plot(hp.sample_times, hp, label=apx)
pylab.ylabel('Strain')
pylab.xlabel('Time (s)')
pylab.legend()
pylab.show()
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...