Determination of the Gaussian and Lorentzian content of experimental line shapes