Skip to main content

Spatial interpolation Python module

Project description

License Build Status Documentation Status CodeFactor

PyInterpolate

PyInterpolate is designed as the Python library for geostatistics. It's role is to provide access to spatial statistics tools used in a wide range of studies.

Status

Beta version: package is tested and the main structure is preserved but future changes are very likely to occur.

Setup

Setup is described in the file SETUP.md: https://github.com/szymon-datalions/pyinterpolate/blob/master/SETUP.md

Commercial and scientific projects where library has been used

  • Tick-Borne Disease Detector (Data Lions company) for the European Space Agency (2019-2020).

Community

Join our community in Discord: https://discord.gg/3EMuRkj

Bibliography

PyInterpolate was created thanks to many resources and all of them are pointed here:

  • Armstrong M., Basic Linear Geostatistics, Springer 1998,
  • GIS Algorithms by Ningchuan Xiao: https://uk.sagepub.com/en-gb/eur/gis-algorithms/book241284
  • Pardo-Iguzquiza E., VARFIT: a fortran-77 program for fitting variogram models by weighted least squares, Computers & Geosciences 25, 251-261, 1999,
  • Goovaerts P., Kriging and Semivariogram Deconvolution in the Presence of Irregular Geographical Units, Mathematical Geology 40(1), 101-128, 2008
  • Deutsch C.V., Correcting for Negative Weights in Ordinary Kriging, Computers & Geosciences Vol.22, No.7, pp. 765-773, 1996

Requirements and dependencies

  • Python 3.7.6

  • Numpy 1.18.3

  • Scipy 1.4.1

  • GeoPandas 0.7.0

  • Fiona 1.18.13.post1 (Mac OS) / Fiona 1.8 (Linux)

  • Rtree 0.9.4 (Mac OS), Rtree >= 0.8 & < 0.9 (Linux)

  • Descartes 1.1.0

  • Pyproj 2.6.0

  • Shapely 1.7.0

  • Matplotlib 3.2.1

Package structure

High level overview:

::

  • pyinterpolate
    • calculations - distance calculation
    • data_processing - preparation of spatial data and data processing tasks,
    • data visualization - interpolation of smooth surfaces as rasters,
    • kriging - Ordinary Kriging, Simple Kriging, Poisson Kriging: centroid based, area-to-area, area-to-point,
    • misc - compare different kriging techniques,
    • semivariance - calculate semivariance, fit semivariograms and regularize semivariogram,
    • tutorials - tutorials (Basic, Intermediate and Advanced)

Functions documentation

Pyinterpolate https://pyinterpolate.readthedocs.io/en/latest/

Development

  • inverse distance weighting,
  • point cloud variograms,
  • semivariogram params management,
  • semivariogram regularization with epidemiological data tutorial

Known Bugs

  • (still) not detected!

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

pyinterpolate-0.2.0.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

pyinterpolate-0.2.0-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

File details

Details for the file pyinterpolate-0.2.0.tar.gz.

File metadata

  • Download URL: pyinterpolate-0.2.0.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for pyinterpolate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b51078231f9aeba683c0ade64309ebce577b5a9199a2c998d66558320e0a4001
MD5 4ba4e8578111626220e82604c868804d
BLAKE2b-256 1325bc76fa37e15f83f1c1a4621b8a55ec6fdb970f1d6d6b763289c1429a9f6e

See more details on using hashes here.

Provenance

File details

Details for the file pyinterpolate-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyinterpolate-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 69.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for pyinterpolate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5895dddeec3573d3c06bb034d940656048034d68e47f389038773d42ee69cf0
MD5 74cef4aa909eb9a1b8860b1cc998a68b
BLAKE2b-256 45e2bc30ad2d6b117449d2ed81fa60821e9adda19cb33953ba5da6d676747cc6

See more details on using hashes here.

Provenance

Supported by

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