celldetective 1.1.1.post4__py3-none-any.whl → 1.2.1__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.
Files changed (41) hide show
  1. celldetective/__init__.py +2 -1
  2. celldetective/extra_properties.py +62 -34
  3. celldetective/gui/__init__.py +1 -0
  4. celldetective/gui/analyze_block.py +2 -1
  5. celldetective/gui/classifier_widget.py +15 -9
  6. celldetective/gui/control_panel.py +50 -6
  7. celldetective/gui/layouts.py +5 -4
  8. celldetective/gui/neighborhood_options.py +13 -9
  9. celldetective/gui/plot_signals_ui.py +39 -11
  10. celldetective/gui/process_block.py +413 -95
  11. celldetective/gui/retrain_segmentation_model_options.py +17 -4
  12. celldetective/gui/retrain_signal_model_options.py +106 -6
  13. celldetective/gui/signal_annotator.py +29 -9
  14. celldetective/gui/signal_annotator2.py +2708 -0
  15. celldetective/gui/signal_annotator_options.py +3 -1
  16. celldetective/gui/survival_ui.py +15 -6
  17. celldetective/gui/tableUI.py +222 -60
  18. celldetective/io.py +536 -420
  19. celldetective/measure.py +919 -969
  20. celldetective/models/pair_signal_detection/blank +0 -0
  21. celldetective/models/segmentation_effectors/ricm-bimodal/config_input.json +130 -0
  22. celldetective/models/segmentation_effectors/ricm-bimodal/ricm-bimodal +0 -0
  23. celldetective/models/segmentation_effectors/ricm-bimodal/training_instructions.json +37 -0
  24. celldetective/neighborhood.py +428 -354
  25. celldetective/relative_measurements.py +648 -0
  26. celldetective/scripts/analyze_signals.py +1 -1
  27. celldetective/scripts/measure_cells.py +28 -8
  28. celldetective/scripts/measure_relative.py +103 -0
  29. celldetective/scripts/segment_cells.py +5 -5
  30. celldetective/scripts/track_cells.py +4 -1
  31. celldetective/scripts/train_segmentation_model.py +23 -18
  32. celldetective/scripts/train_signal_model.py +33 -0
  33. celldetective/signals.py +405 -8
  34. celldetective/tracking.py +8 -2
  35. celldetective/utils.py +178 -17
  36. {celldetective-1.1.1.post4.dist-info → celldetective-1.2.1.dist-info}/METADATA +8 -8
  37. {celldetective-1.1.1.post4.dist-info → celldetective-1.2.1.dist-info}/RECORD +41 -34
  38. {celldetective-1.1.1.post4.dist-info → celldetective-1.2.1.dist-info}/WHEEL +1 -1
  39. {celldetective-1.1.1.post4.dist-info → celldetective-1.2.1.dist-info}/LICENSE +0 -0
  40. {celldetective-1.1.1.post4.dist-info → celldetective-1.2.1.dist-info}/entry_points.txt +0 -0
  41. {celldetective-1.1.1.post4.dist-info → celldetective-1.2.1.dist-info}/top_level.txt +0 -0
File without changes
@@ -0,0 +1,130 @@
1
+ {
2
+ "channels": [
3
+ "adhesion_channel",
4
+ "brightfield_channel"
5
+ ],
6
+ "diameter": 30.0,
7
+ "cellprob_threshold": 0.0,
8
+ "flow_threshold": 0.4,
9
+ "normalization_percentile": [
10
+ false,
11
+ true
12
+ ],
13
+ "normalization_clip": [
14
+ true,
15
+ true
16
+ ],
17
+ "normalization_values": [
18
+ [
19
+ 0.75,
20
+ 1.25
21
+ ],
22
+ [
23
+ 1.0,
24
+ 99.0
25
+ ]
26
+ ],
27
+ "model_type": "cellpose",
28
+ "spatial_calibration": 0.2,
29
+ "dataset": {
30
+ "train": [
31
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_100_0109.tif",
32
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_200_0057.tif",
33
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_200_0058.tif",
34
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/AdhesionDalia-26-08_209_0022.tif",
35
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/AdhesionDalia-26-08_2015_0039.tif",
36
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Exp20190619_700_0024.tif",
37
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_605_0037.tif",
38
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_102_0039.tif",
39
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_200_0034.tif",
40
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_103_0011.tif",
41
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_701_0004.tif",
42
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_201_0035.tif",
43
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_100_0016.tif",
44
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_202_0020.tif",
45
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dominique20191016_303_0016.tif",
46
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_502_0000.tif",
47
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_201_0000.tif",
48
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_105_0031.tif",
49
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/AdhesionDalia-26-08_2012_0039.tif",
50
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_608_0028.tif",
51
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_2012_0027.tif",
52
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_101_0021.tif",
53
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_302_0039.tif",
54
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_104_0036.tif",
55
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_801_0036.tif",
56
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_502_0036.tif",
57
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_808_0173.tif",
58
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_5011_0006.tif",
59
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_800_0019.tif",
60
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dominique20191016_302_0039.tif",
61
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Exp20190619_400_0061.tif",
62
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_106_0117.tif",
63
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_402_0039.tif",
64
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_305_0158.tif",
65
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_308_0191.tif",
66
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_800_0050.tif",
67
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_500_0127.tif",
68
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_300_0009.tif",
69
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_701_0082.tif",
70
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_800_0000.tif",
71
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_303_0019.tif",
72
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_800_0002.tif",
73
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Exp20190619_700_0009.tif",
74
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_701_0055.tif",
75
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_104_0019.tif",
76
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_600_0108.tif",
77
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_800_0021.tif",
78
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_600_0193_roi_491_996_143_708.tif",
79
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_106_0000.tif",
80
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_2014_0038.tif",
81
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_604_0033.tif",
82
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_303_0025.tif",
83
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_105_0038.tif",
84
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_201_0039.tif",
85
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_406_0202.tif",
86
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_105_0028.tif",
87
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_600_0172.tif",
88
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_600_0193.tif",
89
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_3011_0036.tif",
90
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_203_0024.tif",
91
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_209_0020.tif",
92
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_100_0181.tif",
93
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_201_0034.tif",
94
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_704_0010.tif",
95
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_2014_0034.tif",
96
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_303_0021.tif",
97
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Exp20190619_700_0023.tif",
98
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_600_0019.tif",
99
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_808_0016.tif",
100
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dominique20191016_303_0039.tif",
101
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_103_0034.tif",
102
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_101_0038.tif",
103
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_100_0007.tif",
104
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_607_0035.tif",
105
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_200_0006.tif",
106
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_206_0030.tif"
107
+ ],
108
+ "validation": [
109
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_6011_0026.tif",
110
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_100_0035.tif",
111
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/AdhesionDalia-26-08_208_0020.tif",
112
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_102_0031.tif",
113
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_200_0039.tif",
114
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_502_0150.tif",
115
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dominique20191016_304_0033.tif",
116
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_1015_0036.tif",
117
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/StaticRICM-Dom-20191016-Her2-10nM-C7b21_200_0061.tif",
118
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_5013_0000.tif",
119
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Exp20190619_700_0025.tif",
120
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia08052020_105_0039.tif",
121
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Marie_801_0177.tif",
122
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_504_0016.tif",
123
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dominique20191016_301_0039.tif",
124
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia01092020_504_0037.tif",
125
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dominique20191016_305_0030.tif",
126
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/Dalia-2021-04-27_C7b21NF-incub-with-cells-test_606_0036.tif",
127
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined/20231213_RICM_2C11_PP2_normed_300_0087.tif"
128
+ ]
129
+ }
130
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "model_name": "ricm-bimodal",
3
+ "model_type": "cellpose",
4
+ "pretrained": null,
5
+ "spatial_calibration": 0.2,
6
+ "channel_option": [
7
+ "adhesion_channel",
8
+ "brightfield_channel"
9
+ ],
10
+ "normalization_percentile": [
11
+ false,
12
+ true
13
+ ],
14
+ "normalization_clip": [
15
+ true,
16
+ true
17
+ ],
18
+ "normalization_values": [
19
+ [
20
+ 0.75,
21
+ 1.25
22
+ ],
23
+ [
24
+ 1.0,
25
+ 99.0
26
+ ]
27
+ ],
28
+ "ds": [
29
+ "/home/kheya/Documents/torro-cinam/DATASET-RICM/combined"
30
+ ],
31
+ "augmentation_factor": 3.0,
32
+ "validation_split": 0.2,
33
+ "learning_rate": 0.008,
34
+ "batch_size": 16,
35
+ "epochs": 3000,
36
+ "target_directory": "/home/kheya/Documents/torro-cinam/GitHub/celldetective/celldetective/models/segmentation_effectors"
37
+ }