Releases: iosefa/PyForestScan
Releases · iosefa/PyForestScan
v0.4.0 - Rumple Index
What's Changed
This release adds canopy rumple index support to PyForestScan.
Added
- Added
calculate_rumple()for computing canopy rumple index from a CHM. - Rumple is calculated as canopy surface area divided by planar ground area.
- Supports optional
min_heightmasking to exclude low vegetation before calculating canopy surface complexity. - Added rumple documentation under forest structure metrics.
- Added rumple to the public package API.
- Added tests covering flat surfaces, sloped surfaces, rough surfaces, invalid inputs,
min_heightmasking, and no-valid-surface cases.
Notes
Rumple returns a single scalar value for a CHM, not a raster. A flat canopy has a rumple value near 1.0; increasingly complex canopy surfaces have values greater than 1.0.
Verification
pytest tests/test_calculate.py -k rumple: 6 passedpytest tests/test_calculate.py: 54 passed
v0.3.8
v0.3.7
v0.3.6
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
What's Changed
- Update Python version to 3.11 or above and upgrade dependencies in requirements.txt by @iosefa in #34
- Enhance CHM interpolation with optional valid region and edge cleaning by @maawoo in #30
- Add option to save figures by @maawoo in #32
- Bug/pad calculation by @iosefa in #28
- Bump version to 0.3.0, update Python to 3.11+, upgrade dependencies, readme by @iosefa in #35
New Contributors
Full Changelog: v0.2.4...v0.3.0