API reference
LeafPhotosynthesis.LeafPhotosynthesis Module
LeafPhotosynthesisProvide composable, zero-dependency scalar models for C3 leaf photosynthesis (Farquhar–von Caemmerer–Berry and Johnson & Berry 2021 Cytochrome b₆f + PSI/PSII coupling), analytical and equilibrium stomatal CO₂/H₂O gas exchange, oxygen budgets, LHCII state transitions (qT), and steady-state chlorophyll and PAM fluorescence across Float32, Float64, GPU kernels, and automatic differentiation.
The reference is grouped by biophysical process and covers every exported and every public name. Exported names are available after using LeafPhotosynthesis. Public names that are not exported (component helpers, evaluated rate bundles, status values and abstract types) are called as LeafPhotosynthesis.name or imported with using LeafPhotosynthesis: name.
Conventions
Units: leaf temperature in
K; gas partial pressures and Michaelis–Menten constants (co2,oxygen,kc,ko,gamma_star) inPa; photon, electron, carbon and oxygen area fluxes inμmol m⁻² leaf s⁻¹; molar conductances (g_sw,g_sc,g_bw,g_bc) and transpiration inmol m⁻² leaf s⁻¹.No hidden constants: every physical, stoichiometric and reference parameter is passed explicitly by the caller (see
examples/parameters/*.toml).Types and devices: parameter and environment structs are parametric on the scalar type
FT, allocate no heap memory per leaf evaluation, propagateForwardDiff.Dualtangents and broadcast as scalars over CPU and CUDA arrays.
Index
LeafPhotosynthesis.AbstractLeafScalarLeafPhotosynthesis.GasExchangeEnvironmentLeafPhotosynthesis.LeafEnvironmentLeafPhotosynthesis.LeafModelLeafPhotosynthesis.is_validLeafPhotosynthesis.photosynthesizeLeafPhotosynthesis.AbstractCompensationPointLeafPhotosynthesis.AbstractTemperatureResponseLeafPhotosynthesis.ArrheniusLeafPhotosynthesis.C3RatesLeafPhotosynthesis.C3TemperatureResponseLeafPhotosynthesis.ConstantResponseLeafPhotosynthesis.CytochromeCapacityLeafPhotosynthesis.CytochromeRatesLeafPhotosynthesis.CytochromeTemperatureResponseLeafPhotosynthesis.OxygenScaledCompensationPointLeafPhotosynthesis.PeakedArrheniusLeafPhotosynthesis.PrescribedCompensationPointLeafPhotosynthesis.biochemical_ratesLeafPhotosynthesis.compensation_pointLeafPhotosynthesis.temperature_responseLeafPhotosynthesis.AbstractExcitationLeafPhotosynthesis.BroadbandExcitationLeafPhotosynthesis.C3StoichiometryLeafPhotosynthesis.CytochromeElectronParametersLeafPhotosynthesis.CytochromeStoichiometryLeafPhotosynthesis.ElectronTransportParametersLeafPhotosynthesis.PrescribedDualExcitationLeafPhotosynthesis.PrescribedPSIIExcitationLeafPhotosynthesis.cytochrome_carbon_coefficientsLeafPhotosynthesis.cytochrome_cyclic_coefficientsLeafPhotosynthesis.cytochrome_electron_supplyLeafPhotosynthesis.electron_transportLeafPhotosynthesis.psi_excitationLeafPhotosynthesis.psi_to_psii_electron_ratioLeafPhotosynthesis.psii_excitationLeafPhotosynthesis.valid_excitationLeafPhotosynthesis.AbstractAssimilationSignLeafPhotosynthesis.AbstractC3PhotosynthesisLeafPhotosynthesis.AbstractColimitationLeafPhotosynthesis.AbstractPhotosynthesisLeafPhotosynthesis.C3PhotosynthesisLeafPhotosynthesis.CytochromePhotosynthesisLeafPhotosynthesis.MinimumLimitationLeafPhotosynthesis.NonnegativeAssimilationLeafPhotosynthesis.QuadraticLimitationLeafPhotosynthesis.SerialLimitationLeafPhotosynthesis.SignedAssimilationLeafPhotosynthesis.biochemical_turnoverLeafPhotosynthesis.carbon_assimilationLeafPhotosynthesis.colimitLeafPhotosynthesis.FluorescenceDarkLeafPhotosynthesis.FluorescenceIncompatibleRatesLeafPhotosynthesis.FluorescenceInvalidInputLeafPhotosynthesis.FluorescenceLitLeafPhotosynthesis.AbstractFluorescenceLeafPhotosynthesis.AbstractQuenchingLeafPhotosynthesis.ConstantQuenchingLeafPhotosynthesis.CoupledPhotosystemInputsLeafPhotosynthesis.CytochromeFluorescenceLeafPhotosynthesis.CytochromeFluorescenceResultLeafPhotosynthesis.FluorescenceStatusLeafPhotosynthesis.LakeModelFluorescenceLeafPhotosynthesis.LakeModelResultLeafPhotosynthesis.NoFluorescenceLeafPhotosynthesis.ObservedFluorescenceInputsLeafPhotosynthesis.PAMFluorescenceObserverLeafPhotosynthesis.PAMFluorescenceResultLeafPhotosynthesis.PSIIFluxInputsLeafPhotosynthesis.PSIIOpenFractionInputsLeafPhotosynthesis.PSIIRateParametersLeafPhotosynthesis.PSIRateParametersLeafPhotosynthesis.RateCompetitionFluorescenceLeafPhotosynthesis.RateCompetitionResultLeafPhotosynthesis.SaturationQuenchingLeafPhotosynthesis.StateTransitionRuleLeafPhotosynthesis.dark_balanced_psii_partitionLeafPhotosynthesis.dark_pam_levelsLeafPhotosynthesis.detector_levelLeafPhotosynthesis.electron_flow_from_fluorescenceLeafPhotosynthesis.fluorescenceLeafPhotosynthesis.fluorescence_inputsLeafPhotosynthesis.fluorescence_low_light_yieldLeafPhotosynthesis.lake_model_yieldsLeafPhotosynthesis.maximum_photochemical_yieldLeafPhotosynthesis.minimum_psii_partitionLeafPhotosynthesis.pam_fluorescenceLeafPhotosynthesis.psi_maximum_photochemical_yieldLeafPhotosynthesis.psii_maximum_photochemical_yieldLeafPhotosynthesis.quenching_rateLeafPhotosynthesis.state_transition_excitationLeafPhotosynthesis.state_transition_partitionLeafPhotosynthesis.validate_fluorescence_couplingLeafPhotosynthesis.EquilibriumConvergedLeafPhotosynthesis.EquilibriumInvalidBracketLeafPhotosynthesis.EquilibriumInvalidInputLeafPhotosynthesis.EquilibriumIterationLimitLeafPhotosynthesis.EquilibriumPrecisionLimitLeafPhotosynthesis.EquilibriumStomataClosedLeafPhotosynthesis.AbstractEquilibriumMethodLeafPhotosynthesis.AbstractLeafDiffusionLeafPhotosynthesis.AbstractOxygenExchangeLeafPhotosynthesis.AbstractStomatalModelLeafPhotosynthesis.AbstractStomatalTargetLeafPhotosynthesis.BallBerryLeafPhotosynthesis.BisectionLeafPhotosynthesis.CoreOxygenExchangeLeafPhotosynthesis.EquilibriumSolutionLeafPhotosynthesis.EquilibriumSolverLeafPhotosynthesis.EquilibriumStatusLeafPhotosynthesis.MedlynLeafPhotosynthesis.NoOxygenExchangeLeafPhotosynthesis.NoStomatalDynamicsLeafPhotosynthesis.OxygenFluxInputsLeafPhotosynthesis.PrognosticStomataLeafPhotosynthesis.SafeguardedNewtonLeafPhotosynthesis.SeriesDiffusionLeafPhotosynthesis.SteadyStateStomataLeafPhotosynthesis.StomatalDriversLeafPhotosynthesis.StomatalStateLeafPhotosynthesis.WaterVaporDiffusionLeafPhotosynthesis.assimilation_sensitivityLeafPhotosynthesis.carbon_assimilation_derivativeLeafPhotosynthesis.equilibrium_gas_exchangeLeafPhotosynthesis.gas_exchangeLeafPhotosynthesis.leaf_tendenciesLeafPhotosynthesis.oxygen_exchangeLeafPhotosynthesis.stomatal_tendencyLeafPhotosynthesis.target_conductanceLeafPhotosynthesis.transpiration_sensitivity