You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interpolation to generate the other timestamps does not extrapolate beyond the very first/last timestamps
The very first/last few samples can receive the same timestamp from the interpolation.
To recreate with the PyPI version of the package:
python -m pip install openmovement
python
Then, in Python:
fromopenmovement.loadimportCwaDataend=10filename='AX6-Sample.cwa'withCwaData(filename, include_gyro=True, include_temperature=False) ascwa_data:
# As an ndarray of [time,accel_x,accel_y,accel_z,temperature]sample_values=cwa_data.get_sample_values()
print('\nAs ndarray:')
print(sample_values[:end])
# As a pandas DataFramedf=cwa_data.get_samples()
print('\nAs a pandas DataFrame')
print(df[:end])
Issue:
To recreate with the PyPI version of the package:
Then, in Python:
Output:
Note the first 8 samples are at the same timestamp.
The text was updated successfully, but these errors were encountered: