No project description provided
Project description
This module provides spatial statistics for python, that runs without the installation of extensive GIS packages.
The package implements three different categories of spatial statistics:
- focal statistics, which are calculated as a moving window over input rasters (2D)
- grouped statistics, which calculates the statistics based on zonal (xD)
- zonal statistics, which calculates the statistics for each stratum and reapplies it to the index data (xD).
Furthermore, this package provides functionality to implement your own focal statistics functions, based on the mechanisms of a rolling window (xD).
Installation
The package can be installed with conda:
conda install --channel conda-forge pyspatialstats
Usage example
Focal mean of a 100x100 random numpy array.
from pyspatialstats.focal import focal_mean
import numpy as np
x = np.random.rand(100, 100)
fm = focal_mean(x, window=5)
Important links
- API reference: https://pyspatialstats.readthedocs.io/en/latest/api.html
- Documentation: https://pyspatialstats.readthedocs.io/en/latest/index.html
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyspatialstats-0.1.2.tar.gz.
File metadata
- Download URL: pyspatialstats-0.1.2.tar.gz
- Upload date:
- Size: 49.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d75d5c830f8dc1d9c62c398eb0d6e8820e8e5ed3c94a673bef2b8c70fe84d45
|
|
| MD5 |
8d7b8753b9c0674947afb18c8adb6da2
|
|
| BLAKE2b-256 |
24017fcb5d140c5047e404b497e40b9e33876f0d702536fbe04d33c0706e18e1
|
File details
Details for the file pyspatialstats-0.1.2-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a31d7d8dad32c178a7a041f6dab7f0c75671d44d9bd784a22a5bbd245a99c50d
|
|
| MD5 |
5653598077030482cefe0918fe42a1f3
|
|
| BLAKE2b-256 |
e76c2758b8f26147b42abfa41d7c787da796a9e535a7c33c05992c940c5047da
|
File details
Details for the file pyspatialstats-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 11.9 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
978ac8d7cac4038475234601aad3b8635ed4e148ec7760c8993939c14d5a2620
|
|
| MD5 |
30b8fe16a020c651f3f3dd1d3b77e92c
|
|
| BLAKE2b-256 |
a6003fd36d70d70b25cb67e132a995e3cc9ac01bb4f813fa35185945030d38f6
|
File details
Details for the file pyspatialstats-0.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 11.1 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d44ad37e672187b246fdc6c758728af89c9df8f568504a5293ae87f81cf1f61
|
|
| MD5 |
15d71c8e82ccf76ef2e5c194fe6829b8
|
|
| BLAKE2b-256 |
d851cf109b506603a8e4b302041d2ee3745fb517591be9f5e0bed55e05c585d0
|
File details
Details for the file pyspatialstats-0.1.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97ef8ee31cb0c2cd9b4c83c2a5c136e8ad7c112b92aa52b72336ac51baa47f19
|
|
| MD5 |
0720dddf782246d803d24da4076589a9
|
|
| BLAKE2b-256 |
02eda8f53a99a055c9608e69984f6ca93b0f28988df468f0da3327f2a5757645
|
File details
Details for the file pyspatialstats-0.1.2-cp313-cp313-macosx_10_13_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp313-cp313-macosx_10_13_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.13, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e46e19fbaa5c578908ce76fde0b8afce13ab942faab11465bd98c6ddd62b58a
|
|
| MD5 |
0a5ed79f2569046f3428ba6a65eb4b3d
|
|
| BLAKE2b-256 |
43b02e355be14b79a3510c6b984ac423b8befd890289d10a1389519654baedb0
|
File details
Details for the file pyspatialstats-0.1.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62757d7257e08499f91f793ba1f25a43e34b4ef2bc9d54928233311f8ba4cd84
|
|
| MD5 |
d1d043ed0b6e74276fa45bf18cf040cc
|
|
| BLAKE2b-256 |
2f016d4bfecd2760bad0454f87b8d40e541c0f5226874609f25742ddd94040de
|
File details
Details for the file pyspatialstats-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 12.0 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
992e695b14592e2dac6ddaad8d0ace8621fe89f3bf5469716f6495af5250201e
|
|
| MD5 |
eb11ee5fe4cbaed614d484ea5f18a9f8
|
|
| BLAKE2b-256 |
6566c3b4747293163e36185fc97195c9da99391671dc34f1138be2bfb9ef71bf
|
File details
Details for the file pyspatialstats-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 11.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ab67dfd7c5ece36bf97dd98f49de32a7d7eabe25316d791d5273c24cf302108
|
|
| MD5 |
5e441583a52e58e2a4daadffa57fb797
|
|
| BLAKE2b-256 |
4e13553179bbe5f98955e4be443547b38173db856c663ca43772efbb48aaac20
|
File details
Details for the file pyspatialstats-0.1.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7baa8a8e882bc0a6ffbe8b260f1300a64076e72dbf263bee8512f113c08d9c2b
|
|
| MD5 |
fdb75e9c4e8b87831cbdc3d756bcc529
|
|
| BLAKE2b-256 |
9b57bf1d73178fccc0f78b91a5806d8c7821acd209bd93fa62dde48b07386fd7
|
File details
Details for the file pyspatialstats-0.1.2-cp312-cp312-macosx_10_13_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp312-cp312-macosx_10_13_x86_64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.12, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a36118593f144cd2008fcec44dcce0934d8802cad30dbea575fa14090aa9cfe
|
|
| MD5 |
9930cbd398fcfafd8e1e27d3686f2f3f
|
|
| BLAKE2b-256 |
26af7bc98e49637d6b306b8a2e32bd1388dadfc10727565002eaeb6d95716d52
|
File details
Details for the file pyspatialstats-0.1.2-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98816a7cf8672a87fb06e1a407c826a0459ebafcc9987461e6f88a4404e7ebb1
|
|
| MD5 |
ba0b56d965320052d7faa7c7aeb703ca
|
|
| BLAKE2b-256 |
4d1188da4cca4edcb21c4f3184a3f22dcc6297bc6ba9ec94f9a300ba56e3bdf6
|
File details
Details for the file pyspatialstats-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 12.1 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7659720cdcccf42890eeea2efecfe44ebcb5ef92597a80eda6da2fe820e1b98b
|
|
| MD5 |
31b581bccc22b3b5dc61e93fd19557d6
|
|
| BLAKE2b-256 |
a97cebd20e11b6ca145b9970d7ee5ed6fa900a54ee74bd3d309313f77a8d3b9a
|
File details
Details for the file pyspatialstats-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 11.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4127e82f2ec65a857c40e7ca86c52f57f9158b0cd46c85fd64ac151a4a757eac
|
|
| MD5 |
28867eb0ac832edfd8cc0e89095f7882
|
|
| BLAKE2b-256 |
4069f218abcc1346d55d2aa164474002737bdc7b7998548d7e46d16e0dd8e725
|
File details
Details for the file pyspatialstats-0.1.2-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
432732051b6fc0842e6cc91f57b85b7b741fa5d714bdf0b724f551fb63514376
|
|
| MD5 |
9c982459a81dca7473b270efc966ca28
|
|
| BLAKE2b-256 |
30e689a1cadedb47d5a84b43f9e35df72ec0c30ff900c757347dd6aa403ff578
|
File details
Details for the file pyspatialstats-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
963d45c55232e39d6aaaae732c27d77440c38d9827dbec15de6edb841c3528db
|
|
| MD5 |
75491402e4f3d797036405bf1a6bf292
|
|
| BLAKE2b-256 |
cf5bbe6dcf4c594a1d34efa4b012d41ead1e93a8c640c120b9a5c4841f6f4405
|
File details
Details for the file pyspatialstats-0.1.2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b5e715ef2456c0b45c82f2683968750d6e0f37634ae41ef801164be2130b810
|
|
| MD5 |
ef7b7f54491c2593f0346d439a5ef9c2
|
|
| BLAKE2b-256 |
43c21c0502801fa4106bde5260109a808ca3a04061a3272fa6c35ec963953fad
|
File details
Details for the file pyspatialstats-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 11.4 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55664861f99bad7c28d92776e2441e538f05cc84cd881394ceb4d0daad0b7f57
|
|
| MD5 |
18ba0eb29479d00950c94b75921213e2
|
|
| BLAKE2b-256 |
27dcd04b77148e563e3825602dbe174a59c6ce54c305560f75e43ac8e5d974f5
|
File details
Details for the file pyspatialstats-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f585b4dfe411fdc92331431c40d64e34adc1e2321c3364a545b11ccd9c2c8d7
|
|
| MD5 |
994aa4347340731a8ffe748263a16d46
|
|
| BLAKE2b-256 |
2151661fd03e377550d372e411d248fd3565994fb8aca11df2d29a167a34ae3a
|
File details
Details for the file pyspatialstats-0.1.2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1396f1238c3dcebcf33d642fa00f50cef753527b3718dce5d43430145f6074c9
|
|
| MD5 |
27b34952104a180ce31b1b8df9ff23a3
|
|
| BLAKE2b-256 |
b7badbe9a24628a9f2d01bf67c94c32388bddecd8e4d8ed7ff201b19ab7b1b98
|
File details
Details for the file pyspatialstats-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pyspatialstats-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0b45fe377581b33bd66ecc8ca11d787b099b2e1834d2913b902ae73973cdf71
|
|
| MD5 |
36cb6461ef1ae59b59075ea9eeb6e70e
|
|
| BLAKE2b-256 |
16ceac645b0330004d0ee0c9c0da0e7049d17765bbf3fa6cc5aab46f78bfe568
|