Conversation
Correct reference-band handling and calibrated warp fallback in SIFT_align_capture, add spawn_pool() for library multiprocessing, declare rawpy, and add pipeline compatibility plan plus tests.
Introduce micasense.warp_io for standard .npy warp matrix I/O and drop unused Capture.__sift_warp_matrices.
Replace duplicated np.load/np.save loops in Alignment v2, Batch Processing v2, and batch_processing_script with micasense.warp_io helpers. Remove hardcoded Mapbox token from Batch Processing v2.
Pin pytest>=9 with native pyproject config and coverage defaults, simplify CI to run pytest, and replace conda-based setup with venv/pip documentation.
Drop unused lists, duplicate raw() calls, and per-band undistort reloads without changing alignment results.
Add .coverage, coverage.xml, and .venv/ to .gitignore.
PR Reviewer Guide 🔍(Review updated until commit 7a5bf05)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 7a5bf05 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit aa08f28
Suggestions up to commit 91b0f87
Suggestions up to commit cbca979
|
|
Persistent review updated to latest commit 91b0f87 |
|
Persistent review updated to latest commit aa08f28 |
|
Persistent review updated to latest commit 7a5bf05 |
User description
Summary
Bring
mainup to date withdevelop, including SIFT alignment fixes, warp matrix IO improvements, and modernized testing/CI tooling.Changes included (last 6 commits)
cbca979).gitignoreto avoid committing local test outputs / virtualenv files.SIFT_align_capture(c339630)9d8f9d7)warp_iofor warp matrix load/save in tutorials and batch script (0ec78ab)c3ecce4)cc86cc3)Testing
Notes / Risk
Checklist
PR Type
Bug fix, Enhancement, Tests, Documentation
Description
Fix
SIFT_align_capturereference and fallbackAdd
warp_iosave/load warp matricesUse spawn multiprocessing pools for safety
Modernize CI, tests, and setup docs
Diagram Walkthrough
File Walkthrough
5 files
Switch warp matrix load/save to warp_ioLoad warp matrices via warp_io helperUse spawn-based pool for save_stacksAdd spawn_pool helper for multiprocessingAdd standard warp matrices load/save API3 files
Use warp_io, fix irradiance typoFix SIFT reference handling and fallbackReplace global start_method with spawn_pool3 files
Replace conda setup with venv/pipDocument alignment, warp_io, CI updatesUpdate links and venv-based test guidance2 files
Add SIFT alignment and spawn testsAdd round-trip tests for warp_io4 files
Install test deps separately; simplify pytestInstall test deps separately; simplify pytestRemove legacy conda environment specificationAdd rawpy, pytest9 config, coverage defaults1 files
Bump pre-commit hook versions