GispoCoding / eis_toolkit

Python library for mineral prospectivity mapping
https://eis-he.eu/
European Union Public License 1.2
19 stars 7 forks source link

Add Mahalanobis similarity #185

Open iiroseppa opened 1 year ago

iiroseppa commented 1 year ago

Mahalanobis distance

The idea:

Inputs:

Geotiff with different geophysical measurements in each band

Known mineral occurences: current testing implementation takes csv that contains values sampled from the Geotiff. However this is just for alpha testing. Further revisions should just ask a shapefile, geopackage or similar that has the locations of the known mineral occurences. Then the geotiff values at these locations should be sampled. This reduces user work considerably

Outputs

printed: multivariate normality test results possible warnings 2 Geotiffs, that have the same geographical extent as the original geotiff

iiroseppa commented 1 year ago

A jupyter notebook prototype has been created for this, and I would like to create draft pull request for it. I'll probably need write permissions that I don't currently have. With those I could create a new branch where I could create a draft pull request . Please correct me if I have misunderstood something.

nmaarnio commented 1 year ago

I gave you write permissions now @iiroseppa , sorry for the delay.