sitsfeats.py
is a powerful and efficient Python package designed for extracting a wide range of metrics from satellite image time series.
All metrics implemented in this package are derived from the sitsfeats R package.
The metrics implemented in this version are:
- Basic: Basic statistics metrics
- Polar: Polar metrics
To install the package, you must have Armadillo installed, then you can use pip:
pip install git+https://github.com/m3nin0-labs/sitsfeats.py
The sitsfeats.py
package is designed for simplicity. It is simple to get started with it. Here's a quick example:
from sitsfeats import feats
feats(['median', 'skew'], your-numpy-data)
#> {'median': array([[5585. ],
#> [5049. ],
#> [6601.5],
#> [6047. ],
#> [4696. ]]),
#> 'skew': array([[ 0.79073819],
#> [-0.03741349],
#> [ 0.34681313],
#> [ 0.29268245],
#> [-0.32793692]])}
To learn more, please check the examples
directory.
We would like to thank the developers and contributors of the sitsfeats
R package for their work that is the basis of this package.
We welcome contributions! If you have suggestions for improvements or bug fixes, please feel free to fork the repository and submit a pull request.
sitsfeats.py
is distributed under the MIT license. See LICENSE for more details.