awesome-spectral-indices / spyndex

Awesome Spectral Indices in Python.
https://spyndex.readthedocs.io/
MIT License
189 stars 22 forks source link

Add `kwargs` to `computeIndex` and `computeKernel` #10

Closed davemlz closed 2 years ago

davemlz commented 2 years ago

Add kwargs so users don't have to pass a dict if they don't want to.

Example:

spyndex.computeIndex("NDVI",N = 0.67,R = 0.12)

instead of:

spyndex.computeIndex("NDVI",{"N": 0.67,"R": 0.12})
davemlz commented 2 years ago

Done!