comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to create white noise in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to create white noise in IDL? [message #93058 is a reply to message #93053] Sat, 16 April 2016 15:21 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Saturday, April 16, 2016 at 5:51:32 AM UTC-4, Meegle_Jade wrote:
> How to create white noise image in IDL? I have heard about RANDOMN and RANDOMU but do they create white noise?

Typically, white noise is the same as Gaussian deviate noise (RANDOMN). The "whiteness" refers to the power spectrum of the data.

RANDOMU provides uniform deviates. While this *also* will produce noise with a white spectrum, it is not typical. And RANDOMU deviates have a DC bias. The deviates are between 0 and 1 which means the average is 0.5, and this will show up as a non-white DC frequency component.

So for a 100x200 image use RANDOMN(SEED,100,200).

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Walter and Lieth climate digram
Next Topic: How to extract bands from EV_1KM_Emissive ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:57:05 PDT 2025

Total time taken to generate the page: 0.00445 seconds