-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: drop visualization methods (#139)
- Loading branch information
Showing
3 changed files
with
24 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# coding=utf-8 | ||
"""Legacy Helper functions for visualizing data on a map.""" | ||
from deprecated.sphinx import deprecated | ||
|
||
|
||
@deprecated( | ||
version="1.0.0", reason="Removed as this lib does not deal with map anymore" | ||
) | ||
def stretch_std(image, region, bands=None, std=1, scale=None): | ||
"""Get mins and maxs values for stretching a visualization using standard deviation.""" | ||
raise NotImplementedError( | ||
"Interactive methods have been moved to ipygee. For non-interactive, rely on your visualization library like rasterio, matplotlib, etc." | ||
) | ||
|
||
|
||
@deprecated( | ||
version="1.0.0", reason="Removed as this lib does not deal with map anymore" | ||
) | ||
def stretch_percentile(image, region, bands=None, percentile=90, scale=None): | ||
"""Get mins and maxs values for stretching a visualization using percentiles.""" | ||
raise NotImplementedError( | ||
"Interactive methods have been moved to ipygee. For non-interactive, rely on your visualization library like rasterio, matplotlib, etc." | ||
) |
This file was deleted.
Oops, something went wrong.