Skip to content

About

Wrapper around the `Julia` package `ArchimedLight.jl`

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

openalea.archimedlightpy

Description

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 diffeqpy package available here.

Installation

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 -e

or directly

git clone https://github.com/openalea/archimedlightPy.git 
cd ArchimedLightPy
mamba env create -f environment.yaml

Usage

A 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.

Documentation

License

This project is released under the CeCILL-C license.

Contributing

Please read the Contributing guidelines and the Code of Conduct.

Changelog

See the Changelog.

Citation

If you use this package in a scientific publication, please cite it using the information in the CITATION.cff file.

About

Wrapper around the `Julia` package `ArchimedLight.jl`

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages