-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpreproc.toml
More file actions
49 lines (42 loc) · 1.24 KB
/
preproc.toml
File metadata and controls
49 lines (42 loc) · 1.24 KB
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
49
# What to do.
[tasks]
sync = false
debug = false
preprocess = true # I can't think of a scenario where this would be false.
interpolate = true
interpolate_isig = true # Should default to false
differentiate = true # Add first finite differences
# Directories to read from / write to.
[locations]
source = "remote_data" # Raw data, exported from medtronic's website.
preprocessed = "processed" # Where to write processed data, without interpolation
interpolated = "interpolated" # Idem, but interpolated.
history = "" # Name of the history file (.toml)
# How to do the processing
[specs]
interpolation = "full" # Either "full" or "daily"
verbose = false
ignore_lock = false
write_lock = true
diff_intervals = [15, 30, 60, 120] # to be deprecated.
[interpolation.specs]
methods = { linear = 0.65, akima = 0.25, polynomial = 0.10 }
direction = "both"
limit = 120
limit_area = "inside"
order = 2
[differentiation.specs]
delta = 1
window_size = 5
# Hardware optimisation
[hardware]
n_threads = 12
# File-specific specs (Carelink, FreeStyle, etc.)
[file.specs]
type = "medtronic"
date = "Date"
time = "Time"
header_row_num = 7
dummy_index = "Index"
glycaemia_column = "Sensor Glucose (mg/dL)"
isig_column = "ISIG Value"