Skip to main content

No project description provided

Project description

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

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

pyspatialstats-0.1.1.tar.gz (48.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyspatialstats-0.1.1-cp313-cp313-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.13Windows x86-64

pyspatialstats-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pyspatialstats-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pyspatialstats-0.1.1-cp313-cp313-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyspatialstats-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

pyspatialstats-0.1.1-cp312-cp312-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.12Windows x86-64

pyspatialstats-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pyspatialstats-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyspatialstats-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyspatialstats-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pyspatialstats-0.1.1-cp311-cp311-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.11Windows x86-64

pyspatialstats-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl (12.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pyspatialstats-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyspatialstats-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pyspatialstats-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pyspatialstats-0.1.1-cp310-cp310-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.10Windows x86-64

pyspatialstats-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pyspatialstats-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyspatialstats-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pyspatialstats-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file pyspatialstats-0.1.1.tar.gz.

File metadata

  • Download URL: pyspatialstats-0.1.1.tar.gz
  • Upload date:
  • Size: 48.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyspatialstats-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d7a224fab537e7ac30dd225d2de9d6f713812956f9fe989f236fb4de12c1e718
MD5 bf2a2459a724b5bb708fb7162266ccc0
BLAKE2b-256 e4a5563e9bd75f52bd7c1c2930f8987479b04d84c20205325389f10235362762

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ff5e54cffa90061adeefc77acda79194c84eaf068499f486a494819ae9d1eb61
MD5 cca929212a3e35e3d772279fe4bae6e3
BLAKE2b-256 8013976ce20f46ba00407ed6ef689bd8aeb1cff376c48713121332f60587c9f9

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 78b6b6be8eef19ec72df156aefc7b34639cc71643dde865e2225b22939f89e2d
MD5 dd70bbff59d33dfbe5545575a0f4ee1e
BLAKE2b-256 353783a4e5fe439c8c0f8b831e8323c8bc08498cfde9dde19c8460e74a1564f1

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca93dae26eb4de96228c853c46892c67a8a2a3313260106046071cf5cc544cf1
MD5 80879a277f1bfb7b6f57c8a399a9114a
BLAKE2b-256 2c796997c200ada0f890f54c4061cc4a0247c8a17cca9e65e171916fbe5fd6a8

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52989b2f76c82810d3073fb1a2c323be5414e90fd3faee547c3f8932e0b6625d
MD5 688f7e4099f84ebda10cc115c9428221
BLAKE2b-256 2961e0f6a377bc60102029d735337fb61b49300a44f5d77767a0462f4abc99b9

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cb2eb6ac1109b2ee6a911f11860ac6b65651862dac771848dbc7929c6095532c
MD5 e594f99ff3eba4c94dba475687d38225
BLAKE2b-256 ca7acbba0eecd5bde45f90b32c75884a882f0e75d3ec6cbd1da11d13b4a17aea

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7df3a5a81cdd97a6ae84c067aa3f1907d195580b03b4d5c19e00ff3632bba98a
MD5 a09b9581b6abd7d406d19e69c3e009f0
BLAKE2b-256 0c11b0aa9a1cde5fff9155e23176a3816b6da00007a57f3b7a1911d75f4d4159

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f3da4a18dfccae70479738a995ce59c553d3010250b2380c293692dc97448b98
MD5 680a07a4b6ff278ac7a10a3186d83915
BLAKE2b-256 8bac69ffbf51e26993fa9ad3e214a47d9300265f3f58181a8a1eeebe49fa2757

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a08074f82a541cf5a24665109b35bd1404f2da0162e1750de15ce88b3e2862d
MD5 426c34e5316312791fb579414c4112be
BLAKE2b-256 aea15398174685852abe9669a561ff041b3abb8053215b8cb8b9c59a7288359a

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1713c9bd8fdc918f27b9a71864a7babb931bb636e807df48e74e9af458a483d
MD5 baf4b48b0764aa70a495387b8360c13f
BLAKE2b-256 997ad249664f7ff329a3358ad19152fc9259cf7f572a3607d396b765507359cf

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 bec158c590ad69d48767281888843c8c4094f870f3c1fc8726dd96472589e568
MD5 5eac351e6e184812013fcce16dda0206
BLAKE2b-256 8aac1a1634a5d786b150e4fdf8d093597443d9766dc55b700fea4f706baaf6f2

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a04839e648d85824f0daeecf72f48d7475167c400b2f793dc782df045fbc510f
MD5 8505246fb96e079eade5a3c974df915e
BLAKE2b-256 53c115e9f0958e6b097513a4cd7cf96d97b7b2c12210e34ae4bd40a0c38d5775

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7e5720d6490d30dfbe0ce0e22668947f00641e9f0eb1491733c68fc15fcb44f3
MD5 e66a3071f022344b650af69a7d244d87
BLAKE2b-256 c10f329f701b9026ab6159f1fea844e0448d821510aff9116fa1e2b5a36adbf4

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26d2c434f98df6132fdc8d7c323f242a7438a734deac39967c5b9ca54be4d1f7
MD5 95152509d5f4bd09d0b619031608f292
BLAKE2b-256 62a85dce9b19a072f24772e4a5345d790dfc38bfd7b3b8a17d387521b6b95ee1

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac801c3431f7b448587007e1e7d64a18ed53fbf1bdc34f56e58627afbd6c6bd1
MD5 16407104fb8e6ba76b00e67b9e3ab080
BLAKE2b-256 0caa6ca1717be1a50491b9844287aa0feb42dee982648dde2ca47785945a140a

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4a6e85dc1c30aa3bf94e310bafd8fd9ba9d9b686ecf4f2b1bdb91b462515825a
MD5 06099756fb623b42880adc7ce0ad655e
BLAKE2b-256 a1b08a545e6c7e8028e10f9ad07dfc6aa9c668f4cb9009d49885751c0c91bc90

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5b54cc139b5c18a53cd96e2f16b710ed4c459d136ac3efd4209e7fef42e96741
MD5 b00828e13a803c91fe95870144a13e4e
BLAKE2b-256 009761b3891abdcd5a4f4806d225679426ac2d10125b828c1235a6c32e5c9fa8

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 17203138ee9f79aff0b114291f69066c11a76123409cbadb070c8324d0685104
MD5 8ab95081ad5d967fc96365a1e66b64c1
BLAKE2b-256 99574b9db9d1343020ac552829275d2289704510312e38b6aabdaa511e7ee78c

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 41f1a4c82b5aa13b7d67c3e075e2697cd201aede222a8655c534fa68da10dc3d
MD5 e0d528218c731304bc129030e373c6d4
BLAKE2b-256 a08c7fd7b670074012e190f920ac459f9e2e791792a09d2be5752cd35f08fe44

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff7ec9a5a26215fda4c87cf58ef25281c6652644bc982efaa202c20709c6a2be
MD5 8b9b75a08096856f1e1415aa3ea28e3a
BLAKE2b-256 9793e608f17937d20cfd2341ae84e437cc57d8a8657be9e9e2d2bb9407bc3869

See more details on using hashes here.

File details

Details for the file pyspatialstats-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyspatialstats-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fcdbf7d6a58d1acac031aad48156e188c8d62e788904c8dd034a56a4981e9fe5
MD5 b5c12d62d53124bab28bae64cb501251
BLAKE2b-256 6ecd9631e5738912329afab0434637a6e70c7bae919cae8815b3a5a45b9a384c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page