hsignal-0.2.7.5: Signal processing and EEG data analysis

Copyright(c) Alexander Vivian Hugh McPhail 2010 2014 2015
LicenseBSD3
Maintainerhaskell.vivian.mcphail <at> gmail <dot> com
Stabilityprovisional
Portabilityuses Concurrency
Safe HaskellNone
LanguageHaskell98

Numeric.Signal.Noise

Description

Noise generation functions

Synopsis

Documentation

pinkNoise Source #

Arguments

:: Double

β: spectral distribution 0: White noise -1: Pink noise -2: Brownian (red) noise

-> Int

samples

-> Int

random seed

-> Vector Double 

1/f scale invariant noise

spatialNoise Source #

Arguments

:: Double

β: spectral distribution 0: White noise -1: Pink noise -2: Brownian noise

-> Int 
-> Int

matrix dimensions

-> Int

random seed

-> Matrix Double 

The method is briefly descirbed in Lennon, J.L. "Red-shifts and red herrings in geographical ecology", Ecography, Vol. 23, p101-113 (2000)

Matlab version Written by Jon Yearsley 1 May 2004 j.yearsley@macaulay.ac.uk

Creates 1/f scale invariant spatial noise

powerNoise Source #

Arguments

:: Vector Double

the power spectrum

-> Int

random seed

-> Vector Double 

generate noise from a power spectrum