forked from microsoft/torchgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pixel sampling mode (microsoft#294)
* Add pixel sampling mode * Fix maxy indexing error Co-authored-by: Ashwin Nair <ash1995@gmail.com> * Add sample_mode docstrings, default to PIXELS * Replace sample_mode with units * Update to use enum * Fix mypy, tuple, and flake8 issues * Fix isort and pydocstyle problems * Update sampler docs to discuss unit sampling mode * Various fixes * Add units arg to GridGeoSampler * Update benchmark script * Add tests * Document enum values * mypy fixes Co-authored-by: Ashwin Nair <ash1995@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
- Loading branch information
1 parent
ee0b7f7
commit 7153739
Showing
9 changed files
with
200 additions
and
82 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.