Comparison with L-Measure
Btmorph is compared to the “golden standard” L-Measure through the publicly available data at NeuroMorpo.org.
In most cases the results obtained with the btmorph library are similar; there are some slight differences that reflect slight implementation details and some measures are interpreted differently; implementation details of L-Measure can be found (here) and the meaning of the morphometrics displayed on NeuroMorpho.org are explained here.
We explain the similarities and differences by means of an exemplar analysis performed on one
morphology: v_e_moto1 (from here).
|Max Path Distance
|Max Branch Order
eds = 
pls = 
for node in stats._end_points:
pas = 
for node in stats._bif_points:
Unit-testing refers to testing of elementary pieces of code in a computer program (Wikipedia). Testing is done using the Python testing framework, called nose tests. In these tests, we compare the outcome of our library to similar outcomes generated by L-Measure that are accessible through the NeuroMorpho.org website. Note that there are some differences in design and definition of the features as listed Comparison with L-Measure.
Unit-tests of this library are provided in the tests directory and can be run by
nosetests -v tests/stats_test.py
nosetests -v --nocapture tests/structs_test.py
Run the unit-tests after change to the code to ensure a) backward compatibility and b) correctness of the results.