Skip to content
/ lpy Public

An open source python version of the Lindenmayer Systems.

License

Notifications You must be signed in to change notification settings

openalea/lpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9433221 · Jan 28, 2024
Jan 26, 2024
Feb 12, 2020
Jan 24, 2024
Nov 5, 2014
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022
Jan 24, 2024
Feb 23, 2023
Oct 28, 2022
Oct 28, 2022
Oct 25, 2022
Dec 20, 2017
Jun 18, 2009
Jan 24, 2024
Feb 18, 2010
Jul 24, 2008
Feb 8, 2010
Mar 24, 2009
Mar 31, 2022
Jan 26, 2024
Nov 3, 2022
Aug 28, 2020
Oct 10, 2019
Oct 28, 2022
Mar 12, 2012
Aug 18, 2021
Oct 28, 2022
Mar 21, 2018
Oct 28, 2022
Feb 4, 2018
Jul 24, 2008
Sep 1, 2015
Jan 26, 2024
Aug 18, 2021
Jan 31, 2018
Aug 18, 2021

Repository files navigation

Github Actions Continuous Integration Status AppVeyor Continuous Integration Status Documentation Status

L-Py

L-systems were conceived as a mathematical framework for modeling growth of plants. L-Py is a simulation software that mixes L-systems construction with the Python high-level modeling language.

In addition to this software module, an integrated visual development environment has been developed that facilitates the creation of plant models. In particular, easy to use optimization tools have been integrated. Thanks to Python and its modular approach, this framework makes it possible to integrate a variety of tools defined in different modeling context, in particular tools from the OpenAlea platform. Additionally, it can be integrated as a simple growth simulation module into more complex computational pipelines.

L-Py is released under a CeCILL license, which is compatible to the GNU GPL.

doc/_images/screenshot2-3d.png

Gallery

doc/_images/gallery/gallery.png

Examples of models created with L-Py. Images credits: C. Godin, J. Chopard, F. Boudon. Models credits: C. Godin, F. Boudon, F. Normand, I. Grechi, E. Costes, M. Beziz, Y. Caraglio et al.

Installation

L-Py distribution is based on the conda software environment management system. To install conda, you may refer to its installation page: https://docs.conda.io/projects/conda/en/latest/user-guide/install/

To install L-Py, you need to create an environment (named for instance lpy) :

>>> conda create -n lpy openalea.lpy -c fredboudon -c conda-forge

The package openalea.lpy is retrieved from the fredboudon channel (developement) and its dependencies will be taken from conda-forge channel.

Then, you need to activate the L-Py environment

>>> conda activate lpy

And then run L-Py

>>> lpy

Documentation

Documentation is available at http://lpy.readthedocs.io/en/latest/

A previous version of the documentation was also available on OpenAlea website

Help and Support

Please open an Issue if you need support or you run into any error (Installation, Runtime, etc.). We'll try to resolve it as soon as possible.

Authors

L-Py was mainly developped by Frédéric Boudon with different contributions from Christophe Godin, Christophe Pradal et al.

Citation

If you find our work useful in your research, please consider citing:

    1. Boudon, T. Cokelaer, C. Pradal, P. Prusinkiewicz and C. Godin, L-Py: an L-system simulation framework for modeling plant architecture development based on a dynamic language, Frontiers in Plant Science, 30 May 2012.