[Tutor] noise function

Richard Lovely roadierich at googlemail.com
Tue Dec 2 13:32:44 CET 2008


There's probably something like what you want within the "random" module.

at the interactive prompt, try:

import random
help(random)

---
Richard "Roadie Rich" Lovely, part of the JNP|UK Famile
www.theJNP.com



2008/12/2 Alan Gauld <alan.gauld at btinternet.com>:
>
> "Christopher Spears" <cspears2002 at yahoo.com> wrote
>>
>> Does anyone know if python has a noise function?
>
> What kind of noise function?
> What would you expect it to produce?
> A stream of random numbers perhaps?
> A single number each time it is called?
>
> And which noise profile should it follow?
> Or would it be a multi dimensional noise model?
>
> I don't know of any such function and I'm not sure wiothout more details how
> it would work in a general way even if it did exist. Can you give a
> speciofic example of what you expect?
>
> --
> Alan Gauld
> Author of the Learn to Program web site
> http://www.freenetpages.co.uk/hp/alan.gauld
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list