Add visualize.height_distribution - #165
Open
k034b363 wants to merge 8 commits into
Open
Conversation
|
|
Overall Grade |
Security Reliability Complexity Hygiene Coverage |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| Python | Aug 13, 2026 8:07p.m. | Review ↗ | |
| Code coverage | Aug 13, 2026 8:08p.m. | Review ↗ |
Code Coverage Summary
| Language | Line Coverage (New Code) | Line Coverage (Overall) |
|---|---|---|
| Aggregate | 100% |
100% |
| Python | 100% |
100% |
➟ Additional coverage metrics may have been reported. See full coverage report ↗
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
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.
Describe your changes
Our percentile-based plot height analysis function requires choosing an upper and lower percentile threshold to subtract for a plot-level height estimate. It would be helpful to be able to see some distributions of pixel values in individual plots in the DEM to help choose sensible cutoffs. This PR adds a sub-module called
visualizeand a functionheight_distributionthat plots histograms for a random subset of plots in a provided shapefile.Type of update
Associated issues
Closes #147
For the reviewer
See this page for instructions on how to review the pull request.
plantcv-geospatial/mkdocs.ymlchangelog.md