Generate/SPEC18.gif Continuous Wavelet Spectrum (3D Surface)


The Continuous Wavelet Spectrum (3D Surface) option in the Spectral menu or the Spectral toolbar presents the Continuous Wavelet Transform (CWT) in a full 3D spectral format. The CWT is a multiresolution time-frequency technique that is useful for exploring data known to be non-stationary. It is also of value for determining whether data can be safely judged wide-sense stationary as required by many of the spectral procedures.

Wavelet

The Morlet, Paul, and GaussDeriv wavelets are available for CWT spectral analysis. The adjustable parameter (Adj) for the Morlet is its wavenumber (from 6 to 20). For the Paul wavelet it is an order that can vary from 4 to 40. For the Derivative of Gaussian wavelet, it is the order of the derivative (from 2 to 80). The wavelets are normally complex, but a real form can be used if Complex is unchecked.

Generate/8964.gif The View Mother Wavelet option can be used to select the wavelet and set its properties graphically.

The Nmin option sets the actual size of the FFT that is used. The difference between this value and the data size specifies the amount of zero padding. The CWT uses an FFT-based fast convolution procedure that requires zero padding in order to be free of wraparound effects. Since it is often possible to zero pad to the next power of 2 and find negligible wraparound effects and also achieve the fastest FFT performance, this is the Nmin initially presented. The number of time values in the spectrum is always the data count, irrespective of zero padding.

Frequency

The CWT offers the means to generate a wavelet spectrum using any set of frequencies desired. The Full Range item locks the frequency range from the lowest unit frequency to the Nyquist frequency. When this option is not checked, the start and end frequencies must be specified.

The Ln Steps item specifies that the frequencies should use a logarithmic spacing. This is useful when most of a signal's energy is at lower frequencies. When this option is not checked, the frequency spacing will be linear.

The n field specifies the count of frequencies in the wavelet spectrum. The default of 35 usually gives a respectable coverage, although it may be insufficient to catch closely spaced low frequency components when a log spacing is used, or closely spaced high frequency components when a linear spacing is used. AutoSignal supports up to 100 frequencies. Bear in mind that each frequency requires a separate FFT of Nmin length, so computation times and memory requirements for large data sets will go up appreciably when high frequency counts are specified.

Surface Decimation

The CWT spectrum is graphically rendered by evaluating a bivariate B-spline interpolant. Powers are also computed by integrating this interpolant.For perfomance reasons and to conserve memory, this B-spline interpolant is limited to a total of 16384 nodes. If the CWT generates a grid (data size x frequency count) with more than this number of values, an averaging decimation is used to reduce the nodal count before the interpolant's coefficients are computed. The decimation is not normally a problem for CWT spectra since it is not possible to directly view power or amplitude, and the averaging has minimal impact on power computations.

Memory Issues

Separate FFTs are made for each scale or frequency in the CWT. For memory reasons, the number of evaluated CWT frequencies is limited to a maximum of 100. In the CWT, zero padding is only used to prevent wraparound effects in the convolution. No additional memory is used as a consequence of zero padding. The spectral data is fitted to a bicubic B-spline for 3D rendering and surface integration. The CWT surface is stored as a grid of B-spline coefficients that consumes considerable memory.

The amount of physical memory (RAM) free for AutoSignal's use is shown in the main status window in the Mem field. When dealing with large data sets, particularly WAV files, it is not difficult to exhaust this memory. When this happens, Windows uses the hard disk for memory operations. Excessive disk activity and extremely slow processing and procedure closure times will result if the physical memory is insufficient.

In the CWT, the memory relationship is linear. Doubling the frequency count doubles the amount of physical memory needed. Typically, there is little to gain beyond 50-60 CWT frequencies. If you are unable to prevent the hard disk thrashing and drastically diminished performance that results from exhausting physical memory, you can try breaking up the large data stream into smaller separate data sets. Given the relatively low cost of RAM, upgrading to 64, 96, or 128 Mb may be a good investment if you will be doing a good deal of non-stationary analysis of large data streams using the CWT.

Plot

The time-frequency spectrum can be plotted in a variety of formats. In the following table, Re is the real component of the CWT at a given time and frequency, Im is the imaginary component, n is the data set size, dx is the sampling interval, and var is the variance of the data series.

· MagnitudeSq, Re*Re+Im*Im

· Magnitude, sqrt(Re*Re+Im*Im)

· Variance, variance normalized CWT, (Re*Re+Im*Im)/var

· Phase, sine-based, Pi/2+atan(Im/Re)

· dB, decibels, 10.0*log10(Re*Re+Im*Im)

· dB Norm, decibels, normalized to 0 for time-frequency node with maximum power

· Int=PSD SSA, Surface Integral is Sum Squared Amplitude Power, 2.0*(Re*Re+Im*Im)

· Int=PSD MSA, Surface Integral is Mean Squared Amplitude Power, 2.0*(Re*Re+Im*Im)/n

· Int=PSD TISA, Surface Integral is Time-Integral Squared Amplitude Power, 2.0*dx*(Re*Re+Im*Im)

In wavelet spectra, because of multiresolution analysis, the spectral peak heights are not linearly proportional to power. If you need this property, and your data series is of sufficient length, you should use the Short-Time Fourier Transform Spectrum option. The most useful options for CWT spectra are the dB formats for visualization and the PSD formats where the surface can be integrated to provide power measurements.

The dBlim field is active only when the dB or dB Norm formats are used. A dB limit is used to furnish limits for the automatic scaling of the z range of the graph as well as to specify the exact z-gradient that will be rendered. The automatic z-scaling is not based directly upon the spectrum since there are often some very low valued elements in the wavelet spectrum which would produce too great a z-range.

The dBlim value also specifies the exact z-range of the color gradients in the 3D rendering. The default of 24, in conjunction with the default Spectrum 24 3D Graph Type means that a different color will be used for each 1dB delta in the spectrum. Since the 3D Graph Types consist of 24, 32, and 48 color gradients, it it often convenient to select a dBlim value that produces meaningful differentiations. For example, if the Spectrum 48 gradient graph is used, a dBlim of 12 would result in a separate color for each 1/4 dB delta in the spectrum. At the lower threshold of the dB range, the surface is truncated even if the z-scaling would allow additional surface to be rendered at the limit color.

3D Graph Profile

AutoSignal offers four different profiles for viewing 3D surfaces. By default, the Contour profile displays a 24-gradient contour where the colors vary as in light spectra, the lowest power to highest power varying from red, through orange, yellow, green, blue, and violet (magenta). The Contour,Data profile displays a 32 gradient contour from blue to red with an overlay of the data. The Gradient profile offers a true 3D surface rendering with 24 z-gradients and a default 60x60 mesh rendering. The Shaded profile offers a 32-gradient surface plot whose colors are shaded by angular illumination with a default 120x120 mesh rendering.

These four profiles are fully customizable and can be set to any surface type, orientation, and format desired. The four profiles are automatically saved across sessions for each procedure implementing them.

Data are plotted by default only with the Contour,Data profile. To display the data when using the other profiles, select a display option other than Hide Points in the Points dialog. When data are plotted in any CWT graph, points within the cone of influence are displayed in the inactive color. The cone of influence defines the spectral region where edge effects can be present.

3D Graph Options

The following options are available for 3D surface graphs:

3D Graph Type

3D Graph View

3D Graph Scaling

3D Graph Animation

3D Graph Titles

3D Graph Font

3D Graph Colors

3D Graph Points

3D Graph Copy

3D Graph Print

AR(1) Bkgrnd

AutoSignal implements peak-type critical limits rather than the traditional confidence limits. A 95% critical limit means that in only 1 of 20 similar size random data sets would the largest CWT spectral peak attain this height strictly by chance.

This option will only be available if a gradient plot is being used. If the AR(1) Bkgrnd option is checked, the critical limits for the time-frequency spectra are plotted as color gradients that override any z-gradient coloring. The wavelet critical limit gradients are the following colors by default: 8-level grayscale from 10 to 50%, 8-level cyanscale from 50% to 90%, 8-level greenscale from 90% to 95%, 8-level yellowscale from 95% to 99%, and 8-level redscale from 99% to 99.9%.

The AR(1) Bkgrnd numeric value is used to adjust the critical limits for a first order autoregressive background. When this value is zero, a data value is assumed to have no correlation with its predecessor and the critical limit gradients will test a white noise background null hypothesis. When this AR coefficient value is greater than zero, a red noise background model assumption is tested. Persistence in natural systems often results in red noise backgrounds that can be modeled with an AR(1) coefficient in the vicinity of 0.5 to 0.8.

The CWT critical limits should be considered approximate since the spectral peak heights can be impacted by the variable smearing in the time-frequency domain arising from multiresolution analysis.

List

Generate/8943.gif The List Data option lists the index, time, frequency, and the spectral quantity currently plotted in a four column table. The listing uses the AutoSignal text viewer facility.

Copy

Generate/8941.gif The Copy Data to Clipboard option copies the time, frequency and the spectral quantity currently plotted to the clipboard. Formats include full precision binary (for spreadsheets such as Excel) and ASCII (for pasting into text editors). You can generally find a Paste As option in most applications if you want specific control over the format imported.

Save

Generate/8942.gif The Save Data to Disk option writes the time, frequency and the spectral quantity currently plotted to a supported file format. These formats include ASCII, Excel 97, Excel 95, Lotus WK3, Lotus WK1, SPSS, or Systat.

Production Facility

Generate/8946.gif The AutoSignal Automation facility allows unattended processing of large numbers of data sets. The data sets can be consolidated in an Excel file or acquired using a DLL. The numeric summaries and graphs can be exported to an MS Word RTF file, while the extended data summaries or the current spectra can be exported to an Excel 95 or Excel 97 file.

Numeric Summary

Generate/8949.gif The Numeric Summary offers a CWT Spectrum report. The report optionally includes a peak map where the three highest times at each frequency are listed.

Rich-Text Format Export

Generate/8971.gif The Export Numeric Summary and Graph to RTF File option writes the numeric summary and spectral plot to an RTF file. The numeric portion of the file is based upon the current settings in the Numeric Summary option. The text data will be written to portrait orientation pages. The graph uses the current settings and size of the spectral plot, and is inserted as a Windows Metafile. The graph always uses a landscape orientation. Beyond a certain size, the graph utilizes a full landscape page.

Evaluate 3D Surface

Generate/8958.gif The Evaluation offers a full-featured numeric evalation of the interpolated CWT bicubic B-spline surface, partial derivatives, roots, and volumes as well as offering a means for generating a table or file of any size using a generated XY grid or by importing XY data from supported file formats. You can use this option to integrate any portion of the time-frequency surface in order to determine the power present. Evaluations outside the bounds of the data will map to the bounds. The integration limits should thus be at or within the data boundaries.

Fast 3D Evaluation

Generate/8959.gif The Quick Evaluation offers the means to evaluate the Z of the surface at any X,Y. It also reports the X,Y,Z representing the surface minimum and maximum.

Power Analysis - Frequency Range

Generate/8962.gif The Power Analysis - Frequency Range option computes the power across time for a specified frequency band by integrating the interpolated wavelet spectrum surface. The Continuous Wavelet Spectrum Frequency Range option in the Spectral menu is a specialized wavelet procedure that combines the CWT and this power analysis into a single step.

Power Analysis - Time Range

Generate/8963.gif The Power Analysis - Time Range option computes the power across all frequencies for a specified range in time by integrating the interpolated wavelet spectrum surface. The global wavelet spectrum, which is similar to a smoothed FFT, is given by using the full time range. The Continuous Wavelet Spectrum Time Range option in the Spectral menu is a specialized wavelet procedure that combines the CWT and this power analysis into a single step.

Overall Power

The Power informational field reports the power of the wavelet spectrum arising from integrating the interpolated surface. This power will be reported only when one of the power formats is selected.

Local Options

A local option changes the data set for the duration of the current procedure only. The main data table is not altered. AutoSignal offers four local options in most of the spectral procedures.

Generate/8930.gif Section the data to isolate specific regions for processing.

Generate/8955.gif Detrend for removing mean or subtracting a least-squares trend model.

Generate/8931.gif Fourier Filtration for isolating spectral components by frequency.

Generate/8954.gif Eigendecomposition Filtration for isolating spectral components by signal strength.

Generate/8912.gif The Reset button restores the data to its state when first entering the procedure. Note that if you implement sequential local procedures, all of the revisions are discarded upon reset. If an Automation Session is in progress, the Reset button can be used to terminate the automated processing.



INDEX Wavelet Selection Continuous Wavelet Spectrum (2D Contour)