prospectPredictor
This is a pretty simple prospectivity prediction package that predicts the prospectivity of an element based on how close it is to different bedrock units.
Overview of Package
The package utilizes 3 main classes.
PrepShapes
handles exploring and prepping a shapefile and determining the project boundary. It can read in a single shapefile (using geopandas) and then you can use it to select the polygons of interest.
RasterTemplate
uses the previously initialized PrepShapes() class to help you setup the raster template used by the predictor to predict prospectivity at a specified location.
PredictByDistance
the predictor class that predicts the likelihood based on distance to shapes of interest and the weighting schema architect. The predictor class uses the previously initialized PrepShapes() and RasterTemplate() classes. Only one prediction architect is currently implemented.
Prediction Weighting Schema
Currently this package uses a pseudo variogram style weighting schema with the following model (for location i and as an example 2 distances)
Generating a prospectivity heat map
Using the package you can generate a heat map with liklihood of finding the element (based on a distance from 2 or more shape categories). The predictor generates prediction values ranging from 0, being least likely (i.e. 0%), to 1, being most likely (i.e. 100%). As an example here is a heat map generated from the included dataset.
Example
An example.ipynb is included in the repo to demostate how to use the package.
Dataset
the included dataset is from the British Columbia Geologica Survey.
Metadata
Release files for prospectpredictor 0.1.1
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 |
|---|---|---|---|---|
| prospectpredictor-0.1.1.tar.gz | 13.5 kB | Without provenance | Details for prospectpredictor-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prospectpredictor-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for prospectpredictor-0.1.1-py3-none-any.whl |
Total release size: 27.6 kB
Release files / prospectpredictor-0.1.1.tar.gz
| Download URL | prospectpredictor-0.1.1.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b375f0436b60fd9d5fdbb183b6e1382d9963d50db181ee2c8212e7daaeb18bf
|
|
BLAKE2b-256 checksum How to use checksums |
e78f537b2ff377965d81e19cb577acff29334c449d2dfde08d42a3f4ee6f486a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2
|
Release files / prospectpredictor-0.1.1-py3-none-any.whl
| Download URL | prospectpredictor-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac07dbfa77ffa918caf0370250fc67cb81f42510fe93a4bd6f7bba35b8d9427a
|
|
BLAKE2b-256 checksum How to use checksums |
34880c2a8697ddf18854a7eba9959ddc88914a9e52e842aee05ad893f89c86f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2
|
Security for prospectpredictor 0.1.1
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.