Skip to content
Snippets Groups Projects
Commit 0f4c8396 authored by Christopher Wipf's avatar Christopher Wipf
Browse files

README.md: fix the basic usage example

parent f0c1aea2
No related branches found
No related tags found
No related merge requests found
Pipeline #29226 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment