nettracer3d 1.0.9__py3-none-any.whl → 1.1.0__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.py +32 -28
- {nettracer3d-1.0.9.dist-info → nettracer3d-1.1.0.dist-info}/METADATA +3 -6
- {nettracer3d-1.0.9.dist-info → nettracer3d-1.1.0.dist-info}/RECORD +7 -7
- {nettracer3d-1.0.9.dist-info → nettracer3d-1.1.0.dist-info}/WHEEL +0 -0
- {nettracer3d-1.0.9.dist-info → nettracer3d-1.1.0.dist-info}/entry_points.txt +0 -0
- {nettracer3d-1.0.9.dist-info → nettracer3d-1.1.0.dist-info}/licenses/LICENSE +0 -0
- {nettracer3d-1.0.9.dist-info → nettracer3d-1.1.0.dist-info}/top_level.txt +0 -0
nettracer3d/nettracer.py
CHANGED
|
@@ -3143,13 +3143,14 @@ class Network_3D:
|
|
|
3143
3143
|
Can be called on a Network_3D object to save the nodes property to hard mem as a tif. It will save to the active directory if none is specified.
|
|
3144
3144
|
:param directory: (Optional - Val = None; String). The path to an indended directory to save the nodes to.
|
|
3145
3145
|
"""
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3146
|
+
if self._nodes is not None:
|
|
3147
|
+
imagej_metadata = {
|
|
3148
|
+
'spacing': self.z_scale,
|
|
3149
|
+
'slices': self._nodes.shape[0],
|
|
3150
|
+
'channels': 1,
|
|
3151
|
+
'axes': 'ZYX'
|
|
3152
|
+
}
|
|
3153
|
+
resolution_value = 1.0 / self.xy_scale if self.xy_scale != 0 else 1
|
|
3153
3154
|
|
|
3154
3155
|
if filename is None:
|
|
3155
3156
|
filename = "labelled_nodes.tif"
|
|
@@ -3184,14 +3185,15 @@ class Network_3D:
|
|
|
3184
3185
|
:param directory: (Optional - Val = None; String). The path to an indended directory to save the edges to.
|
|
3185
3186
|
"""
|
|
3186
3187
|
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3188
|
+
if self._edges is not None:
|
|
3189
|
+
imagej_metadata = {
|
|
3190
|
+
'spacing': self.z_scale,
|
|
3191
|
+
'slices': self._edges.shape[0],
|
|
3192
|
+
'channels': 1,
|
|
3193
|
+
'axes': 'ZYX'
|
|
3194
|
+
}
|
|
3193
3195
|
|
|
3194
|
-
|
|
3196
|
+
resolution_value = 1.0 / self.xy_scale if self.xy_scale != 0 else 1
|
|
3195
3197
|
|
|
3196
3198
|
if filename is None:
|
|
3197
3199
|
filename = "labelled_edges.tif"
|
|
@@ -3360,13 +3362,14 @@ class Network_3D:
|
|
|
3360
3362
|
|
|
3361
3363
|
def save_network_overlay(self, directory = None, filename = None):
|
|
3362
3364
|
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3365
|
+
if self._network_overlay is not None:
|
|
3366
|
+
imagej_metadata = {
|
|
3367
|
+
'spacing': self.z_scale,
|
|
3368
|
+
'slices': self._network_overlay.shape[0],
|
|
3369
|
+
'channels': 1,
|
|
3370
|
+
'axes': 'ZYX'
|
|
3371
|
+
}
|
|
3372
|
+
resolution_value = 1.0 / self.xy_scale if self.xy_scale != 0 else 1
|
|
3370
3373
|
|
|
3371
3374
|
if filename is None:
|
|
3372
3375
|
filename = "overlay_1.tif"
|
|
@@ -3390,13 +3393,14 @@ class Network_3D:
|
|
|
3390
3393
|
|
|
3391
3394
|
def save_id_overlay(self, directory = None, filename = None):
|
|
3392
3395
|
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3396
|
+
if self._id_overlay is not None:
|
|
3397
|
+
imagej_metadata = {
|
|
3398
|
+
'spacing': self.z_scale,
|
|
3399
|
+
'slices': self._id_overlay.shape[0],
|
|
3400
|
+
'channels': 1,
|
|
3401
|
+
'axes': 'ZYX'
|
|
3402
|
+
}
|
|
3403
|
+
resolution_value = 1.0 / self.xy_scale if self.xy_scale != 0 else 1
|
|
3400
3404
|
|
|
3401
3405
|
if filename is None:
|
|
3402
3406
|
filename = "overlay_2.tif"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nettracer3d
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Scripts for intializing and analyzing networks from segmentations of three dimensional images.
|
|
5
5
|
Author-email: Liam McLaughlin <liamm@wustl.edu>
|
|
6
6
|
Project-URL: Documentation, https://nettracer3d.readthedocs.io/en/latest/
|
|
@@ -110,9 +110,6 @@ McLaughlin, L., Zhang, B., Sharma, S. et al. Three dimensional multiscalar neuro
|
|
|
110
110
|
|
|
111
111
|
NetTracer3D was developed by Liam McLaughlin while working under Dr. Sanjay Jain at Washington University School of Medicine.
|
|
112
112
|
|
|
113
|
-
-- Version 1.0
|
|
113
|
+
-- Version 1.1.0 Updates --
|
|
114
114
|
|
|
115
|
-
*
|
|
116
|
-
* Added ability to load a full sized highlight overlay from the file menu (in case you need it for a picture - on big images the highlight overlay is computed by slice so if you reload the channel its trying to highlight, it will alter the highlight overlay, but loading in the entire highlight overlay directly will stop this behavior until a new highlight is generated).
|
|
117
|
-
* For the 'calculate edge < > node interaction' method - now can compute the length of nearby edges as an alternative option to just the volumes.
|
|
118
|
-
* Added ability to select all nodes/edges participating in the network.
|
|
115
|
+
* Bug Fix
|
|
@@ -5,7 +5,7 @@ nettracer3d/excelotron.py,sha256=aNof6k-DgMxVyFgsl3ltSCxG4vZW49cuvCBzfzhYhUY,750
|
|
|
5
5
|
nettracer3d/modularity.py,sha256=pborVcDBvICB2-g8lNoSVZbIReIBlfeBmjFbPYmtq7Y,22443
|
|
6
6
|
nettracer3d/morphology.py,sha256=yYMeV8DRZXJhFSm4bI3VYA562AG2dlp2sqqnnNazqtQ,23128
|
|
7
7
|
nettracer3d/neighborhoods.py,sha256=lh4_zuTwgTq-u8VHy72buBfZf58FEJo9sH3IIBuZr68,52735
|
|
8
|
-
nettracer3d/nettracer.py,sha256=
|
|
8
|
+
nettracer3d/nettracer.py,sha256=6_I-iuYQVztJYp9g0Imd9dC1tTdtcklj7xXh2dnoWtU,277948
|
|
9
9
|
nettracer3d/nettracer_gui.py,sha256=MZYaCuf5dX_Zv4H-A5CE-O60uc2z2_jmgwMMxvw680E,683698
|
|
10
10
|
nettracer3d/network_analysis.py,sha256=kBzsVaq4dZkMe0k-VGvQIUvM-tK0ZZ8bvb-wtsugZRQ,46150
|
|
11
11
|
nettracer3d/network_draw.py,sha256=F7fw6Pcf4qWOhdKwLmhwqWdschbDlHzwCVolQC9imeU,14117
|
|
@@ -18,9 +18,9 @@ nettracer3d/segmenter_GPU.py,sha256=FwzevixleTUoRmwVa8jPPzW82RZoC6nL2eEeZ4-2ZR8,
|
|
|
18
18
|
nettracer3d/simple_network.py,sha256=dkG4jpc4zzdeuoaQobgGfL3PNo6N8dGKQ5hEEubFIvA,9947
|
|
19
19
|
nettracer3d/smart_dilate.py,sha256=TvRUh6B4q4zIdCO1BWH-xgTdND5OUNmo99eyxG9oIAU,27145
|
|
20
20
|
nettracer3d/stats.py,sha256=0YwrVLeEvll3PlbL5-0_9dstldr48PvxJrQm-PiC8jY,36607
|
|
21
|
-
nettracer3d-1.0.
|
|
22
|
-
nettracer3d-1.0.
|
|
23
|
-
nettracer3d-1.0.
|
|
24
|
-
nettracer3d-1.0.
|
|
25
|
-
nettracer3d-1.0.
|
|
26
|
-
nettracer3d-1.0.
|
|
21
|
+
nettracer3d-1.1.0.dist-info/licenses/LICENSE,sha256=jnNT-yBeIAKAHpYthPvLeqCzJ6nSurgnKmloVnfsjCI,764
|
|
22
|
+
nettracer3d-1.1.0.dist-info/METADATA,sha256=kdCpkzukBA2Nd3scpTLwy8JlTPfhX_1K-Y9dYDekrMo,6984
|
|
23
|
+
nettracer3d-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
24
|
+
nettracer3d-1.1.0.dist-info/entry_points.txt,sha256=Nx1rr_0QhJXDBHAQg2vcqCzLMKBzSHfwy3xwGkueVyc,53
|
|
25
|
+
nettracer3d-1.1.0.dist-info/top_level.txt,sha256=zsYy9rZwirfCEOubolhee4TyzqBAL5gSUeFMzhFTX8c,12
|
|
26
|
+
nettracer3d-1.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|