xscale.signal.generator.rednoise

xscale.signal.generator.rednoise(alpha, n, c=0.0)

Generate a red noise

Parameters:
alpha: float

Autocorrelation coefficient of the red noise

n: int

Size of the vector

c: float

Mean of the vector

Returns:
res: 1darray

A vector of size n describing a rednoise process

Examples

>>> rednoise(0.8, 6)