Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coherence outputs occasional pixel values above one #12

Open
scottstanie opened this issue Jul 14, 2023 · 0 comments
Open

Coherence outputs occasional pixel values above one #12

scottstanie opened this issue Jul 14, 2023 · 0 comments

Comments

@scottstanie
Copy link
Collaborator

Noticed by me and @taliboliver , there very occasional pixels with coherence above 1

It's something with

def _take_looks_da(da: da.Array, row_looks: int, col_looks: int):
    return da.coarsen(x=col_looks, y=row_looks, boundary="trim").mean()

It's not a huge deal, but will avoid us needing to manually set the vmax when plotting coherence sometimes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant