docs(foursail): add hotspot and polar BRDF tutorials#62
Merged
Conversation
foursail_hotspot.jl walks through the principal-plane BRF at 685 and 800 nm with PROSPECT-PRO leaves, contrasting rsot with and without the Kuusk hotspot and overlaying the embedded rsost branch. foursail_brdf.jl uses FourSAILGeometrySet to evaluate the full (VZA, VAZ) half-sphere in one batched call and visualizes the angular NDVI effect against nadir, including the hotspot in 4SAIL's raa = 0 convention. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds two new 4SAIL-focused documentation tutorials that demonstrate (1) principal-plane hotspot behavior and (2) full polar BRDF evaluation/NDVI angular sensitivity, and wires them into the docs build so they appear under Tutorials.
Changes:
- Add a principal-plane hotspot diagnostic tutorial using
FourSAILGeometrySetand PROSPECT-PRO leaf optics. - Add a polar BRDF / angular-NDVI tutorial evaluating a full
(VZA, VAZ)grid in a single batched 4SAIL call. - Update
docs/make.jlto generate and include the two new tutorial pages.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docs/src/pages/tutorials/foursail_hotspot.jl | New Literate tutorial demonstrating hotspot impact in the solar principal plane and decomposed branches (rsot, rsost). |
| docs/src/pages/tutorials/foursail_brdf.jl | New Literate tutorial computing half-sphere BRDF and visualizing NDVI angular variation in polar coordinates. |
| docs/make.jl | Adds the new tutorials to the Literate conversion list and Tutorials navigation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+60
to
+63
| opti = CanopyOptics.createLeafOpticalStruct(400.0:1.0:2500.0) | ||
| T_grid, R_grid = CanopyOptics.prospect(leaf, opti) | ||
| λ_grid = [Float64(v.val) for v in opti.λ] | ||
| grid_idx = [argmin(abs.(λ_grid .- λ)) for λ in lambda_nm] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
foursail_hotspot.jl walks through the principal-plane BRF at 685 and 800 nm with PROSPECT-PRO leaves, contrasting rsot with and without the Kuusk hotspot and overlaying the embedded rsost branch.
foursail_brdf.jl uses FourSAILGeometrySet to evaluate the full (VZA, VAZ) half-sphere in one batched call and visualizes the angular NDVI effect against nadir, including the hotspot in 4SAIL's raa = 0 convention.