Accumulated Measurement Estimator
Estimates the accumulated mean value of a measurement. This estimator takes a given number of measurement magnitudes (acceleration norm, gravity norm, angular speed norm, magnetic field norm, etc) during a given duration of time to estimate measurement norm average, standard deviation and variance, as well as average time interval between measurements. For best accuracy of estimated results, device should remain static while data is being collected.
Parameters
Maximum number of samples to take into account before completion. This is only taken into account if using either StopMode.MAX_SAMPLES_ONLY or StopMode.MAX_SAMPLES_OR_DURATION.
Maximum duration expressed in milliseconds to take into account before completion. This is only taken into account if using either StopMode.MAX_DURATION_ONLY or StopMode.MAX_SAMPLES_OR_DURATION.
Determines when this estimator will consider its estimation completed.
Inheritors
Constructors
Types
Properties
Gets estimated average of measurement norm expressed in measurement unit (m/s^2 for acceleration, rad/s for angular speed or T for magnetic flux density). This is only available when estimation completes successfully and resultAvailable is true.
Gets estimated average measurement norm as a measurement. This is only available when estimation completes successfully and resultAvailable is true.
Gets average time interval between measurements expressed in seconds (s). This is only available when estimation completes successfully and resultAvailable is true.
Gets average time interval between measurements. This is only available when estimation completes successfully and resultAvailable is true.
Listener to notify when estimation is complete.
Gets amount of elapsed time to compute sensor noise, either if computation succeeds or not.
Gets amount of elapsed time to compute sensor noise estimation expressed in nanoseconds (ns), either if computation succeeds or not.
Gets maximum duration expressed in milliseconds to take into account before completion. This is only taken into account if using either StopMode.MAX_DURATION_ONLY or StopMode.MAX_SAMPLES_OR_DURATION.
Gets maximum number of samples to take into account before completion. This is only taken into account if using either StopMode.MAX_SAMPLES_ONLY or StopMode.MAX_SAMPLES_OR_DURATION.
Gets estimated standard deviation of norm expressed in the default unit of measurement (m/s^2 for acceleration, rad/s for angular speed or T for magnetic flux density). This is only available when estimation completes successfully and resultAvailable is true.
Gets estimated standard deviation of norm as a measurement. This is only available when estimation completes successfully and resultAvailable is true.
Gets estimated variance of measurement norm expressed in the default squared unit of measurement (m^2/s^4 for acceleration, rad^2/s^2 for angular speed or T^2 for magnetic flux density). This is only available when estimation completes successfully and resultAvailable is true.
Number of measurements that have been processed.
Indicates whether estimated average and time interval between measurements are available or not.
Indicates whether estimated result is unreliable or not.
Gets root PSD (Power Spectral Density) of norm expressed in (m * s^-1.5) for accelerometer, (rad * s^-0.5) for gyroscope or (T * s^0.5) for magnetometer. This is only available when estimation completes successfully and average time interval between measurements is reliably estimated.
Delay of sensor between samples.
Gets estimated standard deviation of time interval between measurements expressed in seconds (s). This is only available when estimation completes successfully and resultAvailable is true.
Gets estimated standard deviation of time interval between measurements. This is only available when estimation completes successfully and resultAvailable is true.
Gets estimated variance of time interval between measurements expressed in squared seconds (s^2). This is only available when estimation completes successfully and resultAvailable is true.
Listener to notify when sensor becomes unreliable, and thus, estimation must be discarded.
Functions
Gets estimated average measurement norm as a measurement instance. This is only available when estimation completes successfully and resultAvailable is true.
Gets average time interval between measurements. This is only available when estimation completes successfully and resultAvailable is true.
Gets amount of time elapsed, either if computation succeeds or not.
Gets estimated standard deviation of norm as a measurement. This is only available when estimation completes successfully and resultAvailable is true.
Gets estimated standard deviation of time interval between measurements. This is only available when estimation completes successfully and resultAvailable is true.