Skip to content

Commit 3d4ecbb

Browse files
committed
better docstring
1 parent 90bef58 commit 3d4ecbb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/l2label/compartments.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,14 @@ def predict_axon_mask(
615615
as the root node in the dendrite mask, by default True.
616616
threshold : float, optional
617617
The threshold for the smoothed label spreading to determine axon vertices, by default 0.
618+
threshold : float, optional
619+
The threshold for the smoothed label spreading to determine axon vertices, by default 0.
620+
root_is_soma : bool, optional
621+
If True, the root node is considered to be the soma and thus counts as non-axon, by default False
622+
is_axon_seg : np.ndarray, optional
623+
Precomputed segment-level axon probability ratio, by default None
624+
evaluate_isolated_dendrites : bool, optional
625+
If True, isolated dendrite components are flipped if they improve the segregation index and are net-positive in the log-odds along the path to root, by default False
618626
619627
Returns
620628
-------

0 commit comments

Comments
 (0)