public class GaussFitter
extends java.lang.Object
Constructor and Description |
---|
GaussFitter()
Constructor of a default wire scanner data fitter
|
Modifier and Type | Method and Description |
---|---|
boolean |
fitAgain(WireScanData wsD)
Fit for both planes X and Y without initial guess
|
boolean |
fitAgainX(WireScanData wsD)
Fit for X plane without initial guess
|
boolean |
fitAgainY(WireScanData wsD)
Fit for Y plane without initial guess
|
void |
getGraphPoints(int nGraphPoints)
Returns the number of graph points in the fitting curve
|
void |
getIterations(int nIterations)
Returns the number of iterations diring the fitting
|
double |
getWidthCoeff()
Returns the width coefficient for fitting.
|
boolean |
guessAndFit(WireScanData wsD)
Guess initial Gauss parameters and fit for both planes: X and Y
|
boolean |
guessAndFitX(WireScanData wsD)
Guess initial Gauss parameters and fit for X plane
|
boolean |
guessAndFitY(WireScanData wsD)
Guess initial Gauss parameters and fit for Y plane
|
void |
setGraphPoints(int nGraphPoints)
Sets the number of graph points in the fitting curve
|
void |
setIterations(int nIterations)
Sets the number of iterations diring the fitting
|
void |
setVariablesOn(boolean[] fit_on_arr)
Stes the variables that will be used in fitting.
|
void |
setWidthCoeff(double wCoeff)
Sets the width coefficient for fitting.
|
public GaussFitter()
public void setVariablesOn(boolean[] fit_on_arr)
public boolean guessAndFit(WireScanData wsD)
public boolean fitAgain(WireScanData wsD)
public boolean guessAndFitX(WireScanData wsD)
public boolean guessAndFitY(WireScanData wsD)
public boolean fitAgainX(WireScanData wsD)
public boolean fitAgainY(WireScanData wsD)
public void setIterations(int nIterations)
public void setGraphPoints(int nGraphPoints)
public void setWidthCoeff(double wCoeff)
public void getIterations(int nIterations)
public void getGraphPoints(int nGraphPoints)
public double getWidthCoeff()