Evaluation of the weighting function of a linear system by the method of deconvolution