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_base 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.0.tar.gz (49.0 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.0-cp313-cp313-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.13Windows x86-64

pyspatialstats-0.1.0-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.0-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.0-cp313-cp313-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.13+ x86-64

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

Uploaded CPython 3.12Windows x86-64

pyspatialstats-0.1.0-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.0-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.0-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

pyspatialstats-0.1.0-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.0-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.0-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

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

Uploaded CPython 3.10Windows x86-64

pyspatialstats-0.1.0-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.0-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.0-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pyspatialstats-0.1.0-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.0.tar.gz.

File metadata

  • Download URL: pyspatialstats-0.1.0.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

Hashes for pyspatialstats-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52b1dd54ee776f4bc486e15ffb8537bd7b1251527165362438fccb7f430547e1
MD5 b178cb06e7af85fb3e53ea97b239fd65
BLAKE2b-256 a43128ee07ddcc4981be44fcb6d2e141ee6f90906f3718edaeb6afec2f279e0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5858da5b46604f8da9b53ed68f10a5ee2ac13a3543e87318b0b07aef76900f76
MD5 e79e9f0d40d470aad3b20d752f0edd95
BLAKE2b-256 180dd9970d3012d60dd16accdcbd4f10591fd990318f7b2045e78a50f16a2243

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 46a8215d90ec98d0dc90284bb736fc8e760c0ff2f85d5ecaddaea0526ca852d6
MD5 97ce3ae3854bd317a72b33b26202c1c5
BLAKE2b-256 21663228e9d304fc32445152ed15654ead59619123fbfb7c45acebc2e185ed4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f9e1cb99dfa4a2d3cea8954b4132c52b046dfd0ab472607f7f167839d5487f56
MD5 7297f4413c308f4bf748a5597eaf3e58
BLAKE2b-256 60e493b5261335f1ce8bb3fcf63f29925a975d65b5328fdd5f9281280950ce13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7fef1eedf3915a768763b11407de0b57de3312b3dabbfd791f5edb2106f23433
MD5 b7207fa4e14f208ed666aac3615e7fbd
BLAKE2b-256 84a43af644e805ea5ddb53901ff4596f2b41b582ee318b1291b60968d703f540

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cbf0e74ba20f09bbc83f23591263b275ec85f034dc63e33399193496a726a4c5
MD5 c01906cd82998461bbf31f05f84ab8c5
BLAKE2b-256 b76d49e4ce200a3a702b20cc3f255a9bd4ff64bdce834f7dd4202d184cae6d85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a606fe4e4e0423d833d5b3ac097e5ccbfde40190863b6f9d3d484aaf24aad1a9
MD5 0e049410717eec7030f56de5eb719715
BLAKE2b-256 88f1fc14ba3e615449c96bc6eebe13bf14a51d151cc8df0c9f5bc4d74471ab50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7a5500dba617348f3a1bc90564be62bb636f799004c7f083ea12289c2976a6ec
MD5 3071ac9e3c0d0865cd282f24dc761719
BLAKE2b-256 9ec179ed6c81198460000f3292d44c586b2e6046ec1ed36ca6c311b5ed8020bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d246531baa6203cb0c35b53f329f95006baaa7c5c18573b2637eeb658ed27ecc
MD5 0c74586e37537a0d62bb498865a2ffea
BLAKE2b-256 410a8fab3485b65f8475fa367368e5337e78c3be0198c07c935ed7ca7bc4072a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 231ebd8e066ebb0bc8228499c235eccc0b2153f5af8196480b965604f4abf1e6
MD5 35f471e9835cf7df357f55c83892352e
BLAKE2b-256 56941e5fc6bf0734821c1c8910f7fa5921e6ef2b108264398aeaad477595f8b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6f47f7cc071384f835e7067ca0b59b30a0acb781f359e905e7483c8bdd1b652d
MD5 24861d41b8b2fee3adaef667123fe079
BLAKE2b-256 ee6943bdf7964b2b1c09ead9f8aae2bf5bada0e9d906b18710f1582de5799819

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dfec9a332bcadb032dbbf80a4599a43e255a693df2bfd621999b02f425583600
MD5 7fc27923dbb4ae7c0f66cb58f33364f7
BLAKE2b-256 9c668dcc9ba9daf1017370e06de28c100453e42c6cc4d13a8e46ccd2ea71cb63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ce67dcdeeb02ed9b7f8a05069c69f5f7282bc2cb8b9589bf2357ad56d2fe478
MD5 10bebb3b61b83bcc288cbfb40321dfb9
BLAKE2b-256 53ef91bcd07c366bc6a9da32026fe3d822eb1a2b14b82ab3840675daea1c4d60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69170d4c4d967361913cff45cf9ae754a95dd01553ff0ac1c9ecd5d7a9fef534
MD5 045dc6f3d5fd68457ac1b70e3bd046d5
BLAKE2b-256 948691705cef4f7dfa739bd2792520db6c112a2e80049d2c6ec9db72172d2326

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aaf7fb9e4cb80ae4fc1a52b828ba46cb4b1351216855dcf2f8b100e058608591
MD5 6f776fee646c8e26df314b4272ac1fe7
BLAKE2b-256 4c92060cdcb67c9e2344976af1cab8e3b876ae6e00b20fab5f24b61ca1db1f78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1251ed5b492411fbe4c85431e34b848d1bc249990032f9cfbcd6a7c2dbaeaf61
MD5 326230a2748a80a5b4cd062eec9ee44d
BLAKE2b-256 86f15f8a6866ed848de3a19efa82495e080a154b59639037c3aa78a928b5a413

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b124204a928a7df26b3fa439a9535bfacaaf456adcafb6b2361b1bbd8422ffdc
MD5 edeac088e79fa1451f3687b6b5cd964e
BLAKE2b-256 10d44bf4ded865658eba674dbe5a535ec9320cb9da50d512618d9667fe8c0b55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1e1b0d559414941475877773a345ba76d5be0a2c50013897cf73d39b24a7b342
MD5 51690035f17999c84edb388a193c741f
BLAKE2b-256 b7befeffda6ea7b4d1e58b621c1762c05eca72472ab34686911c8295dd2d2cd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbd67d03dcc503e5150b76d5fb0779e4cffb1e8b64ea12f5074ec76325ec8d31
MD5 f5713fc33962b818d4ed5fc93ebcf5be
BLAKE2b-256 3ec374d7f9bf77615d2225c14617d0f077f7cc7dbbca15c7241ac16e0a5736ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37b273db915dc4c530b28298a3013269ddc15d55d0c894e251f333a46a9fafbe
MD5 7de2a161414029ebfa9c4661f4d7a9fa
BLAKE2b-256 cc7ba2fb6414efcd858d55a9365efa44ca27ab19881984aaef34835b9dcf6774

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyspatialstats-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c2d30ef2fa3fcf903e44c6deaa89f231d6f2cf0982a860028d28451396b83f8b
MD5 d9df77c8b2871fe63d0040b94b1b050c
BLAKE2b-256 2629df5df121959dabf4f0389e697f2ce9483a05d8788c22a9aed41a79cd6c5b

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