Skip to main content

Documentation Status

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

Metadata

Release files for pyspatialstats 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyspatialstats 0.1.2
File Size Uploaded
pyspatialstats-0.1.2.tar.gz 49.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyspatialstats 0.1.2
File
pyspatialstats-0.1.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
pyspatialstats-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
pyspatialstats-0.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
pyspatialstats-0.1.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
pyspatialstats-0.1.2-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
pyspatialstats-0.1.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
pyspatialstats-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
pyspatialstats-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
pyspatialstats-0.1.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
pyspatialstats-0.1.2-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
pyspatialstats-0.1.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
pyspatialstats-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
pyspatialstats-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
pyspatialstats-0.1.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
pyspatialstats-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
pyspatialstats-0.1.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
pyspatialstats-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details
pyspatialstats-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
pyspatialstats-0.1.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
pyspatialstats-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details

Total release size: 129.3 MB

Release files / pyspatialstats-0.1.2.tar.gz

Download URL pyspatialstats-0.1.2.tar.gz
Size 49.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0d75d5c830f8dc1d9c62c398eb0d6e8820e8e5ed3c94a673bef2b8c70fe84d45
BLAKE2b-256 checksum
How to use checksums
24017fcb5d140c5047e404b497e40b9e33876f0d702536fbe04d33c0706e18e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp313-cp313-win_amd64.whl

Download URL pyspatialstats-0.1.2-cp313-cp313-win_amd64.whl
Size 5.6 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a31d7d8dad32c178a7a041f6dab7f0c75671d44d9bd784a22a5bbd245a99c50d
BLAKE2b-256 checksum
How to use checksums
e76c2758b8f26147b42abfa41d7c787da796a9e535a7c33c05992c940c5047da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL pyspatialstats-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl
Size 11.9 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
978ac8d7cac4038475234601aad3b8635ed4e148ec7760c8993939c14d5a2620
BLAKE2b-256 checksum
How to use checksums
a6003fd36d70d70b25cb67e132a995e3cc9ac01bb4f813fa35185945030d38f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyspatialstats-0.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9d44ad37e672187b246fdc6c758728af89c9df8f568504a5293ae87f81cf1f61
BLAKE2b-256 checksum
How to use checksums
d851cf109b506603a8e4b302041d2ee3745fb517591be9f5e0bed55e05c585d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp313-cp313-macosx_11_0_arm64.whl

Download URL pyspatialstats-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
97ef8ee31cb0c2cd9b4c83c2a5c136e8ad7c112b92aa52b72336ac51baa47f19
BLAKE2b-256 checksum
How to use checksums
02eda8f53a99a055c9608e69984f6ca93b0f28988df468f0da3327f2a5757645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp313-cp313-macosx_10_13_x86_64.whl

Download URL pyspatialstats-0.1.2-cp313-cp313-macosx_10_13_x86_64.whl
Size 1.9 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
2e46e19fbaa5c578908ce76fde0b8afce13ab942faab11465bd98c6ddd62b58a
BLAKE2b-256 checksum
How to use checksums
43b02e355be14b79a3510c6b984ac423b8befd890289d10a1389519654baedb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp312-cp312-win_amd64.whl

Download URL pyspatialstats-0.1.2-cp312-cp312-win_amd64.whl
Size 5.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
62757d7257e08499f91f793ba1f25a43e34b4ef2bc9d54928233311f8ba4cd84
BLAKE2b-256 checksum
How to use checksums
2f016d4bfecd2760bad0454f87b8d40e541c0f5226874609f25742ddd94040de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL pyspatialstats-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
Size 12.0 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
992e695b14592e2dac6ddaad8d0ace8621fe89f3bf5469716f6495af5250201e
BLAKE2b-256 checksum
How to use checksums
6566c3b4747293163e36185fc97195c9da99391671dc34f1138be2bfb9ef71bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyspatialstats-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1ab67dfd7c5ece36bf97dd98f49de32a7d7eabe25316d791d5273c24cf302108
BLAKE2b-256 checksum
How to use checksums
4e13553179bbe5f98955e4be443547b38173db856c663ca43772efbb48aaac20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp312-cp312-macosx_11_0_arm64.whl

Download URL pyspatialstats-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7baa8a8e882bc0a6ffbe8b260f1300a64076e72dbf263bee8512f113c08d9c2b
BLAKE2b-256 checksum
How to use checksums
9b57bf1d73178fccc0f78b91a5806d8c7821acd209bd93fa62dde48b07386fd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp312-cp312-macosx_10_13_x86_64.whl

Download URL pyspatialstats-0.1.2-cp312-cp312-macosx_10_13_x86_64.whl
Size 2.0 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
6a36118593f144cd2008fcec44dcce0934d8802cad30dbea575fa14090aa9cfe
BLAKE2b-256 checksum
How to use checksums
26af7bc98e49637d6b306b8a2e32bd1388dadfc10727565002eaeb6d95716d52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp311-cp311-win_amd64.whl

Download URL pyspatialstats-0.1.2-cp311-cp311-win_amd64.whl
Size 5.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
98816a7cf8672a87fb06e1a407c826a0459ebafcc9987461e6f88a4404e7ebb1
BLAKE2b-256 checksum
How to use checksums
4d1188da4cca4edcb21c4f3184a3f22dcc6297bc6ba9ec94f9a300ba56e3bdf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL pyspatialstats-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl
Size 12.1 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
7659720cdcccf42890eeea2efecfe44ebcb5ef92597a80eda6da2fe820e1b98b
BLAKE2b-256 checksum
How to use checksums
a97cebd20e11b6ca145b9970d7ee5ed6fa900a54ee74bd3d309313f77a8d3b9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyspatialstats-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 11.4 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4127e82f2ec65a857c40e7ca86c52f57f9158b0cd46c85fd64ac151a4a757eac
BLAKE2b-256 checksum
How to use checksums
4069f218abcc1346d55d2aa164474002737bdc7b7998548d7e46d16e0dd8e725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp311-cp311-macosx_11_0_arm64.whl

Download URL pyspatialstats-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
432732051b6fc0842e6cc91f57b85b7b741fa5d714bdf0b724f551fb63514376
BLAKE2b-256 checksum
How to use checksums
30e689a1cadedb47d5a84b43f9e35df72ec0c30ff900c757347dd6aa403ff578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl

Download URL pyspatialstats-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl
Size 1.9 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
963d45c55232e39d6aaaae732c27d77440c38d9827dbec15de6edb841c3528db
BLAKE2b-256 checksum
How to use checksums
cf5bbe6dcf4c594a1d34efa4b012d41ead1e93a8c640c120b9a5c4841f6f4405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp310-cp310-win_amd64.whl

Download URL pyspatialstats-0.1.2-cp310-cp310-win_amd64.whl
Size 5.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
4b5e715ef2456c0b45c82f2683968750d6e0f37634ae41ef801164be2130b810
BLAKE2b-256 checksum
How to use checksums
43c21c0502801fa4106bde5260109a808ca3a04061a3272fa6c35ec963953fad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL pyspatialstats-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl
Size 11.4 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
55664861f99bad7c28d92776e2441e538f05cc84cd881394ceb4d0daad0b7f57
BLAKE2b-256 checksum
How to use checksums
27dcd04b77148e563e3825602dbe174a59c6ce54c305560f75e43ac8e5d974f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyspatialstats-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9f585b4dfe411fdc92331431c40d64e34adc1e2321c3364a545b11ccd9c2c8d7
BLAKE2b-256 checksum
How to use checksums
2151661fd03e377550d372e411d248fd3565994fb8aca11df2d29a167a34ae3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp310-cp310-macosx_11_0_arm64.whl

Download URL pyspatialstats-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1396f1238c3dcebcf33d642fa00f50cef753527b3718dce5d43430145f6074c9
BLAKE2b-256 checksum
How to use checksums
b7badbe9a24628a9f2d01bf67c94c32388bddecd8e4d8ed7ff201b19ab7b1b98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyspatialstats-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl

Download URL pyspatialstats-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl
Size 1.9 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e0b45fe377581b33bd66ecc8ca11d787b099b2e1834d2913b902ae73973cdf71
BLAKE2b-256 checksum
How to use checksums
16ceac645b0330004d0ee0c9c0da0e7049d17765bbf3fa6cc5aab46f78bfe568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

21 release files

0.1.1

21 release files

0.0.3

41 release files

0.0.2

41 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page