We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you are looking to end up with a number between 0 and 1:
return data.sum(axis=0) - np.prod(data, axis=0)
This is clearly wrong.
Consider 3 rasters where the pixel value is 0.4 at a given index = 0.4 + 0.4 + 0.4 - 040.40.4 > 1
what you actually want if you are trying to match something a la giant company version
product_term =np.prod(1 - data, axis=0) fuzzysum = 1 - product_term
The text was updated successfully, but these errors were encountered:
Yeah you are right. Thanks for noticing and pointing this out. I'll go ahead and fix this like you suggested
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If you are looking to end up with a number between 0 and 1:
This is clearly wrong.
Consider 3 rasters where the pixel value is 0.4 at a given index = 0.4 + 0.4 + 0.4 - 040.40.4 > 1
what you actually want if you are trying to match something a la giant company version
The text was updated successfully, but these errors were encountered: