org.android.activityminer.logic.features
Class FeatureExtractorForAccSensorObservation
java.lang.Object
java.lang.Thread
de.unikassel.android.sdcframework.util.AbstractWorkerThread
de.unikassel.android.sdcframework.util.AbstractEventDispatcherImpl<SensorObservationCutout<T,Double>,FeatureVector>
org.android.activityminer.logic.features.AbstractFeatureExtractor<AccSensorObservationDimensions>
org.android.activityminer.logic.features.FeatureExtractorForAccSensorObservation
- All Implemented Interfaces:
- EventDispatcher<SensorObservationCutout<AccSensorObservationDimensions,Double>,FeatureVector>, ObservableEventSource<FeatureVector>, ObserverRegistration<FeatureVector>, WorkerThread, Runnable, ActivatableComponent
public class FeatureExtractorForAccSensorObservation
- extends AbstractFeatureExtractor<AccSensorObservationDimensions>
Feature extractor implementation for accelerometer sensor observations
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
FeatureExtractorForAccSensorObservation
public FeatureExtractorForAccSensorObservation(FeatureTypes[] featureTypes,
long sampleRate,
Context context)
- Constructor
- Parameters:
featureTypes
- sampleRate
- the configured sample ratecontext
- the context
getFactory
protected final AbstractFeatureFactory<AccSensorObservationDimensions> getFactory(Context context)
- Description copied from class:
AbstractFeatureExtractor
- Getter for the feature factory
- Specified by:
getFactory
in class AbstractFeatureExtractor<AccSensorObservationDimensions>
- Parameters:
context
- the context
- Returns:
- the feature factory to use