public class CosineConversion extends AbstractDerivative implements PI
| Modifier and Type | Field and Description |
|---|---|
private static DecimalFormat |
DEFVALUEFORMAT
The default decimal format for the values.
|
private static DecimalFormat |
DEFVALUESIGMA
The default deciaml format for the sigma of the values.
|
KEY_VALUEDERIVATIVEKEY_UNIT, KEY_VALUEFORMAT, KEY_VALUESIGMAKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
CosineConversion(Map info)
Constructs a new cosine converter.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDeviation(double cosz,
double dummy)
Returns the estimated standard deviation in physical units of the
physical mean.
|
double |
getPhysical(double sinh)
Returns the physical interpretation of this sensors raw reading
value.
|
double |
getPhysicalDerivative(double dcosz,
double h)
Returns the derivative of the physical interpreted raw measure value.
|
double |
getRaw(double h)
Returns the raw value from the physical one.
|
double |
getRawDerivative(double dhdt,
double h)
Converts the derivative of the solar height, given in degrees per second
in the raw derivative, which is the derivative of sin(h) with respect
to solar time in radians.
|
getDerivativeValueFormatcreateConversion, getSigmaValueFormat, getUnit, getValueFormataugment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSigmaValueFormat, getUnit, getValueFormatprivate static final transient DecimalFormat DEFVALUEFORMAT
private static final transient DecimalFormat DEFVALUESIGMA
public CosineConversion(Map info)
public double getPhysical(double sinh)
getPhysical in interface ConvertToPhysicalcosz - The cosine of the solar zenith distance.public double getRaw(double h)
getRaw in interface ConvertToPhysicalh - The height of the sun in degrees.public double getDeviation(double cosz,
double dummy)
getDeviation in interface ConvertToPhysicalcosz - The raw reading value.dummy - The standard deviation of the raw readings.public double getPhysicalDerivative(double dcosz,
double h)
getPhysicalDerivative in interface PhysicalDerivativedcosz - The derivative of cos(z).h - The cosine of the solar height.public double getRawDerivative(double dhdt,
double h)
getRawDerivative in interface PhysicalDerivativedhdt - The physical quantity of the first derivative.h - The physical quantity.