Denoising of non-stationary signals