Fitting ABg scattering coefficients from raw measured data