5. Generating Datasets
5.1 Generating 1d Datasets
To generate 1d data, first create and select a 1d Wavelet window by choosing the
"New 1d Window" item of the Windows menu, or select an existing Wavelet window.
5.1.1 Random
To create a random dataset, choose the Generate Data... item from the Wavelets
menu, and the Random item from the attached submenu. The random data generation
function then presents the following dialog:

The random type is as follows:
- White: random data points chosen from a distribution.
- Brown: the first point is chosen from a distribution, all remaining points
are chosen by taking a random walk with the seleted distribution.
The distributions are as follows:
- Uniform: points are chosen from a uniform distribution on an interval with
a given mean and a range from mean - amplitude to mean + amplitude.
- Normal: points are chosen from a normal distribution with given mean and
a standard deviation equal to amplitude.
Here is an example of a white noise random distribution:

Here is an example of a brown noise random distribution:

5.1.2 Sine
To create a sine dataset, choose the Generate Data... item from the Wavelets
menu, and the Sine item from the attached submenu. The sine data generation
function then presents the following dialog:

The sine function generates a dataset using the following formula:
y = amplitude * sin(frequency * x + phase)
Such a result looks like the following:

5.1.3 Sine * sine
To create a sine * sine dataset, choose the Generate Data... item from the
Wavelets menu, and the Sine * sine item from the attached submenu. The sine *
sine data generation function then presents the following dialog:

The sine * sine function generates a dataset using the following formula:
y = amplitude * sin(frequency * x + phase) * sin(frequency2 * x + phase2)
Such a result looks like the following:

5.1.4 Chirp
To create a chirp dataset, choose the Generate Data... item from the
Wavelets menu, and the Chirp item from the attached submenu. The chirp data
generation function then presents the following dialog:

The chirp function generates a dataset using the following formula:
y = amplitude * sin((acceleration * x) * frequency * x + phase)
Such a result looks like the following:

5.1.5 Sine * chirp
To create a sine * chirp dataset, choose the Generate Data... item from the
Wavelets menu, and the Sine * chirp item from the attached submenu. The Sine *
chirp data generation function then presents the following dialog:

The sine * chirp function generates a dataset using the following formula:
y = amplitude * sin((acceleration * x) * frequency * x + phase) *
sin(frequency2 * x + phase2)
Such a result looks like the following:

5.1.6 Pulse
To create a pulse dataset, choose the Generate Data... item from the
Wavelets menu, and the Pulse item from the attached submenu. The pulse
data generation function then presents the following dialog:

The pulse function generates one or more Gaussian peaks such that:
- The pulse locations can be evenly spaced or placed at random throughout the
data array.
- The pulse heights can be a constant value, or distributed uniformly between 0
and a maximum value.
- The pulse widths can be a constant value, or distributed uniformly between
0 and a maximum value.
A typical pulse dataset looks like the following:

A more interesting pulse dataset (with 100 pulses, random locations, random
heights, and random widths) looks like the following:

5.1.7 Ramp
To create a ramp dataset, choose the Generate Data... item from the
Wavelets menu, and the Ramp item from the attached submenu. The ramp data
generation function then presents the following dialog:

Presumably the function of the settings in the dialog are fairly obvious.
A typical ramp dataset looks like the following:

Contents |
Previous Section |
Next Section
MacWavelets 2.00 User's Manual.
"MacWavelets" is a trademark of Intergalactic Reality.
© Copyright Intergalactic Reality, 1996.
All rights reserved.