forked from ScreamingPigeon/ms-analysis-23
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
48 lines (41 loc) · 975 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# config.py
data_path = 'CHI_Study_000/000000_210603-191049/ACC.csv'
plot_settings = {
# vis for raw data
"time_series": False,
# useful vis functions
"three_d": False,
"frequency_domain": False,
"histogram": False,
"spectral_density": False,
# denoising
"fft_denoising": False,
"moving_average": False,
"wavelet_denoising": False,
"bwf": False,
# segmentation
"segmentation": True,
"segmentation_with_moving_average": True,
# oscillation
"oscillation_segmentation": True,
}
# downsampling for raw data
downsampling_rate = 1
# noise processing settings
lowpass_settings = {
"cutoff": 1,
"order": 5
}
moving_average_settings = {
"window_size": 10
}
wavelet_denoising_settings = {
"threshold": 0.2,
"wavelet": 'db8',
"level": 6
}
# threshold for significant change
activity_threshold = 0.6
activity_threshold_with_moving_average = 0.05
# oscillation
variability_threshold = 0.2