Enum PolarDerivedMeasurementMethod
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum PolarDerivedMeasurementMethod extends Enum<PolarDerivedMeasurementMethod>
Derived measurement methods supported by the device (methods 0–9).
Any non-empty subset of the methods supported by a group may be requested simultaneously. Each active method appends its output values to the derived sample in ascending id order.
Methods 0–4 are applied component-wise (e.g. X, Y, Z for ACC). Methods 5–9 reduce the D-dimensional source vector to a single unsigned scalar.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPolarDerivedMeasurementMethod.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description DOWNSAMPLEMethod 0 — last source sample within the time window (downsampled).
MINMethod 1 — component-wise minimum of source samples within the time window.
MAXMethod 2 — component-wise maximum of source samples within the time window.
AVGMethod 3 — component-wise average of source samples within the time window.
STDMethod 4 — component-wise standard deviation (unsigned-promoted type). e.g. int16 source component → uint16 std output.
NORMMethod 5 — Euclidean norm (magnitude) of downsampled source vector. D→1 scalar, unsigned-promoted type.
MIN_OF_NORMSMethod 6 — minimum Euclidean norm across source samples within the time window. D→1 scalar, unsigned-promoted type.
MAX_OF_NORMSMethod 7 — maximum Euclidean norm across source samples within the time window. D→1 scalar, unsigned-promoted type.
STD_OF_NORMSMethod 8 — standard deviation of Euclidean norms within the time window. D→1 scalar, unsigned-promoted type.
NORM_OF_STDSMethod 9 — Euclidean norm of component-wise standard deviations. D→1 scalar, unsigned-promoted type.
-
Method Summary
Modifier and Type Method Description final PolarDerivedMeasurementMethodvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<PolarDerivedMeasurementMethod>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetId()final StringgetCsvLabel()final EnumEntries<PolarDerivedMeasurementMethod>getEntries()Derived measurement methods supported by the device (methods 0–9). -
-
Method Detail
-
valueOf
final PolarDerivedMeasurementMethod valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<PolarDerivedMeasurementMethod> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getCsvLabel
final String getCsvLabel()
-
getEntries
final EnumEntries<PolarDerivedMeasurementMethod> getEntries()
Derived measurement methods supported by the device (methods 0–9).
Any non-empty subset of the methods supported by a group may be requested simultaneously. Each active method appends its output values to the derived sample in ascending id order.
Methods 0–4 are applied component-wise (e.g. X, Y, Z for ACC). Methods 5–9 reduce the D-dimensional source vector to a single unsigned scalar.
-
-
-
-