the frequency index, and H[ ] is the Fourier spectrum of the discrete time series. The S-transform results in a time-frequency representation of the data. The exact code we used is a C language, S transform subroutine available from the NIMH MEG Core Facility web site (http://kurage.nimh.nih.gov/meglab/). This code is specifically for use with real time series, so it sets the input imaginary values, required by the S transform, to zero, and it always uses the Hilbert transform so that each of the complex output time series is an analytic signal.