Commit 0f4c8396 authored by Christopher Wipf's avatar Christopher Wipf

README.md: fix the basic usage example

parent f0c1aea2
Pipeline #29226 passed with stages
in 52 seconds
......@@ -15,8 +15,8 @@ description is loaded, the noise budget can be calculated and plotted:
>>> import numpy as np
>>> freq = np.logspace(1, 3, 1000)
>>> ifo = gwinc.load_ifo('aLIGO')
>>> ifo = gwinc.precompIFO(ifo)
>>> noises = gwinc.noise_calc(ifo, freq)
>>> ifo = gwinc.precompIFO(freq, ifo)
>>> noises = gwinc.noise_calc(freq, ifo)
>>> gwinc.plot_noise(ifo, noises)
```
Or the `gwinc` convenience function can be used to handle it all:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment