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
Is it possible to extract the raw accelerometer values from a fit file?
I tested the following example from the docs but it doesn't contain any acceleration fields:
from fitparse import FitFile
fitfile = FitFile('C:\\Users\\Simon\\Desktop\\2018-05-27-13-44-59.fit')
# Get all data messages that are of type record
for record in fitfile.get_messages('record'):
# Go through all the data entries in this record
for record_data in record:
# Print the records name and value (and units if it has any)
if record_data.units:
print(" * %s: %s %s" % (
record_data.name, record_data.value, record_data.units,
))
else:
print(" * %s: %s" % (record_data.name, record_data.value))
The text was updated successfully, but these errors were encountered:
Is it possible to extract the raw accelerometer values from a fit file?
I tested the following example from the docs but it doesn't contain any acceleration fields:
The text was updated successfully, but these errors were encountered: