Package edu.cnu.mdi.splot.fit
Interface IFitter
- All Known Implementing Classes:
ALeastSquaresFitter,ErfcFitter,ErfFitter,ExponentialDecayFitter,GaussianFitter,LorentzianFitter,MultiGaussianFitter,PolynomialFitter,PowerLawFitter
public interface IFitter
-
Method Summary
-
Method Details
-
fit
Fits a curve to the given data points, returning the fit result.- Parameters:
x- the x values of the data pointsy- the y values of the data points- Returns:
- the fit result containing the fitted curve and parameters
-
fit
Fits a curve to the given data points with weights, returning the fit result.- Parameters:
x- the x values of the data pointsy- the y values of the data pointsweights- the weights for each data point- Returns:
- the fit result containing the fitted curve and parameters
-