aboutsummaryrefslogtreecommitdiff
path: root/code/sunlab/globals.py
blob: eb5800bc21915a412fd3bf4d2fb878237bfd28c4 (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
DIR_ROOT = "../"
FILES = {
    "TRAINING_DATASET": DIR_ROOT + "data/spheroid26_011523_filtered.csv",
    "TRAINING_DATASET_WIDE_BERTH": DIR_ROOT + "data/spheroid26_011523_exc.csv",
    "PRETRAINED_MODEL_DIR": DIR_ROOT + "models/current_model/",
    "PEN_TRACKED": {
        "AUTO": DIR_ROOT + "data/PEN_automatically_tracked.csv",
        "MANUAL": DIR_ROOT + "data/PEN_manually_tracked.csv",
    },
    "RHO": {
        "3": DIR_ROOT + "data/Rho_act_Cell3.csv",
        "4": DIR_ROOT + "data/Rho_act_Cell4.csv",
        "6": DIR_ROOT + "data/Rho_act_Cell6.csv",
        "7": DIR_ROOT + "data/Rho_act_Cell7.csv",
        "8": DIR_ROOT + "data/Rho_act_Cell8.csv",
        "9": DIR_ROOT + "data/Rho_act_Cell9.csv",
        "10": DIR_ROOT + "data/Rho_act_Cell10.csv",
        "11": DIR_ROOT + "data/Rho_act_Cell11.csv",
    },
    "CN03": {
        "3": DIR_ROOT + "data/Rho_act_Cell3.csv",
        "4": DIR_ROOT + "data/Rho_act_Cell4.csv",
        "6": DIR_ROOT + "data/Rho_act_Cell6.csv",
        "7": DIR_ROOT + "data/Rho_act_Cell7.csv",
        "8": DIR_ROOT + "data/Rho_act_Cell8.csv",
        "9": DIR_ROOT + "data/Rho_act_Cell9.csv",
        "10": DIR_ROOT + "data/Rho_act_Cell10.csv",
        "11": DIR_ROOT + "data/Rho_act_Cell11.csv",
    },
    "Y27632": {
        "1": DIR_ROOT + "data/Y27632_Cell1.csv",
        "2": DIR_ROOT + "data/Y27632_Cell2.csv",
        "3": DIR_ROOT + "data/Y27632_Cell3.csv",
        "4": DIR_ROOT + "data/Y27632_Cell4.csv",
        "5": DIR_ROOT + "data/Y27632_Cell5.csv",
    },
    "HISTOLOGIES": {
        "J1": DIR_ROOT + "../HistologyProject/J1/svm/svm.csv",
        "image001": DIR_ROOT + "../HistologyProject/image001/svm/svm.csv",
        "H4": DIR_ROOT + "../HistologyProject/H4/svm/svm.csv",
        "H9": DIR_ROOT + "../HistologyProject/H9/svm/svm.csv",
    },
    "SPHEROID": {
        "1p5mgml": DIR_ROOT + "data/spheroid26_011523_filtered.csv",
        "3mgml": DIR_ROOT + "data/spheroid20_011923_filtered.csv",
        "4mgml": DIR_ROOT + "data/spheroid22_012323_filtered.csv",
        "6mgml": DIR_ROOT + "data/spheroid26_012423_filtered.csv",
    },
    "SPHEROID_RAW": {
        "REG": {
            "1p5mgml": [
                DIR_ROOT + "data/" + "spheroid15_030322_RegularCollagen_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid16_030322_RegularCollagen_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid17_041022_RegularCollagen_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid18_041022_RegularCollagen_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid26_011523_RegularCollagen_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid27_090323_RegularCollagen_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid28_090523_RegularCollagen_1p5mgml.csv",
            ],
            "3mgml": [
                DIR_ROOT + "data/" + "spheroid15_031022_RegularCollagen_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid16_031522_RegularCollagen_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid17_041022_RegularCollagen_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid18_083022_RegularCollagen_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid19_083022_RegularCollagen_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid20_011923_RegularCollagen_3mgml.csv",
            ],
            "4mgml": [
                DIR_ROOT + "data/" + "spheroid17_031022_RegularCollagen_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid18_031022_RegularCollagen_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid19_031022_RegularCollagen_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid20_083022_RegularCollagen_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid21_083022_RegularCollagen_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid22_012323_RegularCollagen_4mgml.csv",
            ],
            "6mgml": [
                DIR_ROOT + "data/" + "spheroid22_031022_RegularCollagen_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid23_031022_RegularCollagen_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid24_031022_RegularCollagen_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid25_031022_RegularCollagen_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid26_012423_RegularCollagen_6mgml.csv",
            ],
        },
        "PC": {
            "1p5mgml": [
                DIR_ROOT + "data/" + "spheroid1_021922_PhotoCol_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid2_021922_PhotoCol_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid3_021922_PhotoCol_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid4_021922_PhotoCol_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid5_021922_PhotoCol_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid7_021922_PhotoCol_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid8_021922_PhotoCol_1p5mgml.csv",
                DIR_ROOT + "data/" + "spheroid9_012723_PhotoCol_1p5mgml.csv",
            ],
            "3mgml": [
                DIR_ROOT + "data/" + "spheroid5_022022_PhotoCol_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid6_022022_PhotoCol_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid7_030322_PhotoCol_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid8_030322_PhotoCol_3mgml.csv",
                DIR_ROOT + "data/" + "spheroid12_060923_PhotoCol_3mgml.csv",
            ],
            "4mgml": [
                DIR_ROOT + "data/" + "spheroid2_022022_PhotoCol_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid3_053122_PhotoCol_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid4_053122_PhotoCol_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid5_053122_PhotoCol_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid6_053122_PhotoCol_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid7_091222_PhotoCol_4mgml.csv",
                DIR_ROOT + "data/" + "spheroid8_091822_PhotoCol_4mgml.csv",
            ],
            "6mgml": [
                DIR_ROOT + "data/" + "spheroid1_021922_PhotoCol_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid2_021922_PhotoCol_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid3_021922_PhotoCol_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid4_021922_PhotoCol_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid6_091222_PhotoCol_6mgml.csv",
                DIR_ROOT + "data/" + "spheroid8_022323_PhotoCol_6mgml.csv",
            ],
        },
    },
    "SPHEROID_RAW_RIC": {
        "NAME": "(R)esolution (I)mage type (C)oncentration",
        "QUARTER_HOUR": {
            "REG": {
                "1p5mgml": [
                    DIR_ROOT
                    + "data/"
                    + "spheroid28_090523_RegularCollagen_1p5mgml.csv",
                ],
                "3mgml": [
                    DIR_ROOT + "data/" + "spheroid20_011923_RegularCollagen_3mgml.csv",
                ],
                "4mgml": [
                    DIR_ROOT + "data/" + "spheroid22_012323_RegularCollagen_4mgml.csv",
                ],
                "6mgml": [
                    DIR_ROOT + "data/" + "spheroid26_012423_RegularCollagen_6mgml.csv",
                ],
            },
            "PC": {
                "1p5mgml": [
                    DIR_ROOT + "data/" + "spheroid9_012723_PhotoCol_1p5mgml.csv",
                ],
                "3mgml": [
                    DIR_ROOT + "data/" + "spheroid12_060923_PhotoCol_3mgml.csv",
                ],
                "4mgml": [],
                "6mgml": [
                    DIR_ROOT + "data/" + "spheroid8_022323_PhotoCol_6mgml.csv",
                ],
            },
        },
        "DAILY": {
            "REG": {
                "1p5mgml": [
                    DIR_ROOT
                    + "data/"
                    + "spheroid15_030322_RegularCollagen_1p5mgml.csv",
                    DIR_ROOT
                    + "data/"
                    + "spheroid16_030322_RegularCollagen_1p5mgml.csv",
                    DIR_ROOT
                    + "data/"
                    + "spheroid17_041022_RegularCollagen_1p5mgml.csv",
                    DIR_ROOT
                    + "data/"
                    + "spheroid18_041022_RegularCollagen_1p5mgml.csv",
                    DIR_ROOT
                    + "data/"
                    + "spheroid26_011523_RegularCollagen_1p5mgml.csv",
                    DIR_ROOT
                    + "data/"
                    + "spheroid27_090323_RegularCollagen_1p5mgml.csv",
                ],
                "3mgml": [
                    DIR_ROOT + "data/" + "spheroid15_031022_RegularCollagen_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid16_031522_RegularCollagen_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid17_041022_RegularCollagen_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid18_083022_RegularCollagen_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid19_083022_RegularCollagen_3mgml.csv",
                ],
                "4mgml": [
                    DIR_ROOT + "data/" + "spheroid17_031022_RegularCollagen_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid18_031022_RegularCollagen_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid19_031022_RegularCollagen_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid20_083022_RegularCollagen_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid21_083022_RegularCollagen_4mgml.csv",
                ],
                "6mgml": [
                    DIR_ROOT + "data/" + "spheroid22_031022_RegularCollagen_6mgml.csv",
                    DIR_ROOT + "data/" + "spheroid23_031022_RegularCollagen_6mgml.csv",
                    DIR_ROOT + "data/" + "spheroid24_031022_RegularCollagen_6mgml.csv",
                    DIR_ROOT + "data/" + "spheroid25_031022_RegularCollagen_6mgml.csv",
                ],
            },
            "PC": {
                "1p5mgml": [
                    DIR_ROOT + "data/" + "spheroid1_021922_PhotoCol_1p5mgml.csv",
                    DIR_ROOT + "data/" + "spheroid2_021922_PhotoCol_1p5mgml.csv",
                    DIR_ROOT + "data/" + "spheroid3_021922_PhotoCol_1p5mgml.csv",
                    DIR_ROOT + "data/" + "spheroid4_021922_PhotoCol_1p5mgml.csv",
                    DIR_ROOT + "data/" + "spheroid5_021922_PhotoCol_1p5mgml.csv",
                    DIR_ROOT + "data/" + "spheroid7_021922_PhotoCol_1p5mgml.csv",
                    DIR_ROOT + "data/" + "spheroid8_021922_PhotoCol_1p5mgml.csv",
                ],
                "3mgml": [
                    DIR_ROOT + "data/" + "spheroid5_022022_PhotoCol_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid6_022022_PhotoCol_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid7_030322_PhotoCol_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid8_030322_PhotoCol_3mgml.csv",
                    DIR_ROOT + "data/" + "spheroid12_060923_PhotoCol_3mgml.csv",
                ],
                "4mgml": [
                    DIR_ROOT + "data/" + "spheroid2_022022_PhotoCol_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid3_053122_PhotoCol_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid4_053122_PhotoCol_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid5_053122_PhotoCol_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid6_053122_PhotoCol_4mgml.csv",
                    DIR_ROOT + "data/" + "spheroid7_091222_PhotoCol_4mgml.csv",
                ],
                "6mgml": [
                    DIR_ROOT + "data/" + "spheroid1_021922_PhotoCol_6mgml.csv",
                    DIR_ROOT + "data/" + "spheroid2_021922_PhotoCol_6mgml.csv",
                    DIR_ROOT + "data/" + "spheroid3_021922_PhotoCol_6mgml.csv",
                    DIR_ROOT + "data/" + "spheroid4_021922_PhotoCol_6mgml.csv",
                    DIR_ROOT + "data/" + "spheroid6_091222_PhotoCol_6mgml.csv",
                ],
            },
        },
    },
    "SPHEROID_PC": {
        "1p5mgml": DIR_ROOT + "data/spheroid9_012723_pc_1p5.csv",
        "3mgml": DIR_ROOT + "data/spheroid12_060923_pc_3.csv",
    },
    "SPHEROID_MASKS": {
        "1p5mgml": DIR_ROOT + "data/spheroid_1p5mgml_spheroid26_011523/images/",
        "3mgml": DIR_ROOT + "data/spheroid_3mgml_spheroid20_011923/images/",
        "4mgml": DIR_ROOT + "data/spheroid_4mgml_spheroid22_012323/images/",
        "6mgml": DIR_ROOT + "data/spheroid_6mgml_spheroid26_012423/images/",
        "3mgml_pc": DIR_ROOT + "data/spheroid_photocol_3mgml_spheroid12_060923/images/",
    },
    "FIGURES": {
        "2": {
            "PHENOTYPES_SMOOTHED": DIR_ROOT
            + "extra_data/PhenotypeGaussianSmoothed.npy",
        },
        "3": {
            "SAMPLED_DATASET": DIR_ROOT + "extra_data/Figure3.SampledDataset.npy",
            "PAIRWISE_DISTANCES": DIR_ROOT + "extra_data/Figure3.PairwiseDistances.npy",
            "PAIRWISE_DOT_PRODUCTS": DIR_ROOT
            + "extra_data/Figure3.PairwiseDotProducts.npy",
            "TRAJECTORIES": DIR_ROOT + "extra_data/Figure3.Trajectories.npy",
        },
    },
    "PHENOTYPE_GRID": {
        "IN": DIR_ROOT + "extra_data/PhenotypeGrid.npy",
        "OUT": DIR_ROOT + "extra_data/PhenotypeGrid_out.npy",
    },
    "PHENOTYPE_RGB": DIR_ROOT + "extra_data/PhenotypeColors.npy",
    "SVM": {
        "MODEL": DIR_ROOT + "other/svm/SVC_rbf_010820_16942_new.pkl",
        "SCALER": DIR_ROOT + "other/svm/SVC_rbf_scaler_010820_16942_new.pkl",
    },
    "NONPHYSICAL_MASK": DIR_ROOT + "extra_data/NonPhysicalMask.npy",
}