Description Usage Arguments Value Examples
PSD(f) = \frac{τ^2 SF_∞^2}{1 + (2 π f τ)^2}
1 | damped.random.walk(N, freq.max = 1/(2 * pi), tau = 1, SF = 1, sd = 1)
|
N |
Number of frequencies (must be even). |
freq.max |
Value of largest frequency. |
tau |
Characteristic timescale. |
SF |
Value of structure function over long time scales. |
sd |
Standard deviation. |
Frequencies and power spectral density.
1 2 3 4 5 | damped.random.walk(100) # 100 samples with default options
damped.random.walk(100, freq.max = 50) # provide maximum frequency
damped.random.walk(100, sd = 2.0) # provide standard deviation
damped.random.walk(100, tau = 2.0) # provide characteristic timescale
damped.random.walk(100, SF = 2.0) # provide value of structure function
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.