Window function for chirped pulse spectroscopy with enhanced signal-to-noise ratio and lineshape correction. (July 2021)