|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.android.activityminer.logic.features.calculators.VerticalHoricontalMagnitudeCalculator<T>
T - the enumeration type for the dimensionspublic final class VerticalHoricontalMagnitudeCalculator<T extends Enum<T> & Dimensions>
Implementation of an calculator to extract the vertical and horizontal magnitudes of acceleration by projection of the actual acceleration vector a to the global gravity direction g.
| Field Summary | |
|---|---|
private T |
dimAx
the dimension for the x component of linear acceleration |
private T |
dimAy
the dimension for the y component of linear acceleration |
private T |
dimAz
the dimension for the z component of linear acceleration |
private T |
dimGx
the dimension for the y component of gravity |
private T |
dimGy
the dimension for the z component of gravity |
private T |
dimGz
the dimension for the x component of gravity |
private T |
dimMagH
the dimension for the magnitude of horizontal acceleration |
private T |
dimMagV
the dimension for the magnitude of vertical acceleration |
| Constructor Summary | |
|---|---|
VerticalHoricontalMagnitudeCalculator(T dimAx,
T dimAy,
T dimAz,
T dimGx,
T dimGy,
T dimGz,
T dimMagH,
T dimMagV)
Constructor |
|
| Method Summary | |
|---|---|
void |
prepareObservation(SensorObservation<T,Double> observation)
The preparation method for observations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final T extends Enum<T> & Dimensions dimAx
private final T extends Enum<T> & Dimensions dimAy
private final T extends Enum<T> & Dimensions dimAz
private final T extends Enum<T> & Dimensions dimGx
private final T extends Enum<T> & Dimensions dimGy
private final T extends Enum<T> & Dimensions dimGz
private final T extends Enum<T> & Dimensions dimMagH
private final T extends Enum<T> & Dimensions dimMagV
| Constructor Detail |
|---|
public VerticalHoricontalMagnitudeCalculator(T dimAx,
T dimAy,
T dimAz,
T dimGx,
T dimGy,
T dimGz,
T dimMagH,
T dimMagV)
dimAx - the dimension for the x component of linear accelerationdimAy - the dimension for the y component of linear accelerationdimAz - the dimension for the z component of linear accelerationdimGx - the dimension for the y component of gravitydimGy - the dimension for the z component of gravitydimGz - the dimension for the x component of gravitydimMagH - the dimension for the magnitude of horizontal accelerationdimMagV - the dimension for the magnitude of vertical acceleration| Method Detail |
|---|
public final void prepareObservation(SensorObservation<T,Double> observation)
PreparationCalculator
prepareObservation in interface PreparationCalculator<T extends Enum<T> & Dimensions>observation - the observation to prepare for feature extraction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||