CROSS REFERENCE TO RELATED APPLICATIONS

[0001]
This application is based on Provisional Patent Application Ser. No. 60/418,141 of Mark Frei, filed Oct. 11, 2002.
COMPUTER PROGRAM LISTING APPENDIX

[0002]
An appendix containing five computer files on compact disk is included in this application. The files, which are formated for an IBM PC/MS Windowscompatible computer system, are as follows:
 
 
 contents.txt  864 bytes; 
 itd.m  964 bytes; 
 itd_step.m  1,528 bytes; 
 itd_sift.m  1,477 bytes; 
 pangle.m  2,881 bytes; 
 Itd.cpp  3,619 bytes; 
 Itd.h  1,742 bytes; 
 ItdStep.cpp  12,300 bytes; 
 ItdStep.h  6,180 bytes; 
 itd_rec.cpp  3,384 bytes; 
 FhsBuffers.h  4,275 bytes; 
 

[0003]
These files were loaded on the nonrewritable CDR disc on Oct. 7, 2003 and are incorporated herein by reference.
BACKGROUND OF THE INVENTION

[0004]
1. Field of the Invention

[0005]
This invention relates generally to a system for analyzing signals and data and, more specifically but without limitation, to a system for analyzing nonlinear and/or nonstationary signals and data.

[0006]
2. Description of Related Art

[0007]
Data analysis is an essential part of pure and applied research in many disciplines. In many practical applications, the raw data have characteristics that change over time, commonly referred to as being nonstationary and, additionally, very often result from nonlinear processes. Unfortunately, the majority of existing methods for analyzing data are designed to treat stationary, linear data. Another common and serious problem of data analysis is the existence of noise and/or nonstationary trend. Common practice to deal with these problems has involved application of band pass filters to the data. However, these filters are Fourier based and, as such, typically result in the introduction of spurious harmonics in nonstationary data. Therefore, Fourierbased filters have limited utility and practical value for use with nonstationary and/or nonlinear data. In addition, the (low frequency) signal trend can carry significant and useful information about the process being analyzed, and thus should not be simply filtered out. Prior art methods for processing nonstationary data include Fourier analysis, wavelet analysis, the WignerVille distribution, the evolutionary spectrum, the empirical orthogonal function expansion, and the empirical mode decomposition. These prior art methods can be briefly described as follows.

[0008]
Fourier Analysis.

[0009]
Traditional methods of timefrequencyenergy analysis are based on Fourier transforms and are designed for stationary and linear processes. The application of these methods to analysis of nonstationary, nonlinear data can give misleading results. For example, the Fourier spectrum defines uniform harmonic components globally. Therefore, Fourier analysis needs many additional harmonic components in order to simulate nonstationary data, which are not uniform globally. As a result, Fourier analysis tends to spread signal energy over a wide frequency range. As is well known by those having skill in the art, the faster the change in the time domain, the wider the frequency range. Unfortunately, many of the components, that are added in order to simulate the nonstationary nature of the data in the time domain, divert energy to a much wider frequency domain. For example, a single impulse, a signal whose deviation from constancy occurs at a single moment in time, requires infinitely many frequencies with identical power to represent it. Constrained by energy conservation, the spurious harmonics that are added and the wide frequency spectrum required to simulate the nonlinearity cannot faithfully represent the true energy density in the resulting frequency space.

[0010]
Further, Fourier spectral analysis utilizes linear superposition of trigonometric functions. Such analysis needs additional harmonic components in order to simulate the effects of nonlinearity, such as deformed wave profiles. Whenever the form of the data deviates from a pure sine or cosine function, the Fourier spectrum will contain harmonics. As explained above, both nonstationarity and nonlinearity can induce spurious harmonic components that cause energy spreading. The resulting consequence is a misleading or incorrect timefrequency distribution of signal energy for nonlinear and/or nonstationary data.

[0011]
Many data analysis methods have been developed based on Fourier transforms. The spectrogram is the most basic and common method, which is a finitetime window Fourier spectral analysis that is repeated in movingtime windows. By successively sliding the window along the time axis, a timefrequencyenergy distribution is obtained. Since such a distribution relies on the traditional Fourier spectral analysis, the method assumes the data to be piecewise stationary. This assumption is not valid for most nonstationary data. Even if the data were piecewise stationary, it is highly unlikely in most cases that the window size adopted would coincide with the stationary time scale. Furthermore, there are practical difficulties in applying the method. In order to localize an event in time with good temporal precision, the window width must be narrow. Unfortunately, the frequency resolution worsens as window size decreases. Although the conflict in these requirements can be mitigated by different techniques, it renders the applicability of Fourier analysis to nonlinear, nonstationary data of limited use.

[0012]
Wavelet Analysis.

[0013]
Wavelet analysis, which has become extremely popular during the past decade, is an attempt to overcome the problems of windowed Fourier analysis by utilization of a basis of functions to represent a signal that contains elements having different time scales. This approach allows wavelet analysis to detect changes that occur rapidly, i.e., those on a small time scale, with good temporal resolution but poor frequency resolution, or slowly, i.e., those on a large time scale, with good frequency resolution but poor temporal resolution. More specifically, the wavelet analysis approach is essentially an adjustablewindow Fourier spectral analysis. Wavelet analysis is useful for analyzing data with gradual frequency changes. Primary applications of wavelet analysis have been in areas of edge detection and audio and image signal compression. Limited applications also include analysis of timefrequency distribution of energy in time series and of twodimensional images such as fingerprints. Unfortunately, the finite length of the basic wavelet function results in energy leakage across different levels of resolution in a multiresolution analysis, which causes quantitative applications of the timefrequencyenergy distribution to be more difficult.

[0014]
Sometimes, the interpretation of the wavelet can also be counterintuitive. For example, the more temporally localized the basic wavelet, the higher the frequency range will be. Therefore, to define a change occurring locally, the analytic result may occur in a high frequency range. In other words, if a local event occurs only in a low frequency range, the effects of that local event may only appear in a high frequency range. In many applications, the interpretation of such a result would be difficult if not impossible.

[0015]
Another difficulty with wavelet analysis is that it is not adaptive. Once the basic wavelet is selected, the basis for the analysis is completely determined to the extent obtainable from the selected basic wavelet, and all information of the input signals is represented in terms of that basis. Although the basis can be specially selected for an individual application, the information obtained depends heavily on the properties inherent to that basis rather than solely on the intrinsic properties of the signals being studied. Malvar wavelets, Wavelet Packets, and Matching Pursuit methods have been developed to overcome some of these limitations to more accurately represent a signal having dynamics that vary with time and that include both stationary and nonstationary characteristics. Unfortunately, these developments in wavelet analysis continue to suffer from the representation of the signal information in terms of a preselected basis of functions that often has little or nothing to do with the dynamics and other characteristics of the input signals.

[0016]
The WignerVille Distribution.

[0017]
The WignerVille distribution, sometimes referred to as the Heisenberg wavelet, is the Fourier transform of the central covariance function. The difficulty with this method is the severe cross terms indicated by the existence of negative power for some frequency ranges. The WignerVille distribution has been used to define wave packets that reduce a complicated data set into a finite number of simple components. Although this approach can be applied to a wide variety of problems, applications to nonstationary or nonlinear data are extremely complicated. Further, such applications again suffer from the same limitation of the other prior art methods described above in that the bases for representation of information are not derived from the data itself.

[0018]
Evolutionary Spectrum.

[0019]
The Evolutionary Spectrum approach is used to extend the classic Fourier spectral analysis to a more generalized basis, namely from sine or cosine functions to a family of orthogonal functions indexed by time and defined for all real frequencies. Thus, the original signal can be expanded into a family of amplitude modulated trigonometric functions. The problem with this approach, which severely limits its applicability, is due to the lack of means for adequately defining the basis. In principle, the basis has to be defined a posteriori in order for this method to work. To date, no systematic method of constructing such a basis exists. Therefore, it is impossible to construct an evolutionary spectrum from a given set of data. As a result, applications of the evolutionary spectrum method have changed the approach from data analysis to data simulation. Thus, application of the evolutionary spectrum approach involves assumptions causing the input signal to be reconstituted based on an assumed spectrum. Although there may be some general resemblance of a simulated input signal to the corresponding real data, it is not the data that generated the spectrum. Consequently, evolutionary spectrum analysis has very little useful application, if any.

[0020]
The Empirical Orthogonal Function Expansion.

[0021]
Empirical orthogonal function expansion (“EOF”), also known as “principal component analysis” or “singular value decomposition,” provides a means for representing any function of state and time as a weighted sum of empirical eigenfunctions that form an orthonormal basis. The weights are allowed to vary with time. EOF differs from the other methods described hereinabove in that the expansion basis is derived from the data. The critical flaw of EOF is that it only gives a variance distribution of the modes defined by the basis functions, and this distribution by itself gives no indication of time scales or frequency content of the signal. In addition, any single component of the nonunique decomposition, even if the basis is orthogonal, does not usually provide any physical meaning. The Singular Spectral Analysis (“SSA”) method, which is a variation of EOF, is simply the Fourier transform of EOF. Unfortunately, since EOF components from a nonlinear and nonstationary data set are not linear and stationary, use of Fourier spectral analysis generated by SSA is flawed. Consequently, SSA is not a genuine improvement of EOF. Although adaptive in nature, the EOF and SSA methods have limited applicability.

[0022]
The Empirical Mode Decomposition.

[0023]
The empirical mode decomposition (“EMD”) method, involves two major steps. The first step is the application of an algorithm for decomposing physical signals, including those that may be nonlinear or nonstationary, into a collection of Intrinsic Mode Functions (“IMFs”), which are supposedly indicative of intrinsic oscillatory modes in the physical signals. More specifically, the cornerstone of the EMD method is the extraction of a signal baseline from a physical signal wherein the baseline is computed as the mean value of the upper and lower envelopes of the physical signal. The upper envelope is defined by cubic splines connecting the local maxima of the physical signal, and the lower envelope is defined by cubic splines connecting the local minima of the physical signal. The signal baseline is then extracted, or subtracted, from the original signal to obtain an IMF having the first and highest frequency present in the signal.

[0024]
A goal of the first step is to obtain a wellbehaved IMF prior to performing the second step: applying a Hilbert Transform to the IMF. “Wellbehaved” means that the IMF should be a “proper rotation,” i.e., all local maxima are strictly positive and all local minima are strictly negative. This does not necessarily happen with one step of EMD, and thus a laborious, iterative “sifting” process is applied to the signal baseline and is terminated when a set of “stopping criteria” are satisfied, such as when the resulting IMF either becomes a proper rotation or when some other criteria are reached (e.g., a predetermined number of iterations exhausted) without obtaining a proper rotation. The stopping criterion is based on a combination of (i) limiting the amount of computational energy expended, and (ii) having the constructed IMF closely approximate the desired property. When the first IMF function has been obtained, it is subtracted from the signal and the process is repeated on the resulting lower frequency signal. This process is repeated again and again until the decomposition is completed in the window of signal being analyzed.

[0025]
The sifting process has two goals: (i) to separate out high frequency, small amplitude waves that are “riding” atop, or superimposed on, larger amplitude, lower frequency waves, and (ii) to smooth out uneven amplitudes in the IMF being extracted. Unfortunately, these goals are often conflicting for nonstationary signals wherein riding waves may be isolated and/or are highly variable in amplitude. As a result, the sifting process must be applied cautiously as it can potentially obliterate the physically meaningful amplitude fluctuations of the original signal.

[0026]
As noted, once the IMFs have been obtained, the second step of the EMD method is to apply the Hilbert Transform to the IMFs which, provided the IMFs are wellbehaved, results in quantified instantaneous frequency measurements for each component as a function of time.

[0027]
However, the EMD method suffers from a number of shortcomings that lead to inaccuracies in depiction of signal dynamics and misleading results in subsequent signal analysis, as follows:

[0028]
(a) The construction of the IMF baseline as the mean of the cubic spline envelopes of the signal suffers from several limitations, including the time scale being defined only by the local extrema of the original signal, ignoring the locations of the rest of the critical points, such as inflection points and zero crossings, which are not preserved by the sifting process.

[0029]
(b) The EMD transformation is windowbased; the sifting procedure and other processing requires an entire window of data to be repeatedly processed. The resulting information for the entire window is not available until the window's processing has been completed. On average, this causes a delay in obtaining the resulting information of at least half the window length plus the average computational time for a window of data. As a result, an insurmountable problem is created for the EMD in realtime/online applications. In order to obtain the information quickly, the window length should be short. However, short windows have less accurate results due to boundary or edge effects, and are incapable of resolving frequency information on a time scale longer than the window length itself.

[0030]
(c) The EMD method is computationally expensive, and also subject to uncertain computational expenses. The EMD method requires repeated sifting of components in order to obtain wellbehaved IMFs or until stopping criteria are satisfied. Such a procedure may require numerous iterations and may not occur in finite time. Thus, the method often will not result in IMFs with the desired proper rotation property, even when sifting numerous times. Also, the IMFs are generally dependent on the parameters of the algorithm that define the stopping criteria for sifting.

[0031]
(d) Overshoots and undershoots of the interpolating cubic splines generate spurious extrema, and shift or exaggerate the existing ones. Therefore, the envelopemean method of the extraction of the baseline does not work well in certain cases, such as when there are gaps in the data or data are unevenly sampled, for example. Although this problem can be mitigated by using more sophisticated spline methods, such as the taut spline, such improvements are marginal. Moreover, splines are not necessarily well suited to approximate long timescale trends in real data.

[0032]
(e) The EMD method does not accurately preserve precise temporal information in the input signal. The critical points of the IMFs, such as the extrema, inflection points, etc., are not the same as those of the original signal. Also, the EMD method, being exclusively determined by extrema, is deficient in its ability to extract weak signals embedded in stronger signals.

[0033]
(f) Since the cubic splines can have wide swings at the ends, the envelopemean method of the EMD method is particularly unsuitable for realtime applications or for applications utilizing a narrow window. The end effects also propagate to the interior and significantly corrupt the data, as the construction of IMFs progresses, as can be seen in FIGS. 12. FIG. 1, left panel, illustrates the application of the EMD to a test signal (topmost signal) to produce IMF components (displayed below test signal). This panel illustrates end effects, splinerelated instabilities (most noticeable in bottom components), and inability to extract the readily apparent signal baseline. The ITD (shown in the right panel) separates the same test signal (topmost signal) into stable components (displayed below test signal), demonstrating the fact that that ITD has no end effect propagation beyond the first two extrema at each level and allows correct identification of the trend (dashed line). FIG. 2, top panel, shows a brain wave input signal (electrocorticogram; ‘ECoG’) containing an epileptic seizure used to illustrate decomposition differences between EMD and ITD. EMDgenerated (lower left panel) and ITDgenerated (lower right panel) decompositions of the cumulative sum of the raw signal show that ITD, unlike EMD, does not generate extraneous components and correctly reveals large timescale variations of the signal (DC trend).

[0034]
(g) The application of the Hilbert Transform to track instantaneous frequency is only appropriate when frequency is varying slowly with respect to amplitude fluctuations which, unfortunately is a condition not satisfied by many nonstationary signals. Moreover, proper rotations, which are not guaranteed by the EMD, are necessary for the existence of a meaningful, instantaneous frequency that is restrictive and local.

[0035]
(h) Primarily due to the sifting procedure, the EMD method causes (i) a smearing of signal energy information across different decomposition levels, and (ii) an intralevel smoothing of energy and frequency information that may not reflect the characteristics of the signal being decomposed or analyzed. The potential negative effects of oversifting include the obliteration of physically meaningful amplitude fluctuations in the original signal. Also, the interlevel smearing of energy and limitation of decomposition in a window of data create inaccuracies in the EMD's representation of the underlying signal trend, especially if the signal trend is longer than a single window.

[0036]
(i) The EMD method cannot guarantee that the IMF components will be “proper rotations,” even with the sifting reiterations. Often, in practice, they are not.

[0037]
(j) The EMD method is not well behaved if the data is unevenly sampled or if it is discontinuous, and, therefore, may not preserve intact phase and morphology characteristics of the signal.

[0038]
What is needed is a system for reliably analyzing nonlinear and/or nonstationary signals and data capable of decomposing them and/or extracting precise timefrequencyenergy distribution information.
SUMMARY OF THE INVENTION

[0039]
In a method for decomposing an input signal into a baseline signal and a residual signal, the steps including receiving an input signal into a processor, determining a monotonic residual segment with strictly negative minimum and strictly positive maximum and a baseline segment wherein said segments are defined on a time interval comprising the interval between two successive extrema of the input signal and wherein the input signal on that interval is the sum of the baseline and residual segments, and producing a baseline output signal and a residual output signal wherein the baseline signal is obtained from the baseline segment and the residual signal is obtained from the residual segment as determined, such that the sum of the baseline and residual signals is equal to the input signal thereby forming a decomposition of the input signal.

[0040]
In a method for signal decomposition, the steps including receiving an input signal into a processor, using the input signal to construct a baseline signal component such that subtraction of the baseline signal component from the input signal always produces a proper rotation signal.

[0041]
In a method for determining at least one instantaneous frequency estimate from a proper rotation signal, the steps including inputing a proper rotation signal to a processor, determining a zerocrossing and a local extremum of the proper rotation signal, and applying linear interpolation to the proper rotation signal between the zerocrossing and the local extremum to determine an instantaneous frequency estimate of the proper rotation signal.

[0042]
In a method for determining at least one instantaneous frequency estimate from a proper rotation signal, the steps including inputing a proper rotation signal to a processor, extracting an amplitudenormalized half wave from the proper rotation signal, and applying an arcsine function to the amplitudenormalized half wave to determine an instantaneous frequency estimate of the proper rotation signal.
PRINCIPAL OBJECTS AND ADVANTAGES OF THE INVENTION

[0043]
The principal objects and advantages of the present invention include: providing a system and method for analyzing nonstationary and/or nonlinear signals; providing such a system and method that can operate in realtime due to its computational simplicity, recursive nature, elimination of need for sifting, and absence of significant end effects; providing such a system and method that adapts to any timescale and uses complete signal information, including all critical points such as inflection points and zero crossings; providing such a system and method that can extract weak signals embedded in stronger signals; providing such a system and method that provides precise timefrequencyenergy localization, either simultaneously via the Hilbert transform or novel methods for instantaneous phase and instantaneous frequency computation not requiring use of this transform, on other timescales, such as the interextrema timescale or the intercritical point timescale for example; providing such a system and method having the ability to interpolate adjacent critical points using the signal itself; providing such a system that is wellbehaved even if the data is unevenly sampled or is discontinuous; providing such a system that may be applied to analysis of multidimensional signals or data such as images or surfaces; providing such a system and method that has the ability to preserve intact phase and morphology characteristics of the signal; providing such a system and method that can extract proper rotation components in one step; providing such a system and method wherein all extracted components are guaranteed to be “proper rotations” with all strictly positive local maxima and all strictly negative local minima; providing such a system and method wherein the decomposition is completely determined by the input signal; providing such a system and method that is fully adaptive and local in time; providing such a system and method wherein each step consists only of comparisons to determine extrema followed by a piecewise linear transformation of buffered data between two successive extrema to produce the desired signal components; providing such a system and method that preserves temporal information in the signal; providing such a system and method wherein the critical points of all extracted components, such as the points in time at which local maxima, local minima, inflection points, etc., occur, coincide precisely with critical points of the original signal; providing such a system and method that allows waveform featurebased discrimination to be used in combination with single wave analysis and classification to produce powerful and flexible new signal filters for use in decomposition, detection and compression; providing such a system and method that substantially eliminate boundary or windowing effects; providing such a system and method for determining at least one instantaneous frequency estimate from a proper rotation signal using linear interpolation of the proper rotation signal between a zerocrossing and a local extremum; providing such a system and method for determining at least one instantaneous frequency estimate from a proper rotation signal using an arcsine function applied to an amplitudenormalized half wave of the proper rotation signal; and generally providing such a system and method that is effective in operation, reliable in performance, capable of long operating life, and particularly well adapted for the proposed usages thereof.

[0044]
Other objects and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings, which constitute a part of this specification and wherein are set forth exemplary embodiments of the present invention to illustrate various objects and features thereof.
BRIEF DESCRIPTION OF THE DRAWINGS

[0045]
[0045]FIG. 1 is a comparison of EMD and ITD as applied to a test signal.

[0046]
[0046]FIG. 2 is a comparison of EMD and ITD as applied to a brain wave signal.

[0047]
[0047]FIG. 3 is an illustration of ITD's extraction of the baseline from an input signal.

[0048]
[0048]FIG. 4 is an illustration of the steps of the online ITD method.

[0049]
[0049]FIG. 5 is a comparison between the ITD and prior art methods of Fourier analysis and wavelet analysis in determining timefrequencyenergy (TFE) distributions from a signal.

[0050]
[0050]FIG. 6 is an illustration of the ITDbased method.

[0051]
[0051]FIG. 7 is an illustration es the ability of the ITDbased filtering method, used to differentiate between two types of waves that have significantly overlapping spectral characteristics.

[0052]
[0052]FIG. 8 is an illustration of ITD applied to multidimensional data.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0053]
As required, detailed embodiments of the present invention are disclosed herein; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention, which may be embodied in various forms. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present invention in virtually any appropriately detailed structure.

[0054]
Briefly stated, the present invention comprises a system for automated decomposition and analysis of signals of arbitrary type, origin, or timescale. It is able to accurately analyze complex signals that may be, for example, nonstationary, nonlinear, or both. The decomposition obtained by the system of the present invention is completely adaptive to the timescale of the analyzed signal (i.e., the input to the ITD), as determined by critical points of the input, such as local extrema, for example. This system can further analyze the signal components resulting from this decomposition to accurately quantify and localize various signal characteristics in time and frequency. Such signal characteristics include amplitude, wavespeed, phase, regularity, morphology, moments, energy, variance, skewness, and kurtosis, for example. The system can also apply such quantification and localization information as a new type of adaptive filtering, such as for noise removal, trend extraction, or decomposition of the input signal into different components, which have various desired properties. The ITD may be also used as a realtime measure of signal complexity or of information content as a function of time (or state) as determined by the number of extractable components and the energy content existent in each of them. For example, if a signal sample in a particular time window is decomposed by the ITD into 5 proper rotation components and a trend, and another time window of a (same or different) signal is decomposed by the ITD into 9 proper rotation components and a trend, this indicates that the latter signal had more riding waves and thus may have carried more “information” than the former.

[0055]
A. The ITD method

[0056]
The present invention includes an improved data analysis system for analyzing nonstationary or nonlinear signals or data. This method is based on an algorithm, sometimes referred to herein as the Intrinsic Timescale Decomposition (“ITD”) algorithm, which decomposes a signal into a set of components having sequentially lower frequency characteristics, according to the signal's intrinsic timescale as determined by local extrema, maxima and minima, or other critical points. These timescales are important in quantifying and analyzing an oscillating or fluctuating system. The separation process relies on a “signalbased,” selfextraction, interpolation procedure used to identify and isolate individual waves (it can also separate parts of waves and/or sets of waves). This process is then iterated wherein each step separates out the smallest remaining timescale modes (i.e., highest frequency component) from the next successively larger timescale (i.e., lower frequency) baseline signals. The iteration steps are repeated until all modes have been extracted, with the last such mode corresponding to the largest timescale present in the signal, sometimes referred to herein as the monotonic signal “trend.”

[0057]
This decomposition process results in a set of signal components which, if recombined, would sum to the original signal and which possess a number of important properties that facilitate further signal analysis. These components contain constituent monotonic segments, each having fully preserved temporal information (including precise preservation of temporal location of all critical points of the original signal), that can be further decomposed, individually analyzed, or reassembled according to “wave speed,” energy, morphology, probability of occurrence, temporal localization, or any other feature of the segment that may be quantified. These structural elements provide a basis for an expansion of the raw data in terms of the data itself. Most importantly, this basis is adaptive to arbitrarily fast or slow changes in the amplitude and/or timescale of the signal, which makes it ideally suitable for analysis of nonstationary data.

[0058]
One skilled in the art will recognize that it may be desirable in certain applications for a system based on ITD, as an operator on functions, to be applied to a prior transformation of a given function and possibly followed by subsequent transformation (e.g., the inverse of the prior transformation). For example, a system based on ITD can be applied to a signal after first differentiating it one or more times, after which the results may be integrated the same number of times to produce the desired signal components. This technique can be especially useful in uncovering embedded high frequency signals that have a very small signaltonoise ratio.

[0059]
A Single Step of the Method of the Present Invention.

[0060]
The system of the present invention for extracting the baseline can be applied to unevenly sampled data and preserves the locations of all critical points of the original signal, i.e., points at which some signal derivative of a given order is zero. FIG. 3 illustrates the procedure involved in a single step of the method.

[0061]
The height of a single lobe of the signal can be defined as the length of a vertical line drawn from the k
^{h }extremum of the original signal, x(t), to the straight line connecting the extrema at x(t
_{k−i}) and x(t
_{k+1}), and is given by
${h}_{k}=x\ue8a0\left({t}_{k}\right)\frac{\left({t}_{k}{t}_{k1}\right)\ue89ex\ue8a0\left({t}_{k+1}\right)+\left({t}_{k+1}{t}_{k}\right)\ue89ex\ue8a0\left({t}_{k1}\right)}{{t}_{k+1}{t}_{k1}},$

[0062]
where t_{k }is the time of the k^{th }extremum of x(t). The k^{th }segment of the baseline is then defined by

b(t)=c _{k} +d _{k} x(t) _{for } t _{k} ≦t≦t _{k+1},

[0063]
where c_{k }and d_{k }are constants. By requiring the values of the baseline at the points, t_{k}, to be b(t_{k})=x(t_{k})−h_{k}/2, then the total baseline can be constructed by concatenating these segments. The values of c_{k }and d_{k }can then be determined by equating the values of the baseline at the junction points, namely

c _{k} +d _{k} x(t _{k})=x(t _{k})−h _{k}/2

and

c _{k} +d _{k} x(t _{k+1})=x(t _{k+1})−h _{k+1}/2.

[0064]
The first iteration extracts the component r(t)=x(t)−b(t), which contains the smallest timescale oscillations present in the original signal, leaving larger timescale modes behind in the remaining “baseline”, b(t). The following properties then hold:

[0065]
1. Each point b(tk) is either an extremum or inflection point with zero first derivative.

[0066]
2. If x(t_{k+1})−x(t_{k})=(h_{k+1}−h_{k})/2, the k^{th }segment (for t_{k}≦t≦t_{k+1}) of the baseline is a constant, b(t)=c_{k}.

[0067]
3. The component, r(t), is a proper rotation. That is, each maximum of r(t) has a strictly positive value, and each minimum has a strictly negative value. In addition, each point r(t_{k}) is either an extremum or an inflection point with a zero first derivative and the locations of all other critical points are preserved.

[0068]
The baseline function and the extracted r(t) component are sometimes referred to herein as LF(t) and HF(t), respectively, to indicate their relative frequencies as “low” and “high,” respectively. FIG. 3 illustrates the baseline signal obtained by this singlestep of the method for a given input signal (x(t), also shown).

[0069]
Iteration to Produce Multiple Levels

[0070]
After the original signal has been decomposed into a high frequency component, HF(t), and a lower frequency baseline component, LF(t), this baseline component can be treated as the original signal and similarly decomposed in another level of the decomposition. Repetitive extraction of each successive baseline as the decomposition level increases converts: (i) more and more extrema into inflection points while making the lobes wider, and (ii) more and more of the data into long, monotonic segments. The remainder of such a repetitive baseline extraction will be the “trend,” a monotonic segment with timescale equal to the length of original signal being analyzed.

[0071]
The present invention, sometimes referred to herein as the Intrinsic Timescale Decomposition System, or the ITD system, includes an algorithm for decomposing an input signal into components with successively lower frequency characteristics, until finally one is left with either a monotonic signal trend if all modes have been extracted and no extrema of the resulting signal remains, or a signal of lowest relative frequency if the user limits the process to a fixed number of components which are reached before the monotonic trend has been obtained. The method overcomes all of the limitations of prior art methods and provides a significant advancement in the stateoftheart.

[0072]
In an application of the ITD method in order to decompose and analyze an input signal, the following steps are followed:

[0073]
1. The input signal, x(t), is divided into two component signals: (i) a high frequency component signal, sometimes referred to herein as the HF component, that, adaptively at each point in time, contains the highest frequency information present in the signal, and (ii) a baseline component, sometimes referred to herein as the LF component or lower component, that contains all remaining, relatively lower frequency information of the signal. Thus, this first decomposition can be described by the following equation:

x(t)=HF(t)+LF(t)

[0074]
2. The same process that was used to decompose x(t) is next applied to the LF(t) “baseline” component that resulted from the first level of decomposition. In other words, LF(t) is treated as if it were the original signal. By so doing, the LF(t) component is further subdivided into two more components: (i) a component comprising the highest frequency information of the LF(t) component, sometimes referred to herein as the HLF(t) component, and (ii) another component that contains all remaining relatively lower frequency information, sometimes referred to herein as the L^{2}F(t) component. Thus, this second decomposition is described by the equation:

LF(t)=HLF(t)+L ^{2} F(t).

[0075]
3. Next, the L
^{2}F(t) component is similarly decomposed into HL
^{2}F(t)+L
^{3}F(t), and the process is iterated on the successive L
^{n}F(t) signals that contain successively lower and lower frequency information. At each step, the highest frequency information remaining is extracted or separated out. The process terminates when either an increasing or decreasing monotonic L
^{n}F(t) segment has been obtained (sometimes referred to herein as the signal “trend”), or when the decomposition has been performed a desired number of times. The resulting decomposition can be summarized by the following equations:
$\begin{array}{c}x\ue8a0\left(t\right)=\ue89e\mathrm{HF}\ue8a0\left(t\right)+\mathrm{LF}\ue8a0\left(t\right)\\ =\ue89e\mathrm{HF}\ue8a0\left(t\right)+\mathrm{HLF}\ue8a0\left(t\right)+{L}^{2}\ue89eF\ue8a0\left(t\right)\\ =\ue89e\mathrm{HF}\ue8a0\left(t\right)+\mathrm{HLF}\ue8a0\left(t\right)+{\mathrm{HL}}^{2}\ue89eF\ue8a0\left(t\right)+{L}^{3}\ue89eF\ue8a0\left(t\right)\\ =\ue89e\mathrm{HF}\ue8a0\left(t\right)+\mathrm{HLF}\ue8a0\left(t\right)+{\mathrm{HL}}^{2}\ue89eF\ue8a0\left(t\right)+{\mathrm{HL}}^{3}\ue89eF\ue8a0\left(t\right)+{L}^{4}\ue89eF\ue8a0\left(t\right)\\ \ue89e\cdots \\ =\ue89e\mathrm{HF}\ue8a0\left(t\right)+\mathrm{HLF}\ue8a0\left(t\right)+{\mathrm{HL}}^{2}\ue89eF\ue8a0\left(t\right)+{\mathrm{HL}}^{3}\ue89eF\ue8a0\left(t\right)+\dots +{\mathrm{HL}}^{n1}\ue89eF\ue8a0\left(t\right)+{L}^{n}\ue89eF\ue8a0\left(t\right)\end{array}$

[0076]
As the decomposition is being performed, each new extrema in one of the components generates a new monotonic segment in the next lower frequency level, with properties that can be easily quantified and analyzed. As the original signal is decomposed by the method into components, it is simultaneously broken down into an ensemble of individual monotonic segments that are locked in time with the original extrema of the signal, i.e., these segments span the time interval between local extrema of the original signal These individual segments can be classified according to their own characteristics, allowing new and useful filtered signals to be constructed by assembling those segments, lobes, waves or groups of waves that have certain specific characteristics or properties. This process allows the invention to be applied to create an entirely new type of nonlinear signal filter that is able to differentiate precise timefrequencyenergy information simultaneously with many other important waveshape characteristics at the single wave level in a computationally efficient manner.

[0077]
Such decomposition, as provided by the ITD system of the present invention, has a number of special and desirable properties:

[0078]
1. All of the HL^{k}F(t) components are guaranteed to be “proper rotations,” i.e., to have all strictly positive local maxima and all strictly negative local minima. Again, the need for a proper rotation decomposition is important in subsequent analysis to reliably determine instantaneous frequency of the HLKF components.

[0079]
2. The decomposition is completely determined by the input signal. It is fully adaptive and local in time. Moreover, it is highly computationally efficient, each step consisting only of comparisons to determine extrema, and followed by a piecewise linear transformation of buffered data between successive extrema to produce the desired signal components.

[0080]
3. The ITD procedure completely preserves temporal information in the signal. All of the critical points of the HL^{k}F components (i.e., the points in time at which their local maxima, local minima, inflection points, etc., occur) coincide precisely with the critical points of the original signal.

[0081]
4. The ITD method, as exemplarily implemented in the code contained in the Computer Program Appendix hereof, can be performed in real time to simultaneously produce output as the information becomes available, thereby eliminating all boundary effects or windowing effects other than initial startup effects which last at a particular level only until two extrema are obtained by the lowfrequency component at the prior level, i.e., until full wave information becomes available at these lower frequencies. The online implementation allows the method to resolve arbitrarily low frequency information present in the signal and, thus, all frequency information present in the signal.

[0082]
The ITD method and apparatus of the present invention has broad and important applicability to analysis of many different types of signals, including, but not limited to, geophysical signals, seismic data, thermal signals such as sea surface temperature, radiometer signals, environmental signals, biologic signals such as brain waves or heart signals, proteins, genetic sequences or other data, morphometrics, telecommunications signals, speech or other acoustic signals, crystallographic, spectroscopic, electrical or magnetic signals, object trajectories or other physical signals, structural vibrations or other signals indicative of structural integrity (e.g., movement of bridges or buildings) such as resonant frequencies of structures, power signals including those in circuits, and signals arising in finance such as stock and bond prices. The method is designed for application to signals of arbitrary origin, timescale, and/or complexity. It can also be useful in fusion of data obtained from different sensors, since underlying correlated signals may be uncovered and timelocked together with the method.

[0083]
Although the ITD system can incorporate a sifting procedure at each level of decomposition, it is not required. The desirable “proper rotation” property of the components, guaranteed by the ITD system, is attained at each level in a single, highly computationally efficient, first step. The only purpose for applying such a sifting procedure would be to smooth the amplitude envelope of the components. While this may be desirable for certain applications, it must be performed with care, with the understanding that the sifting process may reduce or even eliminate the instantaneous information that the ITD otherwise provides without any sifting procedure.

[0084]
Some advantages over the prior art provided by the present invention include:

[0085]
(a) applicability for analyzing nonstationary and/or nonlinear signals;

[0086]
(b) ability to operate in realtime due to its computational simplicity, recursive nature, elimination of need for sifting, and absence of significant end effects;

[0087]
(c) ability to adapt to any timescale and to use complete signal information, including all critical points such as inflection points and zero crossings and not just local extrema, thereby allowing weak signals embedded in stronger signals to be extracted;

[0088]
(d) ability to provide precise timefrequencyenergy localization, either instantaneously via the Hilbert transform or on other timescales, such as the interextrema timescale, the intercritical point timescale, etc.;

[0089]
(e) ability to interpolate adjacent critical points using the signal itself, sometimes referred to as the selfextraction property. The ITD system is ‘wellbehaved’ even if the data is unevenly sampled or if it is discontinuous. This translates into the ability to preserve intact phase and morphology characteristics of the signal; and

[0090]
(f) ability to estimate the information content or complexity of the signal at multiple time and spatial scales.

[0091]
The characteristics that make the ITD extremely wellsuited for the analysis of nonlinear or nonstationary signals and which fundamentally differentiate it from prior art systems are:

[0092]
(a) The ability to operate in realtime, due to its computational simplicity (including the lack of need for sifting, and the unique ability to generate a proper rotation HF component in one step) and the absence of significant end effects.

[0093]
(b) The ability to adapt to any timescale and to use complete signal information, including all critical points (e.g., inflection points and zero crossings) and not just local extrema.

[0094]
(c) The ability to interpolate adjacent critical points using the signal itself (selfextraction property), instead of cubic splines, which cause instability (overshooting or undershooting) by generating spurious extrema or by shifting or amplifying existing ones. Additionally, spline interpolation does not work well when there are sudden changes in the timescale of the signal, a common phenomenon in analysis of nonstationary signals.

[0095]
(d) The ability to extract single modes in one step, which makes it highly computationally efficient.

[0096]
These technical differences translate into important additional advantages:

[0097]
(a) There is absence of significant “end effects.”

[0098]
(b) The ability to extract weak signals, embedded in stronger ones because the ITD scaling is not exclusively given by extrema,

[0099]
(c) The ITD is “wellbehaved” even if the data is unevenly sampled or if it is discontinuous.

[0100]
Although the aforementioned advantages, wellsuited characteristics, and technical differences are described in this iteration subsection, it is to be understood that these advantages, wellsuited characteristics, and technical differences are similarly applicable to online ITD, obtaining timefrequency distribution of signal energy and obtaining instantaneous phase and frequency, analyzing single waves to create new methods of filtering and compression for signals of arbitrary origin, and general data analysis as described in the following subsections hereof.

[0101]
B. Online ITD

[0102]
The ITD method has been recursively implemented for online signal analysis. Software, written in C and in MATLAB® languages, is provided in the Computer Program Appendix hereof. The online version of the computer code is designed to run continuously forward in time and to process input signal information as it is obtained, with minimal computational expense and minimal time delay. The software detects extrema in a digital input signal as soon as they occur, and immediately computes the monotonic segment of the corresponding low and high frequency components on the time interval from the most recent prior extrema to the current, newly found extrema using the procedure explained herein. The monotonic segment of the LF component is then concatenated with the existing signal at the decomposition level obtained to that point, and the most recent value of the component is checked to determine whether an extrema has been found at that level. If so, the appropriate monotonic segment of the L^{2}F component is then computed along with the corresponding segment of the HLF component. The extrematriggered process continues down through each level until the lowfrequency monotonic segment simply results in a lengthening of the monotonic segment rather than generating a new extrema at that level. The delay in obtaining information at any given level is simply equal to the time until the next extrema is obtained at that frequency level. Thus, information is available on the same timescale as that at which the input signal is fluctuating, as determined by the time between successive extrema.

[0103]
The software requires three signal extrema to begin the decomposition at the first level. The ability of the method to constrain edgeeffects to the time period prior to the first two extrema allows it to be interpreted as a startup transient in information generation, which is common in automated signal analysis. From the time of occurrence of the third extrema in the raw signal forward, or the L^{n}F component being decomposed in the case of higher levels of decomposition, the remaining data at that level is absolutely free from edgeeffects.

[0104]
[0104]FIG. 4 illustrates the procedure followed by the online ITD system. In FIG. 4A, the input signal to be decomposed is shown in solid lines with extrema indicated by circles. The baseline component, computed in time up to the local minimum extrema at time t(j−1) is shown in dashed lines. The system is buffering each new input signal value on the solid curve until such time as a new extrema is detected at time t(j+1). The detection of the new extrema triggers computation (via the ITD step algorithm) of the monotonic baseline segment for values of t between t(j−1) and t(j+1). First, a new baseline node is computed (see solid point at t(j) in FIG. 4B), and the input signal itself over that interval is linearly transformed to form the monotonic baseline function over that interval (see dashed red curve between t(j−1) and t(j) in FIG. 4C). The low frequency baseline component segment is then immediately subtracted from the input signal to generate the corresponding high frequency component on the [t(j−1), t(j)] interval. The procedure continues, with each new extrema triggering a similar portion of the decomposition on the time interval between adjacent extrema. See FIG. 4D for an illustration of resulting baseline and high frequency components for this example, along with the original signal being decomposed. Note that: (i) the high frequency component has all positive maxima and all negative minima (i.e., it is a “proper rotation”), and (ii) the method is iterated, applying this decomposition procedure to each resulting baseline component in a manner that is similarly triggered each time the component to be decomposed has a new extrema.

[0105]
C. Application of the ITD to Obtain the TimeFrequency Distribution of Signal Energy and New Methods for Obtaining Instantaneous Phase and Frequency.

[0106]
Application of the ITD to an input signal results in a decomposition that consists of a set of proper rotation components of successively lower relative frequencies, along with a monotonic signal trend. The proper rotations are ideally suited for subsequent analysis to determine the timefrequencyenergy (“TFE”) distribution of the original signal. This can be accomplished, e.g., by using the Hilbert transform if TFE information is sought at every data point (i.e., with temporal precision equal to the signal sampling rate). However, the present invention also includes methods for instantaneous phase angle and instantaneous frequency computation that do not require use of the Hilbert transform. These methods are “wavebased,” i.e., they define the instantaneous frequency in a piecewise manner, each piece corresponding to the time interval between successive upcrossing of a proper rotation and using only information about the single wave of the proper rotation occurring during that period and guarantee a monotonically increasing phase angle when applied to proper rotation components, whereas numerical computations of instantaneous phase using the Hilbert transform do not always result in this highly desirable property. Instantaneous frequency can then be obtained from the time derivative of the instantaneous phase angle. Monotonically increasing phase angles result in instantaneous frequencies that are never negative. By contrast, in Hilbert transformbased numerical computations of instantaneous phase angle, angle decreases and corresponding negative instantaneous frequencies occasionally occur, along with related phaseunwrapping jumps by 2π multiples. By contrast, the first embodiment of the method described herein (i.e., the “arcsine approach”) produces instantaneous phase angles that do not suffer from these problems and, though not necessarily identical to those obtained via the Hilbert transform, provide a reasonable and useful alternative. The arcsine approach coincides with the Hilbert transform result for meanzero trigonometric functions and provides more desirable results in cases when the Hilbert transform leads to negative frequencies and/or phaseunwrapping jumps. Moreover, the Hilbert transform approach suffers from boundary effects that are overcome by the present invention. One skilled in the art will also appreciate that while the Hilbert transform and the inventions described herein may be applied to nonproper rotation signals, the concept of instantaneous phase angle and instantaneous frequency are meaningful and avoid ambiguity only when applied to proper rotation signals.

[0107]
The first embodiment of the method for instantaneous phase angle computation obtains the phase angle, θ(t), from the signal x(t) for one full wave (i.e., the portion of the signal between successive zero upcrossings) at a time. The instantaneous phase angle is obtained using the arcsine function applied to the positive and negative signal halfwaves (separated by the zero downcrossing of the wave) after amplitude normalization, as follows:
$\theta \ue8a0\left(t\right)=\{\begin{array}{cc}{\mathrm{sin}}^{1}\ue8a0\left(\frac{x\ue8a0\left(t\right)}{{A}_{1}}\right)& t\in \left[{t}_{1},{t}_{2}\right)\\ \pi {\mathrm{sin}}^{1}\ue8a0\left(\frac{x\ue8a0\left(t\right)}{{A}_{1}}\right)& t\in \left[{t}_{2},{t}_{3}\right)\\ \pi {\mathrm{sin}}^{1}\ue8a0\left(\frac{x\ue8a0\left(t\right)}{{A}_{2}}\right)& t\in \left[{t}_{3},{t}_{4}\right)\\ 2\ue89e\text{\hspace{1em}}\ue89e\pi +{\mathrm{sin}}^{1}\ue8a0\left(\frac{x\ue8a0\left(t\right)}{{A}_{2}}\right)& t\in \left[{t}_{4},{t}_{5}\right)\end{array}$

[0108]
where A_{1}>0 and A_{2}>0 are the respective amplitudes of the positive and negative halfwaves between the successive zero upcrossings, t_{1 }and t_{5}, t_{2 }is the (first) time of the maxima (A_{1}) on the positive halfwave, t_{3 }is the zero downcrossing time, and t_{4 }is the (first) time of the minima (−A_{2}) on the negative halfwave. Incomplete waves at the beginning and/or end of a proper rotation component, i.e., data prior to the first zero upcrossing or after the last zero upcrossing, may be treated according to this definition as well over the appropriate subinterval of [t_{1}, t_{5}]. According to this phase angle definition, the phase angle is zero at every zero upcrossing, π/2 at the local maxima of the wave, π at each zero downcrossing, and 3π/2 at each local minima. In the online ITD, the evolution of the phase angle over any monotonic segment of a proper rotation can be computed between times of successive extrema as soon as the righthand extrema is determined and the segment has been obtained from the ITD decomposition.

[0109]
The second embodiment of the method for instantaneous phase angle computation is similar to the first, in that it is based on the progression of the proper rotation through each successive full wave, but is designed to provide an even more computationally efficient alternative. In this embodiment, the phase angle is computed for each wave of the signal as follows:
$\theta \ue8a0\left(t\right)=\{\begin{array}{cc}\left(\frac{x\ue8a0\left(t\right)}{{A}_{1}}\right)\ue89e\frac{\pi}{2}& t\in \left[{t}_{1},{t}_{2}\right)\\ \left(\frac{x\ue8a0\left(t\right)}{{A}_{1}}\right)\ue89e\frac{\pi}{2}+\left(1\frac{x\ue8a0\left(t\right)}{{A}_{1}}\right)\ue89e\pi & t\in \left[{t}_{2},{t}_{3}\right)\\ \left(\frac{x\ue8a0\left(t\right)}{{A}_{2}}\right)\ue89e\frac{3\ue89e\text{\hspace{1em}}\ue89e\pi}{2}+\left(1+\frac{x\ue8a0\left(t\right)}{{A}_{2}}\right)\ue89e\pi & t\in \left[{t}_{3},{t}_{4}\right)\\ \left(\frac{x\ue8a0\left(t\right)}{{A}_{2}}\right)\ue89e\frac{3\ue89e\text{\hspace{1em}}\ue89e\pi}{2}+\left(1+\frac{x\ue8a0\left(t\right)}{{A}_{2}}\right)\ue89e2\ue89e\text{\hspace{1em}}\ue89e\pi & t\in \left[{t}_{4},{t}_{5}\right)\end{array}$

[0110]
This approach obtains the instantaneous phase angle via linear interpolation of the signal value between zero and its value at an extrema. Phase angles that are computed using this second method may deviate more significantly from those obtained via the Hilbert transform than those derived from the first embodiment. However, it will be appreciated that either embodiment may be more useful than the other (or Hilbert transformbased analysis) for certain applications, such as measuring certain types of synchronization between two proper rotations. Which approach is better depends upon such factors as the weights given to physical meaningfulness of the instantaneous frequency and to the computational expense of the procedure.

[0111]
If temporal information on the timescale of the individual waves present in the decomposed components is all that is required, as opposed to instantaneous information on the timescale of the sampling rate as discussed above, TFE information may be obtained through quantification of the size/energy and duration/frequency/wavespeed of the individual waves of each proper rotation component. Alternatively, one skilled in the art will appreciate that the ITD method allows the use of other temporal segmentation for the purpose of TFE distribution construction, such as, e.g., that determined by component critical points, individual monotonic segments, or component “halfwaves” as partitioned by zerocrossings. The results of any of these approaches may be further smoothed as desired for visualization and analysis purposes using any number of standard techniques well known to those skilled in the art.

[0112]
[0112]FIG. 5 demonstrates how the ITD may be applied to determine a TFE distribution of a sample signal and compares its performance to prior art methods of Fourier analysis and wavelet analysis for this task. FIG. 5A contains a sample signal. FIGS. 5BC contain the TFE distribution of the signal obtained via windowed Fourier analysis. Note the rectangular grid of TFE information naturally derived from this transform and the tradeoffs between good temporal but poor frequency localization (as shown in FIG. 5B), and poor temporal but good frequency localization (as shown in FIG. 5C). Darker regions correspond to those with higher power throughout this Figure. It is impossible to simultaneously improve both temporal and frequency localization of energy. Quantification is performed in this Fourier analysis by sequential time windows with a predetermined segmentation of the signal that is not determined in any way by the signal changes (e.g., local extrema). FIG. 5D illustrates the TFE distribution for the same input signal that is obtained using the fast wavelet transform. Note the dyadic grid of TFE information naturally derived from this transform. The FWT has the ability to localize higher frequency information on shorter time scales and lower frequency information on longer timescales, but still suffers from predetermined temporal segmentation and inaccuracies in both temporal and frequency localization. These are due in part to the bleeding of signal energy across different levels of resolution in the wavelet transform and are attributed in large part to the temporal and frequency bins that are predetermined by the choice of basis and not by the signal under study. FIG. 5E shows the ITDbased TFE distribution for the same signal, illustrating the significant advance in timefrequency localization provided by the algorithm of the subject invention. Each displayed line segment's start and end points correspond exactly to the start and end of an actual wave in an ITD proper rotation component and the line segment shading is determined by the amplitude of the corresponding wave (darker indicates greater amplitude). Since the ITD automatically decomposes the input signal into a set of proper rotations and a monotonic trend, the instantaneous phase angles for each proper rotation component can be obtained via the Hilbert transform or the invention's alternative approaches described herein to obtain the corresponding instantaneous frequencies. FIG. 5F (page 2 of 3) shows the original signal and the first four HF components obtained by the ITD. FIG. 5G shows the instantaneous frequency curves (in light gray when instantaneous power is insignificant, i.e., below 2×10^{−5}) corresponding to each of the HF proper rotation components (as shown smoothed and solid black) when instantaneous power is nonnegligible, i.e., above 0.005, to illustrate this process. The curves in FIG. 5G were obtained using the arcsinebased method for instantaneous frequency computation and were smoothed using a 0.1 second median filter to enhance visualization. FIG. 5H (page 3 of 3) shows the first three proper rotation components obtained by application of the ITD to the signal of FIG. 5A. FIGS. 5I and 5J show the halfwave amplitudes and (smoothed) instantaneous frequencies for each component obtained via the arcsinebased method for instantaneous phase and instantaneous frequency determination (linestyles are the same as that of the corresponding proper rotation components). As expected, the instantaneous frequencies of each component decrease at each point in time as the level increases, but the actual frequency values are determined solely by the signal and not predetermined in any manner.

[0113]
D. Application of the ITD and Single Wave Analysis to Create New Methods of Filtering and Compression for Signals of Arbitrary Origin.

[0114]
The ability of the ITD to decompose online any input signal into a set of one or more component signals which have the proper rotation property makes it an ideal first step of a twostep process resulting in a powerful and unique new method for nonlinear signal filtering. In particular, as each monotonic segment is computed within one or more decomposition levels, features of the segment can be analyzed and quantified. For example, the amplitude and duration of the segment may be simply computed from the extrema, i.e., the starting and ending points of the segment. One skilled in the art will appreciate that more detailed features such as the timeweighted feature density of the segment, see for example Int'l. Publication No. WO 01/75660 A1, of Nikitin et al, and associated properties such as its average or median value, its variance, skewness, distance from a template or reference density, etc., may also be quantified for each segment. Individual segments may then be classified according to the values of theses quantified features. A filtered signal can then be constructed by adding together (i.e., superimposing the segments while preserving the time intervals on which each occurred) only those segments that satisfy certain constraints applied to their quantified features. For example, one may construct a signal using only those ITDcreated monotonic segments with durations that, using the data sampling rate, correspond to wavespeeds between f_{min }Hz and f_{max }Hz, and with absolute amplitudes of at least A_{min}, e.g., in excess of the 75^{th }percentile of amplitudes for all segments with the required duration. In this example, the output can be essentially interpreted as extracting the waves in the input signal that are in the f_{min}f_{max }frequency band and which have larger amplitudes than A_{min}. Such uses would bear a strong resemblance to the commonly used Fourierbased bandpass filtering, but would avoid the phaseshifting and waveform distortion drawbacks, while adding the amplitude differentiation capability. In FIG. 6, this concept is illustrated when applied to the same input signal used in FIG. 5A (also shown again in FIG. 6A). After the TFE distribution is computed, the absolute amplitude and duration/wavespeed of each individual wave are obtained. FIGS. 6BC shows the onedimensional (marginal) densities of these two features along with vertical discriminator in solid lines that were selected for purposes of illustrating the capabilities of this method. FIG. 6D shows the (absolute amplitude, wavespeed) ordered pairs for each segment. Discriminators of pairs with wavespeed less than 20 Hz, between 20 Hz and 50 Hz, and greater than 50 Hz are applied, along with a discriminator of amplitude exceeding 0.01 mV. Feature vector pairs (i.e., points in FIG. 6D) falling into certain specific regions of the twodimensional feature range are classified according to the region in which they belong. FIG. 6E displays three filtered components constructed using only those segments with points in specific regions (corresponding to three of the regions in FIG. 6D). Component one, C_{1}, is the output of a filter that contains the signal reconstructed using only those waves that have absolute amplitude exceeding 0.01 mV and wavespeed between 20 Hz and 50 Hz. Component two, C_{2}, is the output of a filter that contains the signal reconstructed using only those waves that have absolute amplitude less than 0.01 mV and wavespeed between 20 Hz and 50 Hz. Component three, C_{3}, is the output of a filter that contains the signal reconstructed using only those waves that have absolute amplitude exceeding 0.01 mV and wavespeed below 20 Hz. The output obtained by combining some of these components (i.e., C_{1}+C_{2}+C_{3 }and C,+C_{2}) are shown in FIG. 6F, along with the output of a traditional, linear, [20, 50] Hz. bandpass digital filter provided for comparison. The extremapreserving properties of this new type of filter are evident in this FIG. 6F. FIG. 6G again compares an output available by using the ITD filter in comparison to the same linear bandpass digital filter, but does so on a slightly larger timescale (10 seconds). The residual signals obtained by subtracting the filtered outputs from the original signal are also shown, to illustrate the ability of the ITD based signal to more completely decompose the raw input signal into what may be interpreted as abnormal and normal components present in the raw signal.

[0115]
Since the relative starting time of each segment can also be considered as a segment feature, temporal relationships between segments can be analyzed (in addition to other features) to determine which segments to include in construction of the filtered signal output. This allows much more sophisticated pattern recognition techniques to be incorporated into the second step of this filtering process. Of course, there may be multiple classes of features and an input signal may be decomposed by this ITDbased nonlinear filter into a multitude of output components. One skilled in the art will also appreciate that adaptation techniques used in conventional digital filtering may be equally well employed in this new setting to produce adaptive ITDbased nonlinear filters. Such techniques include, for example, clusteranalysis applied to segment features in order to determine recurring patterns or underlying signal dynamics that may exist in the input signal and which the filter may be designed to separate and illuminate. In addition to, or as an alternative to single segmentbased feature analysis, one may perform the analysis on whole “waves” consisting of pairs of (i.e., consecutive) monotonically increasing and decreasing segments or waves defined by interzeroupcrossings of any of the proper rotation components.

[0116]
Another example that illustrates the power of the invention for signal filtering and analysis is provided in FIG. 7. In this Figure we demonstrate how the ITDbased filtering method may be applied to differentiate between two types of waves that have significantly overlapping spectral characteristics and to decompose a raw signal that is a combination of these two types of waves into components that preserve temporal location of extrema and critical points in the raw signal. Overlap between the power spectral densities of an underlying signal and superimposed noise is one of the more difficult problems in signal analysis and detection, with numerous applications. FIG. 7A illustrates the mix of two alternating signals, one a 9 Hz cosine wave with an increasing linear trend and the other a 9 Hz sawtooth wave. The signals were added to create a raw test signal for use in this example. FIG. 7B shows the power spectral density estimates for each of the two signals, clearly illustrating the significant overlap in the band around 9 Hz. FIG. 7C shows the proper rotation components and monotonic trend obtained via application of ITD to the original combined signal. FIGS. 7DE illustrate the result of applying single wave analysis to examine various features of individual waves obtained by the ITD decomposition. FIG. 7D shows the ratio of individual wave peak to mean signal value, while FIG. 7E shows a plot of wave skewness plotted versus wave kurtosis. A sample discriminator in dashed linestyle is also shown to illustrate the result of feature classification as applied to these quantified waveform features. FIG. 7F shows the output of the ITDbased filter that retains only those waves with peaktomean value ratio exceeding 1.65. The corresponding residual signal, i.e., the original signal minus the filter output signal, is also shown and illustrates that peaktomean value ratio discrimination of ITDproduced proper rotation waves allow reconstruction of a filter output that nearly perfectly decomposes the original signal into its constituent components while retaining precise temporal information regarding, e.g., extrema location. FIG. 7G shows the output of the ITDbased filter that retains only those waves with skewnesskurtosis pairs above the dashed discriminator line, along with the corresponding residual signal. This example illustrates how this new filter method may be easily configured to decompose an input signal into components with more complex criteria, such as “cutting off the tops of all riding sinusoidal waveforms while retaining every other signal component” as is done here. FIG. 7H shows the same signals as in FIG. 7G but zooming in to the time interval between t=9 and t=13 to see details of the filter output.

[0117]
Another useful capability of the invention involves use of the ITD and single wave analysis to provide a means for signal compression. Since the ITD proper rotation components preserve extrema and critical points of the original signal, singlewave analysisbased compression and subsequent reconstruction are also able to accurately preserve the extrema and/or critical points deemed significant by the user. The user may throw away all individual monotonic segments of signal that are determined to be insignificant, according to automated analysis of a set of segment features and retain only those segments that are of interest for later use in reconstruction. Moreover, utilizing cluster analysis of waveform shapes, shapes of their derivatives, clustering analysis of quantifiable signal features, or classification of individual waveform segments into a small set of ‘cymemes’ or template waves such as, for example, half sine waves with amplitude and frequency matching the single waves, allows for significant compression of nonstationary signals.

[0118]
E. Application of the Above Methods to General Data Analysis

[0119]
One skilled in the art will recognize that the ITD method does not actually require the input data to be a time series or “signal” in the strict sense of the word, i.e., a sequence of data indexed by time. The method is sufficiently flexible to be applied to any set of numerical data that is a function of a realvalued variable, i.e., one that satisfies a “vertical line test.” The index that is typically interpreted herein as a time index could instead just refer to the aforementioned realvalued variable. For example, in any list or sequence of numbers, the variable “t” may be assigned natural number values, i.e., 1, 2, 3, . . . , and interpreted simply as the index into the list of data. The fact that the ITD does not require uniform spacing of the data in time also allows obvious generalization of the method to other types of data besides time series.

[0120]
One skilled in the art will also recognize that, just as Fourierbased filtering and other decomposition methods can be successfully applied to higher dimensional analysis, so, too, can the ITD system. This extends the abovementioned application of the ITD to decompose functions of several variables. For example, in image processing applications, one may be interested in separating an image into a high frequency component, which contains edge transitions between various objects in the image for example, and a low frequency component, which define background colors in the image for example. Twodimensional wavelet and/or Fourier analysis are popular for image processing applications. However, the drawbacks mentioned above for these methods still exist in higher dimensional analysis. The benefits of the ITD system, such as its ability to preserve extrema and precisely localize timefrequencyenergy information are preserved in higher dimensional analysis and thereby offer improvements over the most popular prior art methods. FIG. 8 illustrates the application of ITD to decompose a twodimensional surface (shown in FIG. 8A) into two component surfaces, namely a high frequency surface (shown in FIG. 8B) and a low frequency surface (shown in FIG. 8C). The decomposition in this example is obtained by decomposing each of the crosssectional signals of the surface along the grid lines obtained by holding the first independent variable constant, repeating the process holding the second variable constant, and averaging the two results.

[0121]
The present invention may include an article of manufacture having a computerreadable medium comprising code, or a microprocessor having such code embedded therein, wherein such code is capable of causing the computer, microprocessor, or other computational apparatus to execute the inventive method.

[0122]
Further scope of applicability of the present invention will become apparent from the detailed description given herein. However, it is to be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description. Furthermore, all the mathematical expressions are used as a short hand to express the inventive ideas clearly and are not limitative of the claimed invention.