swh:1:snp:3a699297f000109a1bc833f294a54171df990207
- HEAD
- refs/heads/gh-pages
- refs/heads/include_binaries_codeclimate
- refs/heads/master
- refs/heads/revert-4629-revert-4595-mnt/upload-artifacts-v4
- refs/heads/tdent-asd-min
- refs/heads/v11_release_branch
- refs/heads/v16_release_branch
- refs/heads/v21_release_branch
- refs/heads/v23_release_branch
- refs/tags/1.1.1
- refs/tags/1.13.4
- refs/tags/1.5.pre0
- refs/tags/pycbc_live_0p3
- refs/tags/pycbc_live_0p6
- refs/tags/pycbc_review_1
- refs/tags/pycbc_review_2
- refs/tags/v0.1.2
- refs/tags/v1.0.0
- refs/tags/v1.0.1
- refs/tags/v1.1.0
- refs/tags/v1.1.2
- refs/tags/v1.1.3
- refs/tags/v1.1.4
- refs/tags/v1.1.5
- refs/tags/v1.1.6
- refs/tags/v1.1.7
- refs/tags/v1.1.8
- refs/tags/v1.10.0
- refs/tags/v1.10.1
- refs/tags/v1.11.0
- refs/tags/v1.11.1
- refs/tags/v1.11.11
- refs/tags/v1.11.12
- refs/tags/v1.11.13
- refs/tags/v1.11.14
- refs/tags/v1.11.2
- refs/tags/v1.11.3
- refs/tags/v1.11.4
- refs/tags/v1.11.5
- refs/tags/v1.11.8
- refs/tags/v1.11.9
- refs/tags/v1.12.0
- refs/tags/v1.12.1
- refs/tags/v1.12.2
- refs/tags/v1.12.3
- refs/tags/v1.12.4
- refs/tags/v1.13.0
- refs/tags/v1.13.1
- refs/tags/v1.13.2
- refs/tags/v1.13.3
- refs/tags/v1.13.4
- refs/tags/v1.13.5
- refs/tags/v1.13.6
- refs/tags/v1.13.7
- refs/tags/v1.13.8
- refs/tags/v1.14.0
- refs/tags/v1.14.1
- refs/tags/v1.14.2
- refs/tags/v1.14.3
- refs/tags/v1.14.4
- refs/tags/v1.15.0
- refs/tags/v1.15.1
- refs/tags/v1.15.2
- refs/tags/v1.15.3
- refs/tags/v1.15.4
- refs/tags/v1.15.5
- refs/tags/v1.15.6
- refs/tags/v1.16.0
- refs/tags/v1.16.1
- refs/tags/v1.16.10
- refs/tags/v1.16.11
- refs/tags/v1.16.12
- refs/tags/v1.16.13
- refs/tags/v1.16.14
- refs/tags/v1.16.2
- refs/tags/v1.16.3
- refs/tags/v1.16.4
- refs/tags/v1.16.5
- refs/tags/v1.16.6
- refs/tags/v1.16.7
- refs/tags/v1.16.8
- refs/tags/v1.16.9
- refs/tags/v1.17.0
- refs/tags/v1.17.1
- refs/tags/v1.18.0
- refs/tags/v1.18.1
- refs/tags/v1.18.2
- refs/tags/v1.18.3
- refs/tags/v1.2.0
- refs/tags/v1.2.1
- refs/tags/v1.2.2
- refs/tags/v1.2.3
- refs/tags/v1.2.4
- refs/tags/v1.2.5
- refs/tags/v1.2.6
- refs/tags/v1.3.0
- refs/tags/v1.3.1
- refs/tags/v1.3.2
- refs/tags/v1.3.3
- refs/tags/v1.3.4
- refs/tags/v1.3.5
- refs/tags/v1.3.6
- refs/tags/v1.3.7
- refs/tags/v1.3.8
- refs/tags/v1.3.8re0
- refs/tags/v1.4.0
- refs/tags/v1.5.1
- refs/tags/v1.5.10
- refs/tags/v1.5.2
- refs/tags/v1.5.3
- refs/tags/v1.5.4
- refs/tags/v1.5.5
- refs/tags/v1.5.6
- refs/tags/v1.5.7
- refs/tags/v1.5.8
- refs/tags/v1.5.9
- refs/tags/v1.5.pre0
- refs/tags/v1.5.pre00
- refs/tags/v1.6.0
- refs/tags/v1.6.1
- refs/tags/v1.6.2
- refs/tags/v1.6.3
- refs/tags/v1.6.4
- refs/tags/v1.6.5
- refs/tags/v1.6.6
- refs/tags/v1.6.7
- refs/tags/v1.6.8
- refs/tags/v1.7.0
- refs/tags/v1.7.1
- refs/tags/v1.7.10
- refs/tags/v1.7.11
- refs/tags/v1.7.2
- refs/tags/v1.7.3
- refs/tags/v1.7.4
- refs/tags/v1.7.5
- refs/tags/v1.7.6
- refs/tags/v1.7.7
- refs/tags/v1.7.8
- refs/tags/v1.7.9
- refs/tags/v1.8.0
- refs/tags/v1.8.1
- refs/tags/v1.8.2
- refs/tags/v1.9.0
- refs/tags/v1.9.1
- refs/tags/v1.9.2
- refs/tags/v1.9.3
- refs/tags/v1.9.4
- refs/tags/v2.0.0
- refs/tags/v2.0.1
- refs/tags/v2.0.2
- refs/tags/v2.0.3
- refs/tags/v2.0.4
- refs/tags/v2.0.5
- refs/tags/v2.0.6
- refs/tags/v2.1.0
- refs/tags/v2.1.1
- refs/tags/v2.1.2
- refs/tags/v2.1.3
- refs/tags/v2.1.4
- refs/tags/v2.1.5
- refs/tags/v2.2.0
- refs/tags/v2.2.1
- refs/tags/v2.2.2
- refs/tags/v2.3.0
- refs/tags/v2.3.1
- refs/tags/v2.3.2
- refs/tags/v2.3.3
- refs/tags/v2.3.4
- refs/tags/v2.3.5
- refs/tags/v2.3.6
- refs/tags/v2.4.0
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: 0729ad857c236b0f34e3757b8419889f3835217c authored by Alex Nitz on 16 July 2018, 23:23:04 UTC
Update setup.py
Update setup.py
Tip revision: 0729ad8
data.py
import pycbc.catalog, pylab
m = pycbc.catalog.Merger("GW170817")
# Retreive data from the Livingston observatory around the BNS merger
ts = m.strain("L1").time_slice(m.time - 30, m.time + 6)
# Whiten the data with a 4s filter
white = ts.whiten(4, 4)
times, freqs, power = white.qtransform(.01, logfsteps=200,
qrange=(110, 110),
frange=(20, 512))
pylab.pcolormesh(times, freqs, power**0.5)
pylab.yscale('log')
pylab.ylabel("Frequency (Hz)")
pylab.xlabel("Time (s)")
pylab.show()