The parameters of a spectral line profile are calculated from the fragment of a model absorption spectrum and its frequency derivative using different methods for fitting and removal of the background component. The effect of measurement noise and background on the accuracy of retrievals of the absorption line parameters is analyzed.