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
CanopyOpticsCanopy 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.
Subsystem Map
| Physical Domain | API Reference Page | Guides & Evaluations |
|---|---|---|
| Leaf optical tables, PROSPECT / Multi-Pigment / Leaf-SIP / dorsiventral budgets, smooth & microfacet dielectric surfaces, wax dispersion, and coupled $4\times 4$ polarized leaf BSDF | Leaf Optics & BSDF | PROSPECT 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 spectra | Excitation & Leaf Fluorescence | Pigment 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 shares | Spectral Band Aggregation | Spectral band aggregation |
| Spherical directions, leaf angle distributions, Ross $G$ functions, clumping, hotspot, wood/tree components, Fourier $Z$-matrices, and conservative angular normalization | Canopy Structure & Scattering | Angular normalization |
FourSAIL canopy radiative transfer, microwave dielectric permittivity $\varepsilon(T, f)$, and deprecated aliases | FourSAIL & Microwave Dielectrics | Tutorials in sidebar |
Conventions
- Exported vs.
publicbindings: Symbols shown unqualified (prospect_budget,compute_Z_matrices) are exported byusing CanopyOptics. Lower-level optical and geometric primitives declaredpublicon Julia 1.11+ (CanopyOptics.calctav,CanopyOptics.Fᵣ,CanopyOptics.H,CanopyOptics.gauleg, etc.) are part of the supported API when qualified withCanopyOptics.or explicitly imported. - Precision & automatic differentiation: Leaf budgets, surface optics, and canopy scattering kernels preserve caller floating-point precision (
Float32,Float64) and propagateForwardDiff.Dualtangents with respect to optical and trait parameters.
Section Contents
- Leaf Optics, Surfaces & Coupled BSDF
- Excitation & Leaf Fluorescence
- Spectral Band Aggregation
- Canopy Structure & Scattering
- FourSAIL & Microwave Dielectrics
Alphabetical Symbol Index
CanopyOpticsCanopyOptics.AbstractLeafSurfaceCanopyOptics.AsymmetricSurfaceLeafPropertiesCanopyOptics.ConeSurfaceCanopyOptics.CoupledLeafBSDFCanopyOptics.DorsiventralLeafPropertiesCanopyOptics.LeafMultiPigmentPropertiesCanopyOptics.LeafOpticalPropertiesCanopyOptics.LeafProspectProPropertiesCanopyOptics.LeafSIPPropertiesCanopyOptics.MultiPigmentOpticalPropertiesCanopyOptics.PreparedLeafBSDFSpectrumCanopyOptics.RoughDielectricSurfaceCanopyOptics.FᵣCanopyOptics.KCanopyOptics.beckmann_DCanopyOptics.calctavCanopyOptics.calctav_smoothCanopyOptics.constituent_optical_depthsCanopyOptics.dorsiventral_budgetCanopyOptics.dorsiventral_from_traitsCanopyOptics.fresnel_componentsCanopyOptics.leaf_bsdf_spectrumCanopyOptics.leaf_directional_budgetCanopyOptics.leaf_sip_budgetCanopyOptics.load_wax_refractive_indexCanopyOptics.microfacet_directional_reflectanceCanopyOptics.microfacet_hemispherical_reflectanceCanopyOptics.prepare_leaf_bsdfCanopyOptics.prospectCanopyOptics.prospect_budgetCanopyOptics.prospect_constituent_coefficientsCanopyOptics.prospect_primalCanopyOptics.single_slab_dorsiventral_budgetCanopyOptics.smith_beckmann_G1CanopyOptics.surface_brdf_muellerCanopyOptics.surface_interface_opticsCanopyOptics.AbsorptionIncompatibleInputCanopyOptics.AbsorptionInvalidInputCanopyOptics.AbsorptionNoMaterialCanopyOptics.AbsorptionPartitionValidCanopyOptics.AbsorptionPartitionResultCanopyOptics.AbsorptionPartitionStatusCanopyOptics.AbstractAbsorptionPartitionCanopyOptics.AbstractAntennaSelectionCanopyOptics.AbstractEmissionSupportCanopyOptics.AbstractLeafBirthProfileCanopyOptics.CarotenoidAntennaCanopyOptics.ChlorophyllOnlyCanopyOptics.DorsiventralBirthProfileCanopyOptics.DorsiventralPlateEscapeCanopyOptics.ExponentialBirthProfileCanopyOptics.HomogeneousAbsorptionCanopyOptics.MultiChlorophyllAntennaCanopyOptics.PiecewiseUniformBirthProfileCanopyOptics.RegularPlateEscapeCanopyOptics.StrictStokesCanopyOptics.TabulatedPhotonSpectrumCanopyOptics.UniformBirthProfileCanopyOptics.absorption_validCanopyOptics.allocate_excitationCanopyOptics.antenna_excitationCanopyOptics.band_signalCanopyOptics.birth_layer_fractionsCanopyOptics.diffuse_plate_opticsCanopyOptics.dorsiventral_plate_opticsCanopyOptics.emission_allowedCanopyOptics.emission_closure_residualCanopyOptics.emission_operatorsCanopyOptics.emission_probabilitiesCanopyOptics.leaf_emission_fatesCanopyOptics.partition_absorptionCanopyOptics.photosystem_excitationCanopyOptics.select_absorbed_photonsCanopyOptics.AbstractSpectralWeightCanopyOptics.CompositeLeafCanopyOptics.ConstantLeafCanopyOptics.FlatWeightCanopyOptics.PlanckWeightCanopyOptics.SpectralCoverageErrorCanopyOptics.TabulatedLeafCanopyOptics.TabulatedWeightCanopyOptics.ReferenceSolarCanopyOptics.band_averageCanopyOptics.band_average!CanopyOptics.band_weightCanopyOptics.band_weight!CanopyOptics.leaf_pigment_sharesCanopyOptics.leaf_spectrumCanopyOptics.spectral_domainCanopyOptics.subband_weightsCanopyOptics.subband_weights!CanopyOptics.wavelength_to_wavenumberCanopyOptics.wavenumber_to_wavelengthCanopyOptics.weight_interval_integralCanopyOptics.AbstractAngularNormalizationCanopyOptics.AbstractCanopyScatteringTypeCanopyOptics.AbstractClumpingCanopyOptics.AbstractHotSpotCanopyOptics.AbstractLUTWoodReflectanceCanopyOptics.AbstractLeafDistributionCanopyOptics.AbstractWoodReflectanceCanopyOptics.BiLambertianCanopyScatteringCanopyOptics.CanopyComponentCanopyOptics.CanopyQuadratureCanopyOptics.ChenLeblancClumpingCanopyOptics.CompositeCanopyScatteringCanopyOptics.ConstantClumpingCanopyOptics.ConstantWoodReflectanceCanopyOptics.ContinuousAngularNormalizationCanopyOptics.DirectionCosineCanopyOptics.DiscreteAngularNormalizationCanopyOptics.DorsiventralBiLambertianCanopyScatteringCanopyOptics.EmpiricalDirectionalClumpingCanopyOptics.KuuskHotSpotCanopyOptics.LUTWoodReflectanceCanopyOptics.LambertianWoodCanopyOptics.LambertianWoodCanopyScatteringCanopyOptics.LeafDistributionCanopyOptics.MixedCanopyCanopyOptics.NoClumpingCanopyOptics.NoHotSpotCanopyOptics.PolynomialWoodReflectanceCanopyOptics.SpecularCanopyScatteringCanopyOptics.ACanopyOptics.AsmCanopyOptics.BranchComponentCanopyOptics.GCanopyOptics.G2CanopyOptics.HCanopyOptics.LeafComponentCanopyOptics.StemComponentCanopyOptics.TreeCanopyCanopyOptics.beta_leavesCanopyOptics.bfGCanopyOptics.bulk_GCanopyOptics.canopy_extinctionCanopyOptics.clumping_indexCanopyOptics.component_GCanopyOptics.compute_Z_matricesCanopyOptics.compute_Z_matrices_anisoCanopyOptics.compute_Z_matrices_aniso_analyticCanopyOptics.compute_Z_matrices_coupled_bsdfCanopyOptics.compute_Z_matrices_directionalCanopyOptics.compute_lambertian_ΓCanopyOptics.compute_reflectionCanopyOptics.compute_reflection_muellerCanopyOptics.compute_ΓCanopyOptics.compute_Γ_directionalCanopyOptics.compute_Γ_isotropicCanopyOptics.compute_ΨCanopyOptics.direction_from_anglesCanopyOptics.dot_productCanopyOptics.effective_GCanopyOptics.erectophile_leavesCanopyOptics.flat_leavesCanopyOptics.gaulegCanopyOptics.getSpecularΩCanopyOptics.hotspot_correctionCanopyOptics.hotspot_separationCanopyOptics.joint_gap_probabilityCanopyOptics.leaf_angular_scaleCanopyOptics.leaf_projection_momentsCanopyOptics.plagiophile_leavesCanopyOptics.planophile_leavesCanopyOptics.planophile_leaves2CanopyOptics.spherical_leavesCanopyOptics.uniform_leavesCanopyOptics.wood_reflectanceCanopyOptics.βparametersCanopyOptics.AbstractMaterialCanopyOptics.AbstractSoilCanopyOptics.AbstractVegetationCanopyOptics.AbstractWaterCanopyOptics.FourSAILGeometryCanopyOptics.FourSAILGeometrySetCanopyOptics.FourSAILResultCanopyOptics.LeafUlabyElRayes1987CanopyOptics.LiquidPureWaterCanopyOptics.LiquidSaltWaterCanopyOptics.PureIceCanopyOptics.SoilMWCanopyOptics.dirVector_μCanopyOptics.createLeafOpticalStructCanopyOptics.createMultiPigmentOpticalStructCanopyOptics.dielectricCanopyOptics.dirVectorCanopyOptics.foursailCanopyOptics.foursail!