Skip to main content

Multiple point statistical (MPS) simulation

Project description

https://img.shields.io/pypi/v/scikit-mps.svg?style=flat-square https://img.shields.io/pypi/pyversions/scikit-mps.svg?style=flat-square https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square https://colab.research.google.com/assets/colab-badge.svg

scikit-mps is a Python interface to MPSlib, https://github.com/ergosimulation/mpslib/, which is a C++ library for geostatistical multiple point simulation, with implementations of ‘SNESIM’, ‘ENESIM’, and ‘GENESIM’

It contains three modules:
  • mpslib: Interacts with MPSlib

  • eas: read and write EAS/GSLIB formatted files

  • trainingimages: Access to a number of trainingimages

import mpslib as mps
O=mps.mpslib(method='mps_snesim_tree')
O.run()
O.plot_reals()
O.plot_etype()

PyPI

<http://pypi.python.org/pypi/scikit-mps>

Requirements

  • Numpy >= 1.0.2

  • Matplotlib >= 1.0.2

  • MPSlib needs to be downloaded, installed, and in the system path (https://github.com/ergosimulation/mpslib/) [Any 11 C++11 compiler should work, such as gcc, MinGW, MSVC]

Installing

  • Via pip:

    pip install scikit-mps

optionally download and reinstall:

import mpslib as mps
O=mps.mpslib
O.compile_mpslib()
  • From source code

cd ROOT_OF_MPSLIB/python
pip install .
cd ROOT_OF_MPSLIB
make clean
make

If you wish to develop the scikit-mps package, then install it in editable developer mode using

pip install -e .

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

scikit-mps-0.4.1.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scikit_mps-0.4.1-py2.py3-none-any.whl (2.6 MB view details)

Uploaded Python 2Python 3

File details

Details for the file scikit-mps-0.4.1.tar.gz.

File metadata

  • Download URL: scikit-mps-0.4.1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for scikit-mps-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c45d6c6f1f57b39cef773e169b6dde3d2ffef297ceb22dc822b5e57a69c755b4
MD5 35deb62f6472d63ea52ddaf80a52f977
BLAKE2b-256 63e5ce8e24d06a2c883610547993b40f06a9d9d9aa8e9b61288fab2a9818379e

See more details on using hashes here.

File details

Details for the file scikit_mps-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: scikit_mps-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for scikit_mps-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b1c9e5ddab57a0e5533b03d42a732246e3506d06543175de2e8350530a68f18d
MD5 1e855194feee31b41168533542970b2d
BLAKE2b-256 b46477ba26992bc76a30e3e6bf04ceda925304c58bd0f0df1c17c8a55fc16edd

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