C# Class DAQ.Analyze.Fitter

This class uses is the bsae class for fitters. A fitter is specialized to a particular fitting function by deriving from this class and overriding abtract methods to provide the function's value, initial parameter estimates, and a parameter report. This class takes care of the mechanics of doing the fit and providing fitted data.
显示文件 Open project: ColdMatter/EDMSuite Class Usage Examples

Public Properties

Property Type Description
Name string

Protected Properties

Property Type Description
lastFittedParameters double[]
model alglib.ndimensional_pfunc

Public Methods

Method Description
Fit ( double xdata, double ydata, double parameters ) : void
SuggestParameters ( double xDat, double yDat, double scanStart, double scanEnd ) : double[]
ToString ( ) : string

Private Methods

Method Description
repairFittedValues ( double xdata, double ydata ) : void

Method Details

Fit() public method

public Fit ( double xdata, double ydata, double parameters ) : void
xdata double
ydata double
parameters double
return void

SuggestParameters() public abstract method

public abstract SuggestParameters ( double xDat, double yDat, double scanStart, double scanEnd ) : double[]
xDat double
yDat double
scanStart double
scanEnd double
return double[]

ToString() public method

public ToString ( ) : string
return string

Property Details

Name public_oe property

public string Name
return string

lastFittedParameters protected_oe property

protected double[] lastFittedParameters
return double[]

model protected_oe property

protected alglib.ndimensional_pfunc model
return alglib.ndimensional_pfunc