Skip to content, Skip to search

Changes

SNT: Python Notebooks

No change in size, 19:40, 11 April 2019
Getting Started
a_tree = loader.getTree('axon', None) # compartment, color
d_stats s_stats = TreeStatistics(a_tree)
metric = TreeStatistics.INTER_NODE_DISTANCE
summary_stats = d_statss_stats.getSummaryStats(metric)d_statss_stats.getHistogram(metric).show()
print("The average inter-node distance is %d" % summary_stats.getMean())
</source>
807
edits