API documentation for visualization library

Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes



includes main-level program

top vis_pinknoise

result = vis_pinknoise(m, n [, power=double])

Generates 1/f^a noise. By default, it generates 1/f noise i.e. pink noise.

Return value

dblarr(m, n)


m in required type=long

size of first dimension

n in required type=long

size of second dimension


power in optional type=double default=1.0

the a in 1/f^a noise


This generates pink noise:

tvscl, vis_pinknoise(512, 256)
Pink noise looks like:

Other 1/f^a noise can be generated using the POWER keyword:

tvscl, vis_pinknoise(512, 256, power=1.8)
This noise looks like:

For POWER=2.4:

File attributes

Modification date: Mon Nov 29 18:32:44 2010
Lines: 67
Docformat: rst rst