celldetective 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- celldetective/__init__.py +2 -0
- celldetective/__main__.py +432 -0
- celldetective/datasets/segmentation_annotations/blank +0 -0
- celldetective/datasets/signal_annotations/blank +0 -0
- celldetective/events.py +149 -0
- celldetective/extra_properties.py +100 -0
- celldetective/filters.py +89 -0
- celldetective/gui/__init__.py +20 -0
- celldetective/gui/about.py +44 -0
- celldetective/gui/analyze_block.py +563 -0
- celldetective/gui/btrack_options.py +898 -0
- celldetective/gui/classifier_widget.py +386 -0
- celldetective/gui/configure_new_exp.py +532 -0
- celldetective/gui/control_panel.py +438 -0
- celldetective/gui/gui_utils.py +495 -0
- celldetective/gui/json_readers.py +113 -0
- celldetective/gui/measurement_options.py +1425 -0
- celldetective/gui/neighborhood_options.py +452 -0
- celldetective/gui/plot_signals_ui.py +1042 -0
- celldetective/gui/process_block.py +1055 -0
- celldetective/gui/retrain_segmentation_model_options.py +706 -0
- celldetective/gui/retrain_signal_model_options.py +643 -0
- celldetective/gui/seg_model_loader.py +460 -0
- celldetective/gui/signal_annotator.py +2388 -0
- celldetective/gui/signal_annotator_options.py +340 -0
- celldetective/gui/styles.py +217 -0
- celldetective/gui/survival_ui.py +903 -0
- celldetective/gui/tableUI.py +608 -0
- celldetective/gui/thresholds_gui.py +1300 -0
- celldetective/icons/logo-large.png +0 -0
- celldetective/icons/logo.png +0 -0
- celldetective/icons/signals_icon.png +0 -0
- celldetective/icons/splash-test.png +0 -0
- celldetective/icons/splash.png +0 -0
- celldetective/icons/splash0.png +0 -0
- celldetective/icons/survival2.png +0 -0
- celldetective/icons/vignette_signals2.png +0 -0
- celldetective/icons/vignette_signals2.svg +114 -0
- celldetective/io.py +2050 -0
- celldetective/links/zenodo.json +561 -0
- celldetective/measure.py +1258 -0
- celldetective/models/segmentation_effectors/blank +0 -0
- celldetective/models/segmentation_generic/blank +0 -0
- celldetective/models/segmentation_targets/blank +0 -0
- celldetective/models/signal_detection/blank +0 -0
- celldetective/models/tracking_configs/mcf7.json +68 -0
- celldetective/models/tracking_configs/ricm.json +203 -0
- celldetective/models/tracking_configs/ricm2.json +203 -0
- celldetective/neighborhood.py +717 -0
- celldetective/scripts/analyze_signals.py +51 -0
- celldetective/scripts/measure_cells.py +275 -0
- celldetective/scripts/segment_cells.py +212 -0
- celldetective/scripts/segment_cells_thresholds.py +140 -0
- celldetective/scripts/track_cells.py +206 -0
- celldetective/scripts/train_segmentation_model.py +246 -0
- celldetective/scripts/train_signal_model.py +49 -0
- celldetective/segmentation.py +712 -0
- celldetective/signals.py +2826 -0
- celldetective/tracking.py +974 -0
- celldetective/utils.py +1681 -0
- celldetective-1.0.2.dist-info/LICENSE +674 -0
- celldetective-1.0.2.dist-info/METADATA +192 -0
- celldetective-1.0.2.dist-info/RECORD +66 -0
- celldetective-1.0.2.dist-info/WHEEL +5 -0
- celldetective-1.0.2.dist-info/entry_points.txt +2 -0
- celldetective-1.0.2.dist-info/top_level.txt +1 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"TrackerConfig":
|
|
3
|
+
{
|
|
4
|
+
"MotionModel":
|
|
5
|
+
{
|
|
6
|
+
"name": "mcf7_motion",
|
|
7
|
+
"dt": 1.0,
|
|
8
|
+
"measurements": 3,
|
|
9
|
+
"states": 6,
|
|
10
|
+
"accuracy": 7.5,
|
|
11
|
+
"prob_not_assign": 0.001,
|
|
12
|
+
"max_lost": 5,
|
|
13
|
+
"A": {
|
|
14
|
+
"matrix": [1,0,0,1,0,0,
|
|
15
|
+
0,1,0,0,1,0,
|
|
16
|
+
0,0,1,0,0,1,
|
|
17
|
+
0,0,0,1,0,0,
|
|
18
|
+
0,0,0,0,1,0,
|
|
19
|
+
0,0,0,0,0,1]
|
|
20
|
+
},
|
|
21
|
+
"H": {
|
|
22
|
+
"matrix": [1,0,0,0,0,0,
|
|
23
|
+
0,1,0,0,0,0,
|
|
24
|
+
0,0,1,0,0,0]
|
|
25
|
+
},
|
|
26
|
+
"P": {
|
|
27
|
+
"sigma": 150.0,
|
|
28
|
+
"matrix": [0.1,0,0,0,0,0,
|
|
29
|
+
0,0.1,0,0,0,0,
|
|
30
|
+
0,0,0.1,0,0,0,
|
|
31
|
+
0,0,0,1,0,0,
|
|
32
|
+
0,0,0,0,1,0,
|
|
33
|
+
0,0,0,0,0,1]
|
|
34
|
+
},
|
|
35
|
+
"G": {
|
|
36
|
+
"sigma": 15.0,
|
|
37
|
+
"matrix": [0.5,0.5,0.5,1,1,1]
|
|
38
|
+
|
|
39
|
+
},
|
|
40
|
+
"R": {
|
|
41
|
+
"sigma": 5.0,
|
|
42
|
+
"matrix": [1,0,0,
|
|
43
|
+
0,1,0,
|
|
44
|
+
0,0,1]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"ObjectModel":
|
|
48
|
+
{},
|
|
49
|
+
"HypothesisModel":
|
|
50
|
+
{
|
|
51
|
+
"name": "cell_hypothesis",
|
|
52
|
+
"hypotheses": ["P_FP", "P_init", "P_term", "P_branch","P_link", "P_merge"],
|
|
53
|
+
"lambda_time": 5.0,
|
|
54
|
+
"lambda_dist": 3.0,
|
|
55
|
+
"lambda_link": 10.0,
|
|
56
|
+
"lambda_branch": 1.0,
|
|
57
|
+
"eta": 1e-10,
|
|
58
|
+
"theta_dist": 20.0,
|
|
59
|
+
"theta_time": 5.0,
|
|
60
|
+
"dist_thresh": 35.0,
|
|
61
|
+
"time_thresh": 20.0,
|
|
62
|
+
"apop_thresh": 10,
|
|
63
|
+
"segmentation_miss_rate": 0.05,
|
|
64
|
+
"apoptosis_rate": 0.0005,
|
|
65
|
+
"relax": true
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ricm",
|
|
3
|
+
"version": "0.6.4",
|
|
4
|
+
"verbose": false,
|
|
5
|
+
"motion_model": {
|
|
6
|
+
"measurements": 3,
|
|
7
|
+
"states": 6,
|
|
8
|
+
"A": [
|
|
9
|
+
1.0,
|
|
10
|
+
0.0,
|
|
11
|
+
0.0,
|
|
12
|
+
1.0,
|
|
13
|
+
0.0,
|
|
14
|
+
0.0,
|
|
15
|
+
0.0,
|
|
16
|
+
1.0,
|
|
17
|
+
0.0,
|
|
18
|
+
0.0,
|
|
19
|
+
1.0,
|
|
20
|
+
0.0,
|
|
21
|
+
0.0,
|
|
22
|
+
0.0,
|
|
23
|
+
1.0,
|
|
24
|
+
0.0,
|
|
25
|
+
0.0,
|
|
26
|
+
1.0,
|
|
27
|
+
0.0,
|
|
28
|
+
0.0,
|
|
29
|
+
0.0,
|
|
30
|
+
1.0,
|
|
31
|
+
0.0,
|
|
32
|
+
0.0,
|
|
33
|
+
0.0,
|
|
34
|
+
0.0,
|
|
35
|
+
0.0,
|
|
36
|
+
0.0,
|
|
37
|
+
1.0,
|
|
38
|
+
0.0,
|
|
39
|
+
0.0,
|
|
40
|
+
0.0,
|
|
41
|
+
0.0,
|
|
42
|
+
0.0,
|
|
43
|
+
0.0,
|
|
44
|
+
1.0
|
|
45
|
+
],
|
|
46
|
+
"H": [
|
|
47
|
+
1.0,
|
|
48
|
+
0.0,
|
|
49
|
+
0.0,
|
|
50
|
+
0.0,
|
|
51
|
+
0.0,
|
|
52
|
+
0.0,
|
|
53
|
+
0.0,
|
|
54
|
+
1.0,
|
|
55
|
+
0.0,
|
|
56
|
+
0.0,
|
|
57
|
+
0.0,
|
|
58
|
+
0.0,
|
|
59
|
+
0.0,
|
|
60
|
+
0.0,
|
|
61
|
+
1.0,
|
|
62
|
+
0.0,
|
|
63
|
+
0.0,
|
|
64
|
+
0.0
|
|
65
|
+
],
|
|
66
|
+
"P": [
|
|
67
|
+
15.0,
|
|
68
|
+
0.0,
|
|
69
|
+
0.0,
|
|
70
|
+
0.0,
|
|
71
|
+
0.0,
|
|
72
|
+
0.0,
|
|
73
|
+
0.0,
|
|
74
|
+
15.0,
|
|
75
|
+
0.0,
|
|
76
|
+
0.0,
|
|
77
|
+
0.0,
|
|
78
|
+
0.0,
|
|
79
|
+
0.0,
|
|
80
|
+
0.0,
|
|
81
|
+
15.0,
|
|
82
|
+
0.0,
|
|
83
|
+
0.0,
|
|
84
|
+
0.0,
|
|
85
|
+
0.0,
|
|
86
|
+
0.0,
|
|
87
|
+
0.0,
|
|
88
|
+
150.0,
|
|
89
|
+
0.0,
|
|
90
|
+
0.0,
|
|
91
|
+
0.0,
|
|
92
|
+
0.0,
|
|
93
|
+
0.0,
|
|
94
|
+
0.0,
|
|
95
|
+
150.0,
|
|
96
|
+
0.0,
|
|
97
|
+
0.0,
|
|
98
|
+
0.0,
|
|
99
|
+
0.0,
|
|
100
|
+
0.0,
|
|
101
|
+
0.0,
|
|
102
|
+
150.0
|
|
103
|
+
],
|
|
104
|
+
"R": [
|
|
105
|
+
5.0,
|
|
106
|
+
0.0,
|
|
107
|
+
0.0,
|
|
108
|
+
0.0,
|
|
109
|
+
5.0,
|
|
110
|
+
0.0,
|
|
111
|
+
0.0,
|
|
112
|
+
0.0,
|
|
113
|
+
5.0
|
|
114
|
+
],
|
|
115
|
+
"G": [
|
|
116
|
+
7.5,
|
|
117
|
+
7.5,
|
|
118
|
+
7.5,
|
|
119
|
+
15.0,
|
|
120
|
+
15.0,
|
|
121
|
+
15.0
|
|
122
|
+
],
|
|
123
|
+
"Q": [
|
|
124
|
+
56.25,
|
|
125
|
+
56.25,
|
|
126
|
+
56.25,
|
|
127
|
+
112.5,
|
|
128
|
+
112.5,
|
|
129
|
+
112.5,
|
|
130
|
+
56.25,
|
|
131
|
+
56.25,
|
|
132
|
+
56.25,
|
|
133
|
+
112.5,
|
|
134
|
+
112.5,
|
|
135
|
+
112.5,
|
|
136
|
+
56.25,
|
|
137
|
+
56.25,
|
|
138
|
+
56.25,
|
|
139
|
+
112.5,
|
|
140
|
+
112.5,
|
|
141
|
+
112.5,
|
|
142
|
+
112.5,
|
|
143
|
+
112.5,
|
|
144
|
+
112.5,
|
|
145
|
+
225.0,
|
|
146
|
+
225.0,
|
|
147
|
+
225.0,
|
|
148
|
+
112.5,
|
|
149
|
+
112.5,
|
|
150
|
+
112.5,
|
|
151
|
+
225.0,
|
|
152
|
+
225.0,
|
|
153
|
+
225.0,
|
|
154
|
+
112.5,
|
|
155
|
+
112.5,
|
|
156
|
+
112.5,
|
|
157
|
+
225.0,
|
|
158
|
+
225.0,
|
|
159
|
+
225.0
|
|
160
|
+
],
|
|
161
|
+
"dt": 1.0,
|
|
162
|
+
"accuracy": 7.5,
|
|
163
|
+
"max_lost": 5,
|
|
164
|
+
"prob_not_assign": 0.1,
|
|
165
|
+
"name": "ricm"
|
|
166
|
+
},
|
|
167
|
+
"object_model": null,
|
|
168
|
+
"hypothesis_model": {
|
|
169
|
+
"hypotheses": [
|
|
170
|
+
"P_FP",
|
|
171
|
+
"P_init",
|
|
172
|
+
"P_term",
|
|
173
|
+
"P_link"
|
|
174
|
+
],
|
|
175
|
+
"lambda_time": 5.0,
|
|
176
|
+
"lambda_dist": 3.0,
|
|
177
|
+
"lambda_link": 10.0,
|
|
178
|
+
"lambda_branch": 50.0,
|
|
179
|
+
"eta": 1e-10,
|
|
180
|
+
"theta_dist": 20.0,
|
|
181
|
+
"theta_time": 5.0,
|
|
182
|
+
"dist_thresh": 99.99,
|
|
183
|
+
"time_thresh": 10.0,
|
|
184
|
+
"apop_thresh": 5,
|
|
185
|
+
"segmentation_miss_rate": 0.01000000000000001,
|
|
186
|
+
"apoptosis_rate": 0.001,
|
|
187
|
+
"relax": true,
|
|
188
|
+
"name": "ricm"
|
|
189
|
+
},
|
|
190
|
+
"max_search_radius": 100.0,
|
|
191
|
+
"return_kalman": false,
|
|
192
|
+
"store_candidate_graph": false,
|
|
193
|
+
"volume": null,
|
|
194
|
+
"update_method": 0,
|
|
195
|
+
"optimizer_options": {
|
|
196
|
+
"tm_lim": 60000
|
|
197
|
+
},
|
|
198
|
+
"features": [],
|
|
199
|
+
"tracking_updates": [
|
|
200
|
+
1
|
|
201
|
+
],
|
|
202
|
+
"enable_optimisation": true
|
|
203
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ricm2",
|
|
3
|
+
"version": "0.6.4",
|
|
4
|
+
"verbose": false,
|
|
5
|
+
"motion_model": {
|
|
6
|
+
"measurements": 3,
|
|
7
|
+
"states": 6,
|
|
8
|
+
"A": [
|
|
9
|
+
1.0,
|
|
10
|
+
0.0,
|
|
11
|
+
0.0,
|
|
12
|
+
1.0,
|
|
13
|
+
0.0,
|
|
14
|
+
0.0,
|
|
15
|
+
0.0,
|
|
16
|
+
1.0,
|
|
17
|
+
0.0,
|
|
18
|
+
0.0,
|
|
19
|
+
1.0,
|
|
20
|
+
0.0,
|
|
21
|
+
0.0,
|
|
22
|
+
0.0,
|
|
23
|
+
1.0,
|
|
24
|
+
0.0,
|
|
25
|
+
0.0,
|
|
26
|
+
1.0,
|
|
27
|
+
0.0,
|
|
28
|
+
0.0,
|
|
29
|
+
0.0,
|
|
30
|
+
1.0,
|
|
31
|
+
0.0,
|
|
32
|
+
0.0,
|
|
33
|
+
0.0,
|
|
34
|
+
0.0,
|
|
35
|
+
0.0,
|
|
36
|
+
0.0,
|
|
37
|
+
1.0,
|
|
38
|
+
0.0,
|
|
39
|
+
0.0,
|
|
40
|
+
0.0,
|
|
41
|
+
0.0,
|
|
42
|
+
0.0,
|
|
43
|
+
0.0,
|
|
44
|
+
1.0
|
|
45
|
+
],
|
|
46
|
+
"H": [
|
|
47
|
+
1.0,
|
|
48
|
+
0.0,
|
|
49
|
+
0.0,
|
|
50
|
+
0.0,
|
|
51
|
+
0.0,
|
|
52
|
+
0.0,
|
|
53
|
+
0.0,
|
|
54
|
+
1.0,
|
|
55
|
+
0.0,
|
|
56
|
+
0.0,
|
|
57
|
+
0.0,
|
|
58
|
+
0.0,
|
|
59
|
+
0.0,
|
|
60
|
+
0.0,
|
|
61
|
+
1.0,
|
|
62
|
+
0.0,
|
|
63
|
+
0.0,
|
|
64
|
+
0.0
|
|
65
|
+
],
|
|
66
|
+
"P": [
|
|
67
|
+
30.0,
|
|
68
|
+
0.0,
|
|
69
|
+
0.0,
|
|
70
|
+
0.0,
|
|
71
|
+
0.0,
|
|
72
|
+
0.0,
|
|
73
|
+
0.0,
|
|
74
|
+
30.0,
|
|
75
|
+
0.0,
|
|
76
|
+
0.0,
|
|
77
|
+
0.0,
|
|
78
|
+
0.0,
|
|
79
|
+
0.0,
|
|
80
|
+
0.0,
|
|
81
|
+
30.0,
|
|
82
|
+
0.0,
|
|
83
|
+
0.0,
|
|
84
|
+
0.0,
|
|
85
|
+
0.0,
|
|
86
|
+
0.0,
|
|
87
|
+
0.0,
|
|
88
|
+
300.0,
|
|
89
|
+
0.0,
|
|
90
|
+
0.0,
|
|
91
|
+
0.0,
|
|
92
|
+
0.0,
|
|
93
|
+
0.0,
|
|
94
|
+
0.0,
|
|
95
|
+
300.0,
|
|
96
|
+
0.0,
|
|
97
|
+
0.0,
|
|
98
|
+
0.0,
|
|
99
|
+
0.0,
|
|
100
|
+
0.0,
|
|
101
|
+
0.0,
|
|
102
|
+
300.0
|
|
103
|
+
],
|
|
104
|
+
"R": [
|
|
105
|
+
10.0,
|
|
106
|
+
0.0,
|
|
107
|
+
0.0,
|
|
108
|
+
0.0,
|
|
109
|
+
10.0,
|
|
110
|
+
0.0,
|
|
111
|
+
0.0,
|
|
112
|
+
0.0,
|
|
113
|
+
10.0
|
|
114
|
+
],
|
|
115
|
+
"G": [
|
|
116
|
+
15.0,
|
|
117
|
+
15.0,
|
|
118
|
+
15.0,
|
|
119
|
+
30.0,
|
|
120
|
+
30.0,
|
|
121
|
+
30.0
|
|
122
|
+
],
|
|
123
|
+
"Q": [
|
|
124
|
+
225.0,
|
|
125
|
+
225.0,
|
|
126
|
+
225.0,
|
|
127
|
+
450.0,
|
|
128
|
+
450.0,
|
|
129
|
+
450.0,
|
|
130
|
+
225.0,
|
|
131
|
+
225.0,
|
|
132
|
+
225.0,
|
|
133
|
+
450.0,
|
|
134
|
+
450.0,
|
|
135
|
+
450.0,
|
|
136
|
+
225.0,
|
|
137
|
+
225.0,
|
|
138
|
+
225.0,
|
|
139
|
+
450.0,
|
|
140
|
+
450.0,
|
|
141
|
+
450.0,
|
|
142
|
+
450.0,
|
|
143
|
+
450.0,
|
|
144
|
+
450.0,
|
|
145
|
+
900.0,
|
|
146
|
+
900.0,
|
|
147
|
+
900.0,
|
|
148
|
+
450.0,
|
|
149
|
+
450.0,
|
|
150
|
+
450.0,
|
|
151
|
+
900.0,
|
|
152
|
+
900.0,
|
|
153
|
+
900.0,
|
|
154
|
+
450.0,
|
|
155
|
+
450.0,
|
|
156
|
+
450.0,
|
|
157
|
+
900.0,
|
|
158
|
+
900.0,
|
|
159
|
+
900.0
|
|
160
|
+
],
|
|
161
|
+
"dt": 1.0,
|
|
162
|
+
"accuracy": 5.0,
|
|
163
|
+
"max_lost": 5,
|
|
164
|
+
"prob_not_assign": 0.1,
|
|
165
|
+
"name": "ricm2"
|
|
166
|
+
},
|
|
167
|
+
"object_model": null,
|
|
168
|
+
"hypothesis_model": {
|
|
169
|
+
"hypotheses": [
|
|
170
|
+
"P_FP",
|
|
171
|
+
"P_init",
|
|
172
|
+
"P_term",
|
|
173
|
+
"P_link"
|
|
174
|
+
],
|
|
175
|
+
"lambda_time": 5.0,
|
|
176
|
+
"lambda_dist": 3.0,
|
|
177
|
+
"lambda_link": 50.0,
|
|
178
|
+
"lambda_branch": 50.0,
|
|
179
|
+
"eta": 1e-10,
|
|
180
|
+
"theta_dist": 20.0,
|
|
181
|
+
"theta_time": 5.0,
|
|
182
|
+
"dist_thresh": 75.0,
|
|
183
|
+
"time_thresh": 5.0,
|
|
184
|
+
"apop_thresh": 5,
|
|
185
|
+
"segmentation_miss_rate": 0.1,
|
|
186
|
+
"apoptosis_rate": 0.001,
|
|
187
|
+
"relax": true,
|
|
188
|
+
"name": "ricm2"
|
|
189
|
+
},
|
|
190
|
+
"max_search_radius": 200.0,
|
|
191
|
+
"return_kalman": false,
|
|
192
|
+
"store_candidate_graph": false,
|
|
193
|
+
"volume": null,
|
|
194
|
+
"update_method": 0,
|
|
195
|
+
"optimizer_options": {
|
|
196
|
+
"tm_lim": 60000
|
|
197
|
+
},
|
|
198
|
+
"features": [],
|
|
199
|
+
"tracking_updates": [
|
|
200
|
+
1
|
|
201
|
+
],
|
|
202
|
+
"enable_optimisation": true
|
|
203
|
+
}
|