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. This package helps you interpolate spatial data with Kriging technique. In the close future you'll use more spatial interpolation tools.
If you’re:
- GIS expert,
- geologist,
- mining engineer,
- ecologist,
- public health specialist,
- data scientist.
Then this package may be useful for you. You could use it for:
- spatial interpolation and spatial prediction,
- alone or with machine learning libraries,
- for point and areal datasets.
Pyinterpolate allows you to perform:
- Ordinary Kriging and Simple Kriging (spatial interpolation from points),
- Centroid-based Kriging of Polygons (spatial interpolation from blocks and areas),
- Area-to-area and Area-to-point Poisson Kriging of Polygons (spatial interpolation and data deconvolution from areas to points).
Status
Beta version: package is tested and the main structure is preserved but future changes are very likely to occur.
Setup
Setup by pip: pip install pyinterpolate / Python 3.7 is required!
Manual setup is described in the file SETUP.md: https://github.com/szymon-datalions/pyinterpolate/blob/master/SETUP.md We pointed there most common problems related to third-party packages.
Commercial and scientific projects where library has been used
- Tick-Borne Disease Detector (Data Lions company) for the European Space Agency (2019-2020).
- B2C project related to the prediction of demand for specific flu medications,
- B2G project related to the large-scale infrastructure maintenance.
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
- distance - distance calculation
- io_ops - reads and prepares input spatial datasets,
- transform - transforms spatial datasets,
- viz - interpolation of smooth surfaces from points into 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,
- semivariogram analysis and visualization methods,
- see Projects page of this repository!
Known Bugs
- (still) not detected!
Metadata
Release files for pyinterpolate 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyinterpolate-0.2.2.tar.gz | 41.7 kB | Without provenance | Details for pyinterpolate-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyinterpolate-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for pyinterpolate-0.2.2-py3-none-any.whl |
Total release size: 111.3 kB
Release files / pyinterpolate-0.2.2.tar.gz
| Download URL | pyinterpolate-0.2.2.tar.gz |
|---|---|
| Size | 41.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53f17618b8c556dae613ef84ee6a5e2be108a1441271af71f8e8c9bf9ebdc449
|
|
BLAKE2b-256 checksum How to use checksums |
d0cf0ec9a7b1fd964dd0fe5753b49bae133086786dc6beda8712d9c7638ef9a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.9
|
Release files / pyinterpolate-0.2.2-py3-none-any.whl
| Download URL | pyinterpolate-0.2.2-py3-none-any.whl |
|---|---|
| Size | 69.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3b3554820902804c5fae66d6303f0d5473b61f0b3f30f72e3e4b39673390954
|
|
BLAKE2b-256 checksum How to use checksums |
a07c97e607e9f211e7257c5f0c4319dd83db2d12c7b84bb42919c83c3a320c45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.9
|
Security for pyinterpolate 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.