This may be achieved by curve fitting or regression analysis.
From the en.wikipedia.org
Gaussian processes can be used not only for fitting an interpolant that passes exactly through the given data points but also for regression, i.e., for fitting a curve through noisy data.
From the en.wikipedia.org
Tuning curve slope was calculated by linear regression, over the narrow range of headings tested in the discrimination task.