- Refined the windows applied to the resonance wave at the beginning and the ending