API Reference

This section documents all exported and public types, constants, and functions in CanopyOptics, grouped by physical domain rather than alphabetical order.

CanopyOptics — Module
CanopyOptics

Canopy radiative-transfer utilities.

Canopy scattering matrices use Z[i_out, j_in]: rows are outgoing streams and columns are incoming streams; Z⁺⁺ is same-sign transmission and Z⁻⁺ is sign-change reflection. Bi-Lambertian kernels follow vSmartMOM's atmospheric phase-matrix convention: the scalar single-scattering albedo is not folded into Z, so conservative bi-Lambertian leaves satisfy

\[\sum_i w_i\,(Z^{++}_{ij} + Z^{-+}_{ij}) \simeq 2 .\]

Specular kernels carry their Fresnel/roughness strength in the returned contribution. Layer solvers that multiply by a separate ϖ need a matching effective albedo when using specular components.

source

Subsystem Map

Physical DomainAPI Reference PageGuides & Evaluations
Leaf optical tables, PROSPECT / Multi-Pigment / Leaf-SIP / dorsiventral budgets, smooth & microfacet dielectric surfaces, wax dispersion, and coupled $4\times 4$ polarized leaf BSDFLeaf Optics & BSDFPROSPECT budgets, Leaf surfaces and BSDF, Dorsiventral and multi-pigment, Model evaluations
Constituent absorption partitioning, antenna selection, PSII/PSI excitation, 1-zone & 2-zone internal photon escape, and conditional emission spectraExcitation & Leaf FluorescencePigment excitation, Internal leaf emission, Emission spectra
Exact-overlap wavenumber band averaging, Planck/solar/tabulated weights, nm ↔ cm⁻¹ Jacobian conversion, composable leaf spectra, and PROSPECT pigment sharesSpectral Band AggregationSpectral band aggregation
Spherical directions, leaf angle distributions, Ross $G$ functions, clumping, hotspot, wood/tree components, Fourier $Z$-matrices, and conservative angular normalizationCanopy Structure & ScatteringAngular normalization
FourSAIL canopy radiative transfer, microwave dielectric permittivity $\varepsilon(T, f)$, and deprecated aliasesFourSAIL & Microwave DielectricsTutorials in sidebar

Conventions

  • Exported vs. public bindings: Symbols shown unqualified (prospect_budget, compute_Z_matrices) are exported by using CanopyOptics. Lower-level optical and geometric primitives declared public on Julia 1.11+ (CanopyOptics.calctav, CanopyOptics.Fᵣ, CanopyOptics.H, CanopyOptics.gauleg, etc.) are part of the supported API when qualified with CanopyOptics. or explicitly imported.
  • Precision & automatic differentiation: Leaf budgets, surface optics, and canopy scattering kernels preserve caller floating-point precision (Float32, Float64) and propagate ForwardDiff.Dual tangents with respect to optical and trait parameters.

Section Contents

Alphabetical Symbol Index