openalea.archimedlightpy is a Python wrapper around the Julia package
ArchimedLight.jl, available here
(documentation here). It computes light
interception, based on the ARCHIMED model first written in JAVA. The package is designed
to be used in the context of plant architecture analysis.
Note
This package is based on the implementation of the
diffeqpypackage available here.
Although it relies on Julia, it is not mandatory to have Julia installed on your
machine. The package will download the Julia binaries for you if it can't find it.
mamba create -n archimedlight -c conda-forge python
mamba activate archimedlight
mamba install -c conda-forge xxx xxx (julia) # if you want to install a local version of julia in the environment
git clone https://github.com/openalea/archimedlightPy.git
cd ArchimedLightPy
pip install -eor directly
git clone https://github.com/openalea/archimedlightPy.git
cd ArchimedLightPy
mamba env create -f environment.yamlA minimal example:
from openalea.archimedlightpy import archimed
# archimed exposes the ArchimedLight.jl API, e.g.:
# sim, meteo = archimed.read_simulation("path/to/config.yml")
# step = archimed.run_light(sim, row)See the documentation for more examples.
This project is released under the CeCILL-C license.
Please read the Contributing guidelines and the Code of Conduct.
See the Changelog.
If you use this package in a scientific publication, please cite it using the information in the CITATION.cff file.