This communication reports technical notes on the development and application of an automated line-shape fitting procedure for wavelength modulation spectroscopy (WMS). Near-infrared transitions of carbon dioxide (CO2) around 1573 nm were measured in vertical cold (nonreacting) flow of CO2 at atmospheric pressure using WMS with demodulation at second harmonic frequency. Semi-empirical model based on the set of so-called Gabor functions was developed and parameters of Lorentzian line-shape profile and its asymmetry resulting from simultaneous frequency and amplitude response of the current-modulated semiconductor laser were determined. Nonlinear least-square fitting procedure employing differential evolution algorithm was successfully utilized for performing this task. Line-shape fitting procedure enabling efficient signal de-noising and background subtraction of wavelength modulation spectra was implemented into an open-source code.
 Hodgkinson, J., Tatam, R. P. (2013). Optical gas sensing: A review. Measurement Science and Technology, 24(1), 012004.
 Kluczynski, P., Gustafsson, J., Lindberg, A. M., Axner, O. (2001). Wavelength modulation absorption spectrometry- an extensive scrutiny of the generation of signals. Spectrochimica Acta Part B: Atomic Spectroscopy, 56(8), 1277-1354.
 Schilt, S., Thevenaz, L., Robert, P. (2003). Wavelength Modulation Spectroscopy: Combined Frequency and Intensity Laser Modulation. Applied Optics, 42(33), 6728.
 Engelbrecht, R. (2004). A compact NIR fiber-optic diode laser spectrometer for CO and CO2:. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 60(14), 3291-3298.
 Civiš, S., Zelinger, Z., Nevrlý, V., Dorogan, A., Ferus, M., Iakovlev, V., Sirbu, A., Mereuta, A., Caliman, A., Suruceanu, G., Kapon, E. (2014). Near-infrared waferfused vertical-cavity surface-emitting lasers for HF detection. Journal of Quantitative Spectroscopy and Radiative Transfer, 147, 53-59.
 Zhao, G., Tan, W., Hou, J., Qiu, X., Ma, W., Li, Z., Dong, L., Zhang, L., Yin, W., Xiao, L., Axner, O., Jia, S. (2016). Calibration-free wavelength-modulation spectroscopy based on a swiftly determined wavelengthmodulation frequency response function of a DFB laser. Optics Express, 24(2), 1723.
 Hartung, G., Hult, J., Kaminski, C. F. (2006). A flat flame burner for the calibration of laser thermometry techniques. Measurement Science and Technology, 17(9), 2485-2493.
 Gabor, D. (1946). Theory of communication. Part 1: The analysis of information. Journal of the Institution of Electrical Engineers - Part III: Radio and Communication Engineering, 93(26), 429-441.
 Henningsen, J., Simonsen, H. (2000). The (2201-0000) Band of CO2 at 6348 cm-1: Linestrengths, Broadening Parameters, and Pressure Shifts. Journal of Molecular Spectroscopy, 203(1), 16-27.
 Li, J., Parchatka, U., Fischer, H. (2012). Applications of wavelet transform to quantum cascade laser spectrometer for atmospheric trace gas measurements. Applied Physics B, 108(4), 951-963.
 Nevrlý, V., Bitala, P., Kleˇcka, V., Vašinek, M., Zelinger, Z., Suchanek, J., Dostál, M., Válek, V. (2019). Analysis of wavelength modulation spectra for determination of OH radical concentration in an atmospheric pressure laminar premixed flames. Journal of Physics: Conference Series. Manuscript in preparation.