This Python package is a wrapper around the Julia package ArchimedLight.jl available here (documentation here) which is a package for computing 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 still in development and should be used with caution. It is meant to be a proof of concept !
Note
This package is based on the implementation of the
diffeqpypackage available here
Install Pixi, then clone the ArchimedLightPy repo: git clone https://github.com/openalea-incubator/ArchimedLightPy.git and simply run:
pixi run load # will simply try to load the package
pixi run test # will run a minmal test : https://vezy.github.io/ArchimedLight.jl/stable/getting_started/#Minimal-RunBuild yourself a dedicated conda environment. 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.
conda create -n ArchimedLightPy python=3.12
conda activate ArchimedLightPy
conda add -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-incubator/ArchimedLightPy.git
cd ArchimedLightPy
pip install -e .Then you're ready to go ! (First time you run the package, it will download the Julia binaries and dependancies, and pre-compile the packages, so it might take a while)