Metadata-Version: 2.1
Name: focal-stats
Version: 0.0.2
Summary: UNKNOWN
Home-page: 
Author: Jasper Roebroek
Author-email: roebroek.jasper@gmail.com
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Provides-Extra: develop
Requires-Dist: cython ; extra == 'develop'
Requires-Dist: sphinx ; extra == 'develop'
Requires-Dist: sphinx-rtd-theme ; extra == 'develop'
Requires-Dist: numpydoc ; extra == 'develop'
Requires-Dist: scipy ; extra == 'develop'
Requires-Dist: jupyter ; extra == 'develop'
Requires-Dist: rasterio ; extra == 'develop'
Requires-Dist: matplotlib ; extra == 'develop'
Requires-Dist: pytest ; extra == 'develop'
Provides-Extra: test
Requires-Dist: scipy ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'

[![Documentation Status](https://readthedocs.org/projects/focal-stats/badge/?version=latest)](https://focal-stats.readthedocs.io/en/latest/?badge=latest)

This module aims to provide focal statistics for python, that runs without the installation of extensive GIS packages. 
The only dependency is numpy. For more details see the documentation.

# Installation

The package can be installed with conda:

```
conda install --channel conda-forge focal-stats
```

# Usage example

Focal mean of a 100x100 random numpy array.

```
from focal_stats import focal_mean
import numpy as np

x = np.random.rand(100, 100)
fm = focal_mean(x, window_size=5)
```

# Important links

- API reference: https://focal-stats.readthedocs.io/en/latest/api.html
- Documentation: https://focal-stats.readthedocs.io/en/latest/index.html

