A novel methodology to directly pre-determine the relative wavelength response of DFB laser in wavelength modulation spectroscopy.