Skip to content

2.2.1

Latest
Compare
Choose a tag to compare
@ajkswamy ajkswamy released this 17 Sep 12:20
· 3 commits to master since this release

This release has a few changes in the basic functionality of btmorph as well as some new features:

  1. The core function that parses SWC files has been changed to use networkx. It now checks if SWC files satisfy the following criteria:
    • Contains atleast one root, and possibly more than one.
    • The first row need not be a root.
    • The parent of a row need not preceeded it.
    • IDs of two consecutive rows need not be consecutive.
    • Must not contain cycles.
    • Must not contain exactly identical rows.
  2. class PopulationMorphology can be initialized with an SWC with possibly multiple trees. Each tree will be stored as a NeuronMorphology object with the PopulationMorphology object. A PopulationMorphology object with possibly multiple NeuronMorphology objects can be written into a single SWC file.
  3. SWC files with root of a type other than '1' can be parsed by NeuronMorphology and PopulationMorphology classed by setting the swich "ignore_type" to True.
  4. SWC files with a single point some can be parsed by NeuronMorphology and PopulationMorphology by setting the switch "correctIfSomeAbsent" to True.
  5. Depth first and Breadth first iterators have been added to NeuronMorphology class.
  6. Functions have been added to NeuronMorphology and PopulationMorphology that applies affine transformations to trees contained in their corresponding objects.
  7. Added functions to calculate intersections vs distance and length vs distance to NeuronMorphology.
  8. Added convenience functions to calculate all global measures in one shot to NeuronMorphology.
  9. Improvements to Python 2/3 compatibility.