Skip to content

Commit

Permalink
Merge pull request #62 from awesome-spectral-indices/MartinuzziFrance…
Browse files Browse the repository at this point in the history
…sco-patch-1

Update README.md
  • Loading branch information
MartinuzziFrancesco authored Apr 8, 2024
2 parents 5206384 + c2b62e4 commit fd6a5e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ using DataFrames
# Compute NDVI with direct parameter input
result = compute_index("NDVI", N = 0.643, R = 0.175)

# Compute NDVI with direct parameter input and direct NDVI call
result = compute_index(NDVI, N = 0.643, R = 0.175)

# Compute multiple indices with array inputs
multi_result = compute_index(["NDVI", "SAVI"], N = fill(0.643, 5), R = fill(0.175, 5), L = fill(0.5, 5))

Expand Down

0 comments on commit fd6a5e1

Please sign in to comment.