|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
util.rmi.RmiEvent
stella.DataEvent
stella.sensor.RawDataEvent
stella.sensor.CumulativeDataEvent
stella.sensor.PredictiveDataEvent
stella.sensor.SmoothDataEvent
public class SmoothDataEvent
Adds the smothened values to the data event.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class stella.DataEvent |
|---|
FORMAT |
| Fields inherited from class util.rmi.RmiEvent |
|---|
localHost, sourceName |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class stella.sensor.CumulativeDataEvent |
|---|
getDateString, getFormattedPhysicalMax, getFormattedPhysicalMin, getFormattedRawMax, getFormattedRawMin, getMinMaxString, getN, getPhysicalMax, getPhysicalMin, getRawMax, getRawMin, setN, setRawMinMax |
| Methods inherited from class stella.sensor.RawDataEvent |
|---|
formatPhysical, formatRaw, getFormattedPhysical, getFormattedPhysicalDeviation, getFormattedRaw, getFormattedRawDeviation, getPhysical, getPhysicalDeviation, getRaw, getRawConvert, getRawDeviation, getRawFormat, getRawString, getSigmaFormat, setRaw, setRawConvert, setRawDeviation, setRawFormat, setSigmaFormat |
| Methods inherited from class stella.DataEvent |
|---|
getMeasurement, getTimeOfMeasure, isValid, setMeasurement, setTimeOfMeasure, setValid |
| Methods inherited from class util.rmi.RmiEvent |
|---|
getHost, getSourceName, setSourceName |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Double smoothraw
private Double smoothmax
private Double smoothmin
| Constructor Detail |
|---|
public SmoothDataEvent(Object src)
src - The event source.public SmoothDataEvent(DataEvent de)
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||