← Papers

Paper record

PhoTorch: a robust and generalized biochemical photosynthesis model fitting package based on PyTorch.

Tong Lei · Kyle T. Rizzo · Brian N. Bailey

Photosynthesis Research · 6 Mar 2025 · 10.1007/s11120-025-01136-7

Abstract

Advancements in artificial intelligence (AI) have greatly benefited plant phenotyping and predictive modeling. However, unrealized opportunities exist in leveraging AI advancements in model parameter optimization for parameter fitting in complex biophysical models. This work developed novel software, PhoTorch, for fitting parameters of the Farquhar, von Caemmerer, and Berry (FvCB) biochemical photosynthesis model based on the parameter optimization components of the popular AI framework PyTorch. The primary novelty of the software lies in its computational efficiency, robustness of parameter estimation, and flexibility in handling different types of response curves and sub-model functional forms. PhoTorch can fit both steady-state and non-steady-state gas exchange data with high efficiency and accuracy. Its flexibility allows for optional fitting of temperature and light response parameters, and can simultaneously fit light response curves and standard $$A/C_i$$ curves. These features are not available within presently available $$A/C_i$$ curve fitting packages. Results illustrated the robustness and efficiency of PhoTorch in fitting $$A/C_i$$ curves with high variability and some level of artifacts and noise. PhoTorch is more than four times faster than benchmark software, which may be relevant when processing many non-steady-state $$A/C_i$$ curves with hundreds of data points per curve. PhoTorch provides researchers from various fields with a reliable and efficient tool for analyzing photosynthetic data. The Python package is openly accessible from the repository: https://github.com/GEMINI-Breeding/photorch .

Code and data availability

The paper's Data availability statement explicitly provides the authors' PhoTorch analysis code (PyTorch-based FvCB fitting package) on GitHub, plus a portion of the cowpea gas exchange data, and links the scarlet oak gas exchange dataset on Ecosis. Both are paper-specific, public, and actionable.

Codepublic

faster than benchmark software, which may be relevant when processing many non-steady-state \(A/C_i\) curves with hundreds of data points per curve. PhoTorch provides researchers from various fields with a reliable and efficient tool for analyzing photosynthetic data. The Python package is openly accessible from the repository: https://github.com/GEMINI-Breeding/photorch. This is a preview of subscription content, log in via an institution to check access. Access this article Log in via an institution Subscribe and save Springer+ from ¥17,985 /Month Starting from 10 chapters or articles per month Access and download chapters and articles from more than 300k books and 2,500 journals Cancel an

Open resource ↗GEMINI-Breeding/photorch · html-lines:1-99
Datasetpublic

photosynthesis Model plants Photobiology Bioinformatics Plant Physiology Chlorophyll Fluorescence Applications in Plant Stress Physiology Data availability The PhoTorch package and a portion of Cowpea data are openly available at https://github.com/GEMINI-Breeding/photorch. The oak tree gas exchange data are openly available at https://ecosis.org/package/seasonal-measurements-of-photosynthesis-and-leaf-traits-in-scarlet-oak. References Barrera S, Berny Mier, Teran JC, Lobaton JD, Escobar R, Gepts P, Beebe S, Urrea CA (2022) Large genomic introgression blocks of Phaseolus parvifolius Freytag bean into the common bean enhance the crossability between tepary and common beans. Plant Direct 6:e47

Open resource ↗html-lines:1-99