8000 GitHub - fincardona/CorrNoise.jl: Pseudo-random number generators for correlated noise (1/f)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fincardona/CorrNoise.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CorrNoise

Build Status Coverage Status

CorrNoise.jl is a Julia package to produce streams of correlated noise, i.e., random numbers which follow a 1/f distribution.

Example

Here is an example showing how to generate 1/f noise with slope 1.7, knee frequency sampling frequency 0.05:

using Random
using CorrNoise
using Plots

rng = OofRNG(GaussRNG(MersenneTwister(1234)), -1.7, 1.15e-5, 0.05, 1.0);
data = [randoof(rng) for i in 1:10000]
plot(data)

About

Pseudo-random number generators for correlated noise (1/f)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Julia 100.0%
0