Home
last modified time | relevance | path

Searched refs:_NUM_GYRO_PTS_TO_AVG (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py113 _NUM_GYRO_PTS_TO_AVG = 20 variable
725 nevents = (len(gyro_events) // _NUM_GYRO_PTS_TO_AVG) * _NUM_GYRO_PTS_TO_AVG
735 times = times[_NUM_GYRO_PTS_TO_AVG//2::_NUM_GYRO_PTS_TO_AVG]
736 x = x.reshape(nevents//_NUM_GYRO_PTS_TO_AVG, _NUM_GYRO_PTS_TO_AVG).mean(1)
737 y = y.reshape(nevents//_NUM_GYRO_PTS_TO_AVG, _NUM_GYRO_PTS_TO_AVG).mean(1)
738 z = z.reshape(nevents//_NUM_GYRO_PTS_TO_AVG, _NUM_GYRO_PTS_TO_AVG).mean(1)