Cascaded rectangular windows for leakage reduction in spectral analysis