Skip to content

Commit

Permalink
DOCS: Added SpectralIndices, SpectralIndex (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
davemlz committed Jan 18, 2022
1 parent 26751c1 commit a890b17
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ and can be called from it (e.g., :code:`spyndex.computeIndex()`):
spyndex.axioms
---------------

Axioms module of spyndex. Automatically loaded with :code:`import spyndex`. Spectral Indices
Axioms module of spyndex. Automatically loaded with :code:`import spyndex`. Spectral Indices, Constants and Bands
can be accessed from the module (e.g. :code:`spyndex.indices.NDVI`):

.. currentmodule:: spyndex.axioms

.. autosummary::
:toctree: stubs

SpectralIndices
SpectralIndex


spyndex.datasets
----------------

Expand Down
31 changes: 31 additions & 0 deletions docs/stubs/spyndex.axioms.SpectralIndex.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
spyndex.axioms.SpectralIndex
============================

.. currentmodule:: spyndex.axioms

.. autoclass:: SpectralIndex

.. rubric:: Attributes

.. autosummary::

~SpectralIndex.short_name
~SpectralIndex.long_name
~SpectralIndex.bands
~SpectralIndex.type
~SpectralIndex.reference
~SpectralIndex.formula
~SpectralIndex.date_of_addition
~SpectralIndex.contributor

.. rubric:: Methods

.. autosummary::

~SpectralIndex.compute

.. automethod:: compute




12 changes: 12 additions & 0 deletions docs/stubs/spyndex.axioms.SpectralIndices.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
spyndex.axioms.SpectralIndices
==============================

.. currentmodule:: spyndex.axioms

.. autoclass:: SpectralIndices






6 changes: 6 additions & 0 deletions docs/stubs/spyndex.plot.heatmap.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
spyndex.plot.heatmap
====================

.. currentmodule:: spyndex.plot

.. autofunction:: heatmap

0 comments on commit a890b17

Please sign in to comment.