jasext.jhplotserver
Class RefF1D
- java.lang.Object
-
- java.util.Observable
-
- jas2.hist.Basic1DFunction
-
- jas2.hist.Fittable1DFunction
-
- jasext.jhplotserver.FunctionData1DWithType
-
- jasext.jhplotserver.RefF1D
-
- All Implemented Interfaces:
- DataSource, ExtendedStatistics, FunctionData, HasStatistics, Statistics, java.io.Serializable
public class RefF1D extends FunctionData1DWithType
Create a function to be showm in the menu. Note that a similar function we use in a templet, but h must be static in this case!- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RefF1D()Initialze the functionRefF1D(double xmin, double xmax, double ymin, double ymax)RefF1D(hep.aida.IFunction h)Initialze the function
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String[]getParameterNames()double[]getParameterValues()java.lang.StringgetTitle()Return the caption to be used in the legend for this data.voidsetFit(Fitter fit, double[] value)voidsetH(hep.aida.IFunction h)voidsetParameter(int index, double value)doublevalueAt(double x)doublevalueAt(double x, double[] param)-
Methods inherited from class jasext.jhplotserver.FunctionData1DWithType
toString
-
Methods inherited from class jas2.hist.Fittable1DFunction
clearFit, clearFitParams, getDerivatives, getExtendedStatistic, getFit, getIncludeParametersInFit, getStatistic, getStatisticNames, setIncludeParameterInFit
-
Methods inherited from class jas2.hist.Basic1DFunction
getStatistics, setBatch, setChanged, setChanged
-
-
-
-
Constructor Detail
-
RefF1D
public RefF1D(hep.aida.IFunction h)
Initialze the function- Parameters:
h-
-
RefF1D
public RefF1D()
Initialze the function- Parameters:
h-
-
RefF1D
public RefF1D(double xmin, double xmax, double ymin, double ymax)
-
-
Method Detail
-
setH
public void setH(hep.aida.IFunction h)
- Overrides:
setHin classFunctionData1DWithType
-
valueAt
public double valueAt(double x)
-
getParameterValues
public double[] getParameterValues()
-
getParameterNames
public java.lang.String[] getParameterNames()
-
setParameter
public void setParameter(int index, double value)
-
getTitle
public java.lang.String getTitle()
Description copied from interface:DataSourceReturn the caption to be used in the legend for this data.
-
setFit
public void setFit(Fitter fit, double[] value)
- Specified by:
setFitin classFittable1DFunction
-
valueAt
public double valueAt(double x, double[] param)- Specified by:
valueAtin classFittable1DFunction
-
-
DataMelt 3.0 © DataMelt by jWork.ORG