Skip to content
Snippets Groups Projects
  • Sam Yates's avatar
    Morphology generation with L-systems (#162) · 7f9288fb
    Sam Yates authored
    Adds a stand-alone program for the generation of random morphologies form a L-system description. The algorithm is that of Burke (1992), with some of the extensions provided by Ascoli et al. (2001).
    
    Two sets of L-system parameters have been included, corresponding to alpha motoneurons and Purkinje cells, but there is certainly something wrong with the data for the latter, and more correct numbers will probably need to be synthesized from existing Purkinje cell morphological information.
    
    Documentation for `lmorpho` is incomplete, but the command line help (`--help`) goes some way to explain the usage. In order to get output, one must specify `--swc` or `--pvec` (or both) to emit SWC files or the structural parent vectors. Coarser discretization can be obtained with the `--segment` option.
    
    Some minor modifications have been included in other parts of the source repo:
    * Added copy constructor for `TextBuffer` in `modcc/textbuffer.hpp`, required to keep cl...
    7f9288fb