[SciPy-Dev] 1/f noise generation
Phillip Feldman
phillip.m.feldman at gmail.com
Thu Aug 10 01:19:04 EDT 2017
Firstly, white noise means only that the power spectral density is flat, or
equivalently, that the autocorrelation function is zero everywhere except
at lag zero.One can generate Gaussian noise with an arbitrary power
spectral density by filtering white Gaussian noise with a suitable filter.
The output of the filter is the convolution of the impulse response of the
filter with the autocorrelation function of white noise, which gives us the
impulse response of the filter. So, from the convolution theorem and the
definition of the PSD, the PSD of the output is the squared magnitude of
the frequency response of filter.An alternative method for synthesizing
Gaussian noise with an arbitrary power spectral density is to generate
tones with unity amplitude and random phase, where the probability of
picking any particular tone frequency is proportional to the height of the
PSD.
The filter method tends to be more computationally efficient.
Dr. Phillip M. Feldman
*Suzen, Mehmet* msuzen at gmail.com
<scipy-dev%40python.org?Subject=Re%3A%20%5BSciPy-Dev%5D%201/f%20noise%20generation&In-Reply-To=%3CCAPtbhHwp3dq6jiWEDhAbVn45ruUXKW%3D0%2BoD1PKvnHVdKjaw7GA%40mail.gmail.com%3E>
*Tue Aug 8 08:15:33 EDT 2017*
- Previous message (by thread): [SciPy-Dev] 1/f noise generation
<https://mail.python.org/pipermail/scipy-dev/2017-August/022035.html>
- *Messages sorted by:* [ date ]
<https://mail.python.org/pipermail/scipy-dev/2017-August/date.html#22036>
[ thread ]
<https://mail.python.org/pipermail/scipy-dev/2017-August/thread.html#22036>
[ subject ]
<https://mail.python.org/pipermail/scipy-dev/2017-August/subject.html#22036>
[ author ]
<https://mail.python.org/pipermail/scipy-dev/2017-August/author.html#22036>
------------------------------
On 8 August 2017 at 12:58, Neal Becker <ndbecker2 at gmail.com
<https://mail.python.org/mailman/listinfo/scipy-dev>> wrote:
>* I think you mean non-white, not nongaussian
*
Excellent point. white noise means constant PSD, not only Gaussian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20170809/e95daeb8/attachment.html>
More information about the SciPy-Dev
mailing list