|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PhysicalDerivative
An interface describing the capability of a sensor to interpret its reading in a physical sense. Note that it is not necessary for automated weather interpretation to convert the sensor reading to a physically meaningful value. For readability or visualization efforts, it is nevertheless advisable to do so.
| Method Summary | |
|---|---|
NumberFormat |
getDerivativeValueFormat()
Returns the decimal format to use for the physical derivative. |
double |
getPhysicalDerivative(double derive,
double raw)
(Sensor) Classes defining this interface should know how to convert a numerical derivative of their raw values into a derivative with a physically meaning. |
double |
getRawDerivative(double derive,
double physical)
The inversion of the getPhysicalDerivative(double, double) method. |
| Methods inherited from interface stella.sensor.ConvertToPhysical |
|---|
getDeviation, getPhysical, getRaw, getSigmaValueFormat, getUnit, getValueFormat |
| Method Detail |
|---|
double getPhysicalDerivative(double derive,
double raw)
derive - The numerical derivative from raw values.raw - The raw reading of the sensor.
double getRawDerivative(double derive,
double physical)
getPhysicalDerivative(double, double) method. A call to
this method recalculates the first derivative of the raw values using
the physical meaningful value and its derivative.
derive - The physical quantity of the first derivative.physical - The physical quantity.NumberFormat getDerivativeValueFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||