S transform
Template:About S transform as a time–frequency distribution was developed in 1994 for analyzing geophysics data.<ref>Template:Cite journal</ref><ref name="Stockwell PhD">Stockwell, RG (1999). S-transform analysis of gravity wave activity from a small scale network of airglow imagers. PhD thesis, University of Western Ontario, London, Ontario, Canada.</ref> In this way, the S transform is a generalization of the short-time Fourier transform (STFT), extending the continuous wavelet transform and overcoming some of its disadvantages. For one, modulation sinusoids are fixed with respect to the time axis; this localizes the scalable Gaussian window dilations and translations in S transform. Moreover, the S transform doesn't have a cross-term problem and yields a better signal clarity than Gabor transform. However, the S transform has its own disadvantages: the clarity is worse than Wigner distribution function and Cohen's class distribution function.Template:Citation needed
A fast S transform algorithm was invented in 2010.<ref>Template:Cite book</ref><ref name=":0">Template:Cite journal</ref> It reduces the computational complexity from O[N2·log(N)] to O[N·log(N)] and makes the transform one-to-one, where the transform has the same number of points as the source signal or image, compared to storage complexity of N2 for the original formulation.<ref name=":0" /><ref>Kelly Sansom, "Fast S Transform", University of Calgary, https://www.ucalgary.ca/news/utoday/may31-2011/computing</ref> An implementation is available to the research community under an open source license.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name=":1">Template:Citation</ref>
A general formulation of the S transform<ref name=":0" /> makes clear the relationship to other time frequency transforms such as the Fourier, short time Fourier, and wavelet transforms.<ref name=":0" />
DefinitionEdit
There are several ways to represent the idea of the S transform. In here, S transform is derived as the phase correction of the continuous wavelet transform with window being the Gaussian function.
- S-Transform
- <math> S_x(t,f) = \int_{-\infty}^\infty x(\tau)|f|e^{- \pi (t- \tau)^2 f^2} e^{-j2 \pi f \tau} \, d \tau </math>
- Inverse S-Transform
- <math>x(\tau) = \int_{-\infty}^\infty \left[\int_{-\infty}^{\infty}S_x(t,f)\, dt\right]\,e^{j2\pi f\tau}\, df</math>
Modified formEdit
- Spectrum Form
The above definition implies that the s-transform function can be expressed as the convolution of <math>( x(\tau) e^{-j2 \pi f \tau} )</math> and <math>( |f|e^{- \pi t^2 f^2} )</math>.
Applying the Fourier transform to both <math>( x(\tau) e^{-j2 \pi f \tau} )</math> and <math>( |f|e^{- \pi t^2 f^2} )</math> gives
- <math> S_x(t,f) = \int_{-\infty}^\infty X(f+\alpha)\,e^{-\pi\alpha^2 /f^2}\,e^{j2\pi\alpha t}\, d\alpha </math>.
- Discrete-time S-transform
From the spectrum form of S-transform, we can derive the discrete-time S-transform.
Let <math>t = n\Delta_T\,\, f = m\Delta_F\,\, \alpha = p\Delta_F</math>, where <math>\Delta_T</math> is the sampling interval and <math>\Delta_F</math> is the sampling frequency.
The Discrete time S-transform can then be expressed as:
- <math>S_x(n\Delta_T\, ,m\Delta_F) = \sum_{p=0}^{N-1} X[(p+m)\,\Delta_F]\,e^{-\pi\frac{p^2}{m^2}}\,e^{\frac{j2pn}{N}}</math>
Implementation of discrete-time S-transformEdit
Below is the Pseudo code of the implementation.
Step1.Compute <math>X[p\Delta_{F}]\,</math>
loop over m (voices) Step2.Compute <math>e^{-\pi \frac{p^2}{m^2}}</math>for <math>f=m\Delta_{F}</math>
Step3.Move <math>X[p\Delta_{F}]</math> to <math>X[(p+m)\Delta_{F}]</math>
Step4.Multiply Step2 and Step3 <math>B[m,p] = X[(p+m)\Delta_{F}]\cdot e^{-\pi \frac{p^2}{m^2}}</math>
Step5.IDFT(<math>B[m,p]</math>). Repeat.}
Comparison with other time–frequency analysis toolsEdit
Comparison with Gabor transformEdit
The only difference between the Gabor transform (GT) and the S transform is the window size. For GT, the windows size is a Gaussian function <math>( e^{-\pi (t-\tau)^2} )</math>, meanwhile, the window function for S-Transform is a function of f. With a window function proportional to frequency, S Transform performs well in frequency domain analysis when the input frequency is low. When the input frequency is high, S-Transform has a better clarity in the time domain. As table below.
Low-frequency | Bad clarity in time domain | Good clarity in frequency domain |
High-frequency | Bad clarity in frequency domain | Good clarity in time domain |
This kind of property makes S-Transform a powerful tool to analyze sound because human is sensitive to low frequency part in a sound signal.
Comparison with Wigner transformEdit
The main problem with the Wigner Transform is the cross term, which stems from the auto-correlation function in the Wigner Transform function. This cross term may cause noise and distortions in signal analyses. S-transform analyses avoid this issue.
Comparison with the short-time Fourier transformEdit
We can compare the S transform and short-time Fourier transform (STFT).<ref name="Stockwell PhD" /><ref>E. Sejdić, I. Djurović, J. Jiang, "Time-frequency feature representation using energy concentration: An overview of recent advances," Digital Signal Processing, vol. 19, no. 1, pp. 153-183, January 2009.</ref> First, a high frequency signal, a low frequency signal, and a high frequency burst signal are used in the experiment to compare the performance. The S transform characteristic of frequency dependent resolution allows the detection of the high frequency burst. On the other hand, as the STFT consists of a constant window width, it leads to the result having poorer definition. In the second experiment, two more high frequency bursts are added to crossed chirps. In the result, all four frequencies were detected by the S transform. On the other hand, the two high frequencies bursts are not detected by STFT. The high frequencies bursts cross term caused STFT to have a single frequency at lower frequency.
ApplicationsEdit
- Signal filterings<ref>Template:Cite journal. See also MATLAB file</ref>
- Magnetic resonance imaging (MRI)<ref>Hongmei Zhu, and J. Ross Mitchell, "The S Transform in Medical Imaging," University of Calgary Seaman Family MR Research Centre Foothills Medical Centre, Canada.</ref>
- Power system disturbance recognition
- S transform has been proven to be able to identify a few types of disturbances, like voltage sag, voltage swell, momentary interruption, and oscillatory transients.<ref>Template:Cite book</ref>
- S transform also be applied for other types of disturbances such as notches, harmonics with sag and swells etc.
- S transform generates contours which are suitable for simple visual inspection. However, wavelet transform requires specific tools like standard multiresolution analysis.
- Geophysical signal analysis
See alsoEdit
ReferencesEdit
Further readingEdit
- Rocco Ditommaso, Felice Carlo Ponzo, Gianluca Auletta (2015). Damage detection on framed structures: modal curvature evaluation using Stockwell Transform under seismic excitation. Earthquake Engineering and Engineering Vibration. June 2015, Volume 14, Issue 2, pp 265–274.
- Rocco Ditommaso, Marco Mucciarelli, Felice C. Ponzo (2010). S-Transform based filter applied to the analysis of non-linear dynamic behaviour of soil and buildings. 14th European Conference on Earthquake Engineering. Proceedings Volume. Ohrid, Republic of Macedonia. August 30 – September 3, 2010. (downloadable from http://roccoditommaso.xoom.it)
- M. Mucciarelli, M. Bianca, R. Ditommaso, M.R. Gallipoli, A. Masi, C Milkereit, S. Parolai, M. Picozzi, M. Vona (2011). FAR FIELD DAMAGE ON RC BUILDINGS: THE CASE STUDY OF NAVELLI DURING THE L’AQUILA (ITALY) SEISMIC SEQUENCE, 2009. Bulletin of Earthquake Engineering. {{#invoke:doi|main}}.
- J. J. Ding, "Time-frequency analysis and wavelet transform course note," the Department of Electrical Engineering, National Taiwan University (NTU), Taipei, Taiwan, 2007.
- Jaya Bharata Reddy, Dusmanta Kumar Mohanta, and B. M. Karan, "Power system disturbance recognition using wavelet and s-transform techniques," Birla institute of Technology, Mesra, Ranchi-835215, 2004.
- B. Boashash, "Notes on the use of the wigner distribution for time frequency signal analysis", IEEE Trans. on Acoust. Speech. and Signal Processing, vol. 26, no. 9, 1987
- R. N. Bracewell, The Fourier Transform and Its Applications, McGraw Hill Book Company, New York, 1978
- E. O. Brigham, The Fast Fourier Transform, Prentice-Hall Inc., Englewood Cliffs, New Jersey, 1974
- Template:Cite journal
- I. Daubechies, "The wavelet transform, time-frequency localization and signal analysis", IEEE Trans. on Information Theory, vol. 36, no. 5, Sept. 1990
- Template:Cite journal
- D. Gabor, "Theory of communication", J. Inst. Elect. Eng., vol. 93, no. 3, pp. 429–457, 1946
- Template:Cite journal
- F. Hlawatsch and G. F. Boudreuax-Bartels, 1992 "Linear and quadratic timefrequency signal representations", IEEE Signal Processing Magazine, pp. 21–67
- Template:Cite journal
- R. K. Young, Wavelet Theory and its Applications, Kluwer Academic Publishers, Dordrecht,1993