CorrNoise.jl

Pseudo-random number generators for correlated noise (1/f)
Author ziotom78
Popularity
1 Star
Updated Last
4 Years Ago
Started In
May 2018

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)