Skip to content

Commit 21ad17e

Browse files
author
Alex Smith
committed
Updated docstrings
1 parent 54bafb1 commit 21ad17e

2 files changed

Lines changed: 6 additions & 75 deletions

File tree

TrailMap_Skeletonize3D.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

trailMapSkeletonize3D.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ def skel(directory, crop=None, flip='y', convertTo16Bit=False, debug=False):
3333
Dictionary with ImageJ-format cropping coordinates ({width:, height:, x:, y:,})
3434
flip : string (optional, default 'y')
3535
Option to flip axis, can be any combination of 'xyz'.
36-
convertTo16Bit : bool
36+
convertTo16Bit : bool (optional, default False)
3737
Whether to convert the image to 16 bit before saving. Have not double checked that this gives the same results as converting in ImageJ yet though.
38-
debug : bool
38+
debug : bool (optional, default False)
3939
Run in debug mode, process only a small substack of data, 50 planes in the center of the stack.
40+
41+
Returns
42+
-------
43+
3D array of thresholded skeleton.
4044
"""
4145
sample = os.path.realpath(directory).split('/')[-2] #the number at the end of this line may change based on the file path of directory, for the current path -2 is correct (sample variable is ROC_9)"
4246
print("Started " + str(sample) + " at " + time.ctime())

0 commit comments

Comments
 (0)