public class SmoothDataEvent extends PredictiveDataEvent
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private Double |
smoothmax
The maximum smoothed value if used as an average of data.
|
private Double |
smoothmin
The minimum smoothed value if used as an average of data.
|
private Double |
smoothraw
The raw smoothed value.
|
localHost, sourceNamesource| Constructor and Description |
|---|
SmoothDataEvent(DataEvent de)
Constructs a new smoothive data event from a generic data event.
|
SmoothDataEvent(Object src)
Constructs a new smoothive data event without any values specified.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFormattedSmoothMax()
Returns the smoothed raw maximum as a string, formatted according to the
raw formatter.
|
String |
getFormattedSmoothMin()
Returns the smoothed raw minimum as a string, formatted according to the
raw formatter.
|
String |
getFormattedSmoothPhysical()
Returns the physical smooth quantity formatted to its converter's format.
|
String |
getFormattedSmoothPhysicalMax()
Returns the physical smooth maximum formatted to its converter's format.
|
String |
getFormattedSmoothPhysicalMin()
Returns the physical smooth minimum formatted to its converter's format.
|
String |
getFormattedSmoothRaw()
Returns the smoothened raw as a string, formatted according to the
raw formatter.
|
double |
getSmoothMax()
Returns the maximum raw smoothed value as a primitive double or nan if
undefined.
|
double |
getSmoothMin()
Returns the minimum raw smoothed value as a primitive double or nan if
undefined.
|
double |
getSmoothPhysical()
Returns the smoothed measurement in physically meaningful
quantities or NaN if undefined.
|
double |
getSmoothPhysicalMax()
Returns the maximum smoothed measurement in physically meaningful
quantities or NaN if undefined.
|
double |
getSmoothPhysicalMin()
Returns the minimum smoothed measurement in physically meaningful
quantities or NaN if undefined.
|
double |
getSmoothRaw()
Returns the raw smoothed value as a primitive double or nan if
undefined.
|
void |
setSmoothMinMax(double min,
double max)
Sets the minimum and maximum of the smoothed raw value.
|
void |
setSmoothRaw(double smooth)
Sets the smoothed value as a primitive double.
|
String |
toString()
Adds the smoothive values to the string representation.
|
getFormattedPredictMax, getFormattedPredictMin, getFormattedPredictPhysical, getFormattedPredictPhysicalMax, getFormattedPredictPhysicalMin, getFormattedPredictRaw, getPredictMax, getPredictMin, getPredictPhysical, getPredictPhysicalMax, getPredictPhysicalMin, getPredictRaw, getValueString, setPredictMinMax, setPredictRawgetDateString, getFormattedPhysicalMax, getFormattedPhysicalMin, getFormattedRawMax, getFormattedRawMin, getMinMaxString, getN, getPhysicalMax, getPhysicalMin, getRawMax, getRawMin, setN, setRawMinMaxformatPhysical, formatRaw, getFormattedPhysical, getFormattedPhysicalDeviation, getFormattedRaw, getFormattedRawDeviation, getPhysical, getPhysicalDeviation, getRaw, getRawConvert, getRawDeviation, getRawFormat, getRawString, getSigmaFormat, setRaw, setRawConvert, setRawDeviation, setRawFormat, setSigmaFormatgetMeasurement, getTimeOfMeasure, isValid, setMeasurement, setTimeOfMeasure, setValidgetHost, getSourceName, setSourceNamegetSourceprivate static final long serialVersionUID
private Double smoothraw
private Double smoothmax
private Double smoothmin
public SmoothDataEvent(Object src)
src - The event source.public SmoothDataEvent(DataEvent de)
public void setSmoothRaw(double smooth)
public double getSmoothRaw()
public String getFormattedSmoothRaw()
public void setSmoothMinMax(double min,
double max)
public double getSmoothMin()
public String getFormattedSmoothMin()
public double getSmoothMax()
public String getFormattedSmoothMax()
public double getSmoothPhysical()
public String getFormattedSmoothPhysical()
public double getSmoothPhysicalMin()
public String getFormattedSmoothPhysicalMin()
public double getSmoothPhysicalMax()
public String getFormattedSmoothPhysicalMax()
public String toString()
toString in class PredictiveDataEvent