-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Default values for constants in spectral indices #15
Comments
And it would be equally awesome to avoid throwing a too generic |
Hi @remi-braun, Actually, the constant objects have default values :) please see the Constant docs. Nevertheless, this is an overall default (e.g., the most common default value of L is 1, but for SAVI is 0.5, so the user must decide). About the Exception, could you be more specific? At the moment Exception example (as it is right now):
|
1️⃣ I tried to compute a SAVI index without providing the L constant and it threw me the 2️⃣ Yes, I am writing about the |
Thanks a lot, @remi-braun! |
Thanks a lot 😉 As promised, I am trying to use spyndex in the EOReader lib, this may lead to several issues and questions, please be patient with me haha 🙏 |
Haha sure! |
Hello,
Would it be possible (if useful) to have default values for constants in specified index (ie. L for SAVI) ? 😃
I am trying to have the minimum required intervention from the user, so it would be helpful!
The text was updated successfully, but these errors were encountered: