util/
vis_pinknoise.pro
includes main-level programtop 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)
Parameters
- m in required type=long
size of first dimension
- n in required type=long
size of second dimension
Keywords
- power in optional type=double default=1.0
the a in 1/f^a noise
Examples
This generates pink noise:
tvscl, vis_pinknoise(512, 256)
Other 1/f^a noise can be generated using the POWER keyword:
tvscl, vis_pinknoise(512, 256, power=1.8)
For POWER=2.4:
File attributes
Modification date: | Mon Nov 29 18:32:44 2010 |
Lines: | 67 |
Docformat: | rst rst |