Each ensemble is transformed into amplitude and phase components for each frequency sub-band. The median spectral amplitude within each frequency sub-band is computed. Every sample amplitude is compared against the median spectral amplitude. If the sample amplitude exceeds the threshold, then the median spectral amplitude for ‘N’ adjacent traces is computed and installed at this sample.