Package pulse.baseline
Class FlatBaseline
-
- All Implemented Interfaces:
Serializable,Optimisable,Descriptive,Reflexive
public class FlatBaseline extends AdjustableBaseline
A flat baseline.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class pulse.baseline.Baseline
MIN_BASELINE_POINTS
-
-
Constructor Summary
Constructors Constructor Description FlatBaseline()A primitive constructor, which initialises aCONSTANTbaseline with zero intercept and slope.FlatBaseline(double intercept)Creates a flat baseline equal to the argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Baselinecopy()protected voiddoFit(List<Double> x, List<Double> y)Calculates the baseline parameters based on input arguments.StringtoString()-
Methods inherited from class pulse.baseline.AdjustableBaseline
assign, getIntercept, getSlope, listedKeywords, mean, optimisationVector, set, setIntercept, setSlope, valueAt
-
Methods inherited from class pulse.baseline.Baseline
fitTo, fitTo, getDescriptor
-
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getListeners, getPrefix, ignoreSiblings, initListeners, isListedNumericType, isListedParameter, listedTypes, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty
-
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, update, update
-
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent
-
-
-
-
Method Detail
-
doFit
protected void doFit(List<Double> x, List<Double> y)
Description copied from class:BaselineCalculates the baseline parameters based on input arguments.This usually runs a simple least-squares estimation of the parameters of this baseline using the specified
datawithin the time rangerangeMin < t < rangeMax. If no data is available, the method will NOT change the baseline parameters. Upon completion, the method will use the respectivesetmethods of this class to update the parameter values, triggering whatever events are associated with them.
-
-