Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.52 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.52 KB

sitsfeats.py ⌛

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.

Features

The metrics implemented in this version are:

  • Basic: Basic statistics metrics
  • Polar: Polar metrics

Installation

To install the package, you must have Armadillo installed, then you can use pip:

pip install git+https://github.com/m3nin0-labs/sitsfeats.py

Usage

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.

Acknowledgments

We would like to thank the developers and contributors of the sitsfeats R package for their work that is the basis of this package.

Contributing

We welcome contributions! If you have suggestions for improvements or bug fixes, please feel free to fork the repository and submit a pull request.

License

sitsfeats.py is distributed under the MIT license. See LICENSE for more details.