Skip to content

Releases: wachtlerlab/btmorph_v2

2.2.1

17 Sep 12:20
Compare
Choose a tag to compare

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.

2.0.3

17 Sep 11:53
Compare
Choose a tag to compare

This release contains minor changes from v2 that was made public at btorboist/btmorph_v2.

  1. Some minor bug fixes including some for python3 compatibility
  2. New globals functions: max_EucDistance_from_root, max_pathLength_from_root, max_centrifugal_order, max_bif_angle, avg_bif_angle, avg_partition_asymmetry, avg_diameter, avg_Burke_taper, avg_tortuosity
  3. New local functions: Burke_taper, tortuosity