Stockwell transform for spectral analysis