nettracer3d 0.4.7__py3-none-any.whl → 0.4.8__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.
- nettracer3d/nettracer_gui.py +27 -0
- {nettracer3d-0.4.7.dist-info → nettracer3d-0.4.8.dist-info}/METADATA +1 -1
- {nettracer3d-0.4.7.dist-info → nettracer3d-0.4.8.dist-info}/RECORD +7 -7
- {nettracer3d-0.4.7.dist-info → nettracer3d-0.4.8.dist-info}/LICENSE +0 -0
- {nettracer3d-0.4.7.dist-info → nettracer3d-0.4.8.dist-info}/WHEEL +0 -0
- {nettracer3d-0.4.7.dist-info → nettracer3d-0.4.8.dist-info}/entry_points.txt +0 -0
- {nettracer3d-0.4.7.dist-info → nettracer3d-0.4.8.dist-info}/top_level.txt +0 -0
nettracer3d/nettracer_gui.py
CHANGED
|
@@ -5964,8 +5964,19 @@ class MachineWindow(QMainWindow):
|
|
|
5964
5964
|
def start_segmentation(self):
|
|
5965
5965
|
|
|
5966
5966
|
self.kill_segmentation()
|
|
5967
|
+
time.sleep(0.1)
|
|
5968
|
+
|
|
5967
5969
|
print("Beginning new segmentation...")
|
|
5968
5970
|
|
|
5971
|
+
if self.parent().active_channel == 0:
|
|
5972
|
+
if self.parent().channel_data[0] is not None:
|
|
5973
|
+
active_data = self.parent().channel_data[0]
|
|
5974
|
+
else:
|
|
5975
|
+
active_data = self.parent().channel_data[1]
|
|
5976
|
+
|
|
5977
|
+
array3 = np.zeros_like(active_data)
|
|
5978
|
+
self.parent().highlight_overlay = array3 #Clear this out for the segmenter to use
|
|
5979
|
+
|
|
5969
5980
|
if not self.trained:
|
|
5970
5981
|
return
|
|
5971
5982
|
else:
|
|
@@ -6006,6 +6017,8 @@ class MachineWindow(QMainWindow):
|
|
|
6006
6017
|
current_ylim = self.parent().ax.get_ylim()
|
|
6007
6018
|
self.parent().update_display(preserve_zoom=(current_xlim, current_ylim))
|
|
6008
6019
|
self.kill_segmentation()
|
|
6020
|
+
time.sleep(0.1)
|
|
6021
|
+
|
|
6009
6022
|
|
|
6010
6023
|
def kill_segmentation(self):
|
|
6011
6024
|
if hasattr(self, 'segmentation_worker'):
|
|
@@ -6018,6 +6031,18 @@ class MachineWindow(QMainWindow):
|
|
|
6018
6031
|
if not self.trained:
|
|
6019
6032
|
return
|
|
6020
6033
|
else:
|
|
6034
|
+
self.kill_segmentation()
|
|
6035
|
+
time.sleep(0.1)
|
|
6036
|
+
|
|
6037
|
+
if self.parent().active_channel == 0:
|
|
6038
|
+
if self.parent().channel_data[0] is not None:
|
|
6039
|
+
active_data = self.parent().channel_data[0]
|
|
6040
|
+
else:
|
|
6041
|
+
active_data = self.parent().channel_data[1]
|
|
6042
|
+
|
|
6043
|
+
array3 = np.zeros_like(active_data)
|
|
6044
|
+
self.parent().highlight_overlay = array3 #Clear this out for the segmenter to use
|
|
6045
|
+
|
|
6021
6046
|
print("Segmenting entire volume with model...")
|
|
6022
6047
|
foreground_coords, background_coords = self.segmenter.segment_volume(gpu = self.use_gpu)
|
|
6023
6048
|
|
|
@@ -6047,6 +6072,8 @@ class MachineWindow(QMainWindow):
|
|
|
6047
6072
|
self.parent().brush_mode = False
|
|
6048
6073
|
self.parent().machine_window = None
|
|
6049
6074
|
self.kill_segmentation()
|
|
6075
|
+
time.sleep(0.1)
|
|
6076
|
+
|
|
6050
6077
|
|
|
6051
6078
|
|
|
6052
6079
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: nettracer3d
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.8
|
|
4
4
|
Summary: Scripts for intializing and analyzing networks from segmentations of three dimensional images.
|
|
5
5
|
Author-email: Liam McLaughlin <boom2449@gmail.com>
|
|
6
6
|
Project-URL: User_Manual, https://drive.google.com/drive/folders/1fTkz3n4LN9_VxKRKC8lVQSlrz_wq0bVn?usp=drive_link
|
|
@@ -4,7 +4,7 @@ nettracer3d/hub_getter.py,sha256=KiNtxdajLkwB1ftslvrh1FE1Ch9ZCFEmHSEEotwR-To,829
|
|
|
4
4
|
nettracer3d/modularity.py,sha256=V1f3s_vGd8EuVz27mzq6ycIGr0BWIpH7c7NU4QjgAHU,30247
|
|
5
5
|
nettracer3d/morphology.py,sha256=CsRWB0DY-vBBlKdF9IQwgfYYZswuE7n1Iu_Osxgmxnw,13042
|
|
6
6
|
nettracer3d/nettracer.py,sha256=hDccGy6RybSJFvY6dsN1l5eM3wKZW93CizlTvgEeyNs,209690
|
|
7
|
-
nettracer3d/nettracer_gui.py,sha256=
|
|
7
|
+
nettracer3d/nettracer_gui.py,sha256=HIjUaLPGEwtk-2nkRrgrX-l0vSv1aJC-BEinw4hibek,334463
|
|
8
8
|
nettracer3d/network_analysis.py,sha256=MJBBjslA1k_R8ymid77U-qGSgzxFVfzGVQhE0IdhnbE,48046
|
|
9
9
|
nettracer3d/network_draw.py,sha256=F7fw6Pcf4qWOhdKwLmhwqWdschbDlHzwCVolQC9imeU,14117
|
|
10
10
|
nettracer3d/node_draw.py,sha256=BMiD_FrlOHeGD4AQZ_Emd152PfxFuMgGf2x4S0TOTnw,9752
|
|
@@ -13,9 +13,9 @@ nettracer3d/run.py,sha256=xYeaAc8FCx8MuzTGyL3NR3mK7WZzffAYAH23bNRZYO4,127
|
|
|
13
13
|
nettracer3d/segmenter.py,sha256=tBaNXJMkacpHb37LQzMJIRzlfILH3h9jCJE1NqsABWs,28816
|
|
14
14
|
nettracer3d/simple_network.py,sha256=fP1gkDdtQcHruEZpUdasKdZeVacoLOxKhR3bY0L1CAQ,15426
|
|
15
15
|
nettracer3d/smart_dilate.py,sha256=dvbG2UhWzMQrtDqSj281rixNRgwUHOFGlJZ9RSl6rKs,24590
|
|
16
|
-
nettracer3d-0.4.
|
|
17
|
-
nettracer3d-0.4.
|
|
18
|
-
nettracer3d-0.4.
|
|
19
|
-
nettracer3d-0.4.
|
|
20
|
-
nettracer3d-0.4.
|
|
21
|
-
nettracer3d-0.4.
|
|
16
|
+
nettracer3d-0.4.8.dist-info/LICENSE,sha256=gM207DhJjWrxLuEWXl0Qz5ISbtWDmADfjHp3yC2XISs,888
|
|
17
|
+
nettracer3d-0.4.8.dist-info/METADATA,sha256=FxmRDLIhjeVd8vGkHqBPk44SpuQ7LmI5R6J5nK2OPXU,2921
|
|
18
|
+
nettracer3d-0.4.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
19
|
+
nettracer3d-0.4.8.dist-info/entry_points.txt,sha256=Nx1rr_0QhJXDBHAQg2vcqCzLMKBzSHfwy3xwGkueVyc,53
|
|
20
|
+
nettracer3d-0.4.8.dist-info/top_level.txt,sha256=zsYy9rZwirfCEOubolhee4TyzqBAL5gSUeFMzhFTX8c,12
|
|
21
|
+
nettracer3d-0.4.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|