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.
示例#1
0
 public void TOFFitFunctionChanged(object item)
 {
     tofFitter = (Fitter)item;
     window.ClearTOFFit();
 }
示例#2
0
 private void AddFitter(Fitter f)
 {
     fitters.Add(f.Name, f);
     window.tofFitFunctionCombo.Items.Add(f);
     window.spectrumFitFunctionCombo.Items.Add(f);
 }
示例#3
0
 public void SpectrumFitFunctionChanged(object item)
 {
     spectrumFitter = (Fitter)item;
     window.ClearSpectrumFit();
 }