Python Interface (#948)
A big update that wraps over 90% of the public C++ API, with enough functionality to let Python users to perform useful modelling. Key features - wrapping of cable cell functionality - user-defined explicit compartmentalisation not supported - `single_cell_model` abstraction unique to the Python wrapper that simplifies developing and testing single cell models - one-dimensional cell builder for Python wrapper that simplfies building cells that - in and of itself limited in scope, but a very useful example of mapping a richer morphology builder onto `sample_tree`s. - parsing of region and location expressions from strings - implements a generic s-expression parser that we can use for other purposes later
Showing
- .travis.yml 14 additions, 39 deletions.travis.yml
- .ycm_extra_conf.py 5 additions, 21 deletions.ycm_extra_conf.py
- CMakeLists.txt 1 addition, 2 deletionsCMakeLists.txt
- cmake/CompilerOptions.cmake 0 additions, 49 deletionscmake/CompilerOptions.cmake
- doc/index.rst 2 additions, 0 deletionsdoc/index.rst
- doc/python.rst 48 additions, 0 deletionsdoc/python.rst
- doc/single_cell.rst 90 additions, 0 deletionsdoc/single_cell.rst
- example/ring/ring.cpp 1 addition, 1 deletionexample/ring/ring.cpp
- python/CMakeLists.txt 20 additions, 3 deletionspython/CMakeLists.txt
- python/cells.cpp 417 additions, 134 deletionspython/cells.cpp
- python/conversion.hpp 23 additions, 1 deletionpython/conversion.hpp
- python/error.hpp 70 additions, 0 deletionspython/error.hpp
- python/example/ring.py 70 additions, 25 deletionspython/example/ring.py
- python/example/single_cell_builder.py 103 additions, 0 deletionspython/example/single_cell_builder.py
- python/example/single_cell_swc.py 78 additions, 0 deletionspython/example/single_cell_swc.py
- python/flat_cell_builder.cpp 268 additions, 0 deletionspython/flat_cell_builder.cpp
- python/morph_parse.cpp 349 additions, 0 deletionspython/morph_parse.cpp
- python/morph_parse.hpp 20 additions, 0 deletionspython/morph_parse.hpp
- python/morphology.cpp 185 additions, 5 deletionspython/morphology.cpp
- python/pyarb.cpp 6 additions, 2 deletionspython/pyarb.cpp
Please register or sign in to comment