-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from lazarusA/main
fixes type restriction on input arguments and Improve docs
- Loading branch information
Showing
14 changed files
with
601 additions
and
1,337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,7 @@ deps/src/ | |
|
||
docs/build/ | ||
docs/site/ | ||
|
||
docs/node_modules | ||
docs/package-lock.json | ||
.vscode | ||
Manifest.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
[deps] | ||
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
DimensionalData = "0703355e-b756-11e9-17c0-8b28908087d0" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a" | ||
DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c365" | ||
PartialFunctions = "570af359-4316-4cb7-8c74-252c00c2016b" | ||
SpectralIndices = "df0093a1-273d-40bc-819a-796ec3476907" | ||
YAXArrays = "c21b50f5-aa40-41ea-b809-c0f5e47bfa5c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"devDependencies": { | ||
"markdown-it": "^14.0.0", | ||
"markdown-it-mathjax3": "^4.3.2", | ||
"vitepress": "^1.0.0-rc.43", | ||
"vitepress-plugin-tabs": "^0.5.0", | ||
"vitest": "^1.3.0" | ||
}, | ||
"scripts": { | ||
"docs:dev": "vitepress dev build/.documenter", | ||
"docs:build": "vitepress build build/.documenter", | ||
"docs:preview": "vitepress preview build/.documenter" | ||
}, | ||
"dependencies": { | ||
"@shikijs/transformers": "^1.1.7", | ||
"markdown-it-footnote": "^4.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# SpectralIndices.jl Documentation | ||
|
||
Welcome to the documentation for SpectralIndices.jl, a comprehensive Julia package for calculating a wide array of spectral indices used in remote sensing and environmental monitoring. | ||
|
||
## Overview | ||
|
||
SpectralIndices.jl simplifies the computation of spectral indices, offering support for both standard and custom indices. The package is designed for efficiency and ease of use, catering to both researchers and practitioners in the field of remote sensing. | ||
|
||
## Features | ||
|
||
- Supports a broad range of predefined spectral indices. | ||
- Custom index creation capabilities. | ||
- Flexible input options for various data types. | ||
- Efficient computation for large datasets. | ||
|
||
## Getting Started | ||
|
||
To get started with SpectralIndices.jl, follow these steps: | ||
|
||
### Installation | ||
|
||
To install SpectralIndices.jl, use the following Julia command: | ||
|
||
```julia | ||
using Pkg | ||
Pkg.add("SpectralIndices") | ||
``` | ||
|
||
### Basic usage | ||
|
||
Here's a simple example to compute the NDVI spectral index: | ||
```julia | ||
using SpectralIndices | ||
|
||
NDVI_result = compute_index("NDVI", N = 0.643, R = 0.175) | ||
``` | ||
|
||
## License | ||
SpectralIndices.jl is released under the [MIT License](https://github.com/awesome-spectral-indices/SpectralIndices.jl/blob/main/LICENSE). | ||
|
||
## Citation | ||
If you use SpectralIndices.jl in your research, please cite it as follows: | ||
|
||
```bibtex | ||
@article{montero2023standardized, | ||
title={A standardized catalogue of spectral indices to advance the use of remote sensing in Earth system research}, | ||
author={Montero, David and Aybar, C{\'e}sar and Mahecha, Miguel D and Martinuzzi, Francesco and S{\"o}chting, Maximilian and Wieneke, Sebastian}, | ||
journal={Scientific Data}, | ||
volume={10}, | ||
number={1}, | ||
pages={197}, | ||
year={2023}, | ||
publisher={Nature Publishing Group UK London} | ||
} | ||
``` |
Oops, something went wrong.