-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compute tail and head radius ratio, which could be an important metri…
…c to identify spine
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using RealNeuralNetworks | ||
using RealNeuralNetworks.BranchNets | ||
using RealNeuralNetworks.BranchNets.Branches | ||
using Base.Test | ||
|
||
|
||
@testset "test Branches" begin | ||
# construct a branch | ||
branchNet = BranchNets.load_gzip_swc("../assert/76869.swc.gz") | ||
# get a random branch | ||
branch = branchNet[5] | ||
|
||
println("get tail head radius ratio ...") | ||
@time Branches.get_tail_head_radius_ratio( branch ) | ||
end |