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
actipy/processing.py:294: UserWarning: Skipping calibration: Insufficient stationary samples: 1 < 50
warnings.warn(f"Skipping calibration: Insufficient stationary samples: {len(xyz)} < {calib_min_samples}")
Gravity calibration... Done! (0.04s)
Traceback (most recent call last):
File "/Users/johnmuschelli/miniconda3/envs/stepcount/bin/stepcount", line 8, in <module>
sys.exit(main())
File "/Users/johnmuschelli/miniconda3/envs/stepcount/lib/python3.9/site-packages/stepcount/stepcount.py", line 48, in main
data, info = read(args.filepath, resample_hz, verbose=verbose)
File "/Users/johnmuschelli/miniconda3/envs/stepcount/lib/python3.9/site-packages/stepcount/stepcount.py", line 356, in read
data, info = actipy.process(
File "/Users/johnmuschelli/miniconda3/envs/stepcount/lib/python3.9/site-packages/actipy/reader.py", line 144, in process
data, info_nonwear = P.detect_nonwear(data)
File "/Users/johnmuschelli/miniconda3/envs/stepcount/lib/python3.9/site-packages/actipy/processing.py", line 201, in detect_nonwear
stationary_segment_ids
AttributeError: 'Timedelta' object has no attribute 'astype'
The text was updated successfully, but these errors were encountered:
Description
Failure in
actipy.process
command when estiamting non-wear periods on linestepcount/src/stepcount/stepcount.py
Line 358 in 794b79e
This is due to a failure of
detect_nonwear
stepcount/src/stepcount/stepcount.py
Line 362 in 794b79e
File to Reproduce
P30_wrist100.csv.gz
This is from https://ora.ox.ac.uk/objects/uuid:19d3cb34-e2b3-4177-91b6-1bad0e0163e7.
And the resulting output is:
The text was updated successfully, but these errors were encountered: