public class StepFitter
extends java.lang.Object
Constructor and Description |
---|
StepFitter(double[] data,
double sigma)
Instantiates a new step fitter.
|
Modifier and Type | Method and Description |
---|---|
void |
addStep()
Adds the step.
|
void |
clear()
Clear.
|
double |
getChiSquared()
Gets the chi squared.
|
double |
getCounterChiSquared()
Gets the counter chi squared.
|
double[] |
getCounterStepsX()
Gets the counter steps x.
|
double[] |
getCounterStepsY()
Gets the counter steps y.
|
double[] |
getStepsX()
Gets the steps x.
|
double[] |
getStepsY()
Gets the steps y.
|
static void |
main(java.lang.String[] args)
The main method.
|
java.lang.String |
toString()
To string.
|
public StepFitter(double[] data, double sigma)
data
- the datasigma
- the sigmapublic void clear()
public double[] getStepsX()
public double[] getStepsY()
public double[] getCounterStepsX()
public double[] getCounterStepsY()
public void addStep()
public double getChiSquared()
public double getCounterChiSquared()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
args
- the arguments