Retrieval of Bragg grating transmission spectra by post-process removal of spurious Fabry-Pérot oscillations.