public class LikelihoodSurface
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
LikelihoodSurface.MouseDragged
Sets the plot axis every time the mouse is dragged.
|
class |
LikelihoodSurface.MouseShowInfo |
class |
LikelihoodSurface.MouseWheelMoved
Sets the plot axis every time the mouse wheel is moved.
|
class |
LikelihoodSurface.MShowPopUpMenu
Show pop up menu
|
Constructor and Description |
---|
LikelihoodSurface(java.awt.Frame frame) |
Modifier and Type | Method and Description |
---|---|
int[] |
calcDimensionArray() |
java.util.ArrayList<java.util.ArrayList<java.lang.Float>> |
createSurface(org.apache.commons.math.analysis.MultivariateRealFunction chiSquaredFunction,
double[] location)
Calculates and displays a chi2 surface for an area around the location point.
|
double |
defaultZoomFactor() |
java.lang.String |
getAxisString(int dim) |
PamPanel |
getPanel() |
void |
removeGraphData() |
void |
rePaint3D() |
void |
resetPlot() |
void |
setAxisLabels(int[] dim)
Set the correct axis labels for the dimensions.
|
public PamPanel getPanel()
public void resetPlot()
public double defaultZoomFactor()
public void removeGraphData()
public void setAxisLabels(int[] dim)
dim
- public java.lang.String getAxisString(int dim)
public void rePaint3D() throws org.apache.commons.math.FunctionEvaluationException, java.lang.IllegalArgumentException
org.apache.commons.math.FunctionEvaluationException
java.lang.IllegalArgumentException
public int[] calcDimensionArray()
public java.util.ArrayList<java.util.ArrayList<java.lang.Float>> createSurface(org.apache.commons.math.analysis.MultivariateRealFunction chiSquaredFunction, double[] location)
chiSquaredFunction
- location
- dimesnions
- which define the plane of the chi2 surface i.e. the spatial dimension which does NOT change;org.apache.commons.math.FunctionEvaluationException
java.lang.IllegalArgumentException