-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
43 lines (32 loc) · 1.21 KB
/
.env
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
# Seconds per frame, only used if implemented
TIME_PER_FRAME = 0.033701279491161897
# Basis image used for registration and brightness calibration
BASIS_IMAGE = "data/basis/basis.jpg"
# Coordinates of resonator, will be overwritten using reset.py
X = 903
Y = 307
W = 237
H = 97
# Coefficients of calibration, will be overwritten using calibright.py
ALPHA_BRI = 0.0408767672304505
BETA_BRI = 0.09118758678606967
# Height of the chamber used for brightness calibration
H_CHAMBER = 600
# Name of all files to save to results folders
SLICED_FILENAME = "sliced_result.csv"
CROPPED_FILENAME = "result_vid.mp4"
MATCHES_FILENAME = "result_matches.jpg"
HIST_PLOT = "results.png"
RESULTS_DATA = "results_data.xlsx"
###### CONFIGURATION VARIABLES #######
# Number of concurrent frames to average when creating sliced csv
SLICE_FREQ = 5
# Amount of time to subtract from resonator data, aka amount of time
# it takes for cells to go from chamber to cell counts / sensor
TIME_CORRECT = 50
# Standard deviation of smoothing to apply to the data - in frames
GAUSS_STD = 60
# Pixel location (in y-axis) in resonator to start averaging brightness
WIN_TOP = 0
# Pixel location (in y-axis) in resonator to finish averaging brightness
WIN_BOTTOM = 25