Various minimal changes.

sociality-task
Primoz 2022-03-31 09:16:00 +00:00
parent f9e40711e7
commit c050174ca3
4 changed files with 4 additions and 5 deletions

View File

@ -28,11 +28,11 @@ TIME_SEGMENTS: &time_segments
TIMEZONE: TIMEZONE:
TYPE: SINGLE TYPE: SINGLE
SINGLE: SINGLE:
TZCODE: America/New_York TZCODE: Europe/Ljubljana
MULTIPLE: MULTIPLE:
TZCODES_FILE: data/external/multiple_timezones_example.csv TZCODES_FILE: data/external/multiple_timezones_example.csv
IF_MISSING_TZCODE: STOP IF_MISSING_TZCODE: STOP
DEFAULT_TZCODE: America/New_York DEFAULT_TZCODE: Europe/Ljubljana
FITBIT: FITBIT:
ALLOW_MULTIPLE_TZ_PER_DEVICE: False ALLOW_MULTIPLE_TZ_PER_DEVICE: False
INFER_FROM_SMARTPHONE_TZ: False INFER_FROM_SMARTPHONE_TZ: False

View File

@ -1,2 +1,2 @@
label,length label,length
thirtyminutes,30 fiveminutes,5
1 label length
2 thirtyminutes fiveminutes 30 5

View File

@ -118,7 +118,7 @@ dependencies:
- h5py==3.6.0 - h5py==3.6.0
- ipython-genutils==0.2.0 - ipython-genutils==0.2.0
- jupyter-core==4.6.3 - jupyter-core==4.6.3
- kiwisolver==1.4.1 - kiwisolver==1.4.2
- matplotlib==3.5.1 - matplotlib==3.5.1
- nbformat==5.0.7 - nbformat==5.0.7
- opencv-python==4.5.5.64 - opencv-python==4.5.5.64

View File

@ -12,7 +12,6 @@ def getSampleRate(data):
except: except:
raise Exception("Error occured while trying to get the mean sample rate from the data.") raise Exception("Error occured while trying to get the mean sample rate from the data.")
print(1000/timestamps_diff)
return 1000/timestamps_diff return 1000/timestamps_diff
def extractAccFeaturesFromIntradayData(acc_intraday_data, features, time_segment, filter_data_by_segment): def extractAccFeaturesFromIntradayData(acc_intraday_data, features, time_segment, filter_data_by_segment):