Skip to main content
Log in

pyMPSLib: A robust and scalable open-source Python library for mutiple-point statistical simulation

  • RESEARCH
  • Published:
Earth Science Informatics Aims and scope Submit manuscript

Abstract

Python has become an essential programming language for scientific computing and data analysis and processing. Various multiple-point statistics (MPS) algorithms are used to characterize complex heterogeneous structures and phenomena in earth sciences. However, there is currently no Python library that integrates mainstream MPS methods for simulation and computation in geosciences. Aiming to establish a stable MPS tool, we developed an open-source Python library of commonly used MPS methods, named pyMPSLib. pyMPSLib consists of ENESIM, SNESIM, and DS algorithms and provides a flexible and convenient API interface. To ensure the maintainability of pyMPSLib, the Python objects and toolkits of MPS algorithms are defined and implemented. To improve the compatibility and extensibility of the presented library, uniform coding standard is adopted in pyMPSLib. We performed the parameter sensitivity analysis under multiple configurations to validate the performance of the library. This open-source library also provides optional tools to quantitatively evaluate the realizations of the integrated MPS methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data and code availability

All data used in this study and the source code of pyMPSLib are available on GitHub at https://github.com/GS-3DMG/pyMPSLib.

References

Download references

Acknowledgements

The authors would like to thank the reviewers and the editor for the constructive feedback and the insightful comments on the manuscript which greatly improved the work.

Funding

This work is supported by the National Natural Science Foundation of China (42172333, 41902304, U1711267) and the Knowledge Innovation Program of Wuhan-Shuguang Project (2022010801020206).

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and design. Material preparation, data collection and analysis were performed by Qiyu Chen, Ruihong Zhou, Cui Liu, Qianhong Huang. The first draft of the manuscript was written by Qiyu Chen. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Qiyu Chen.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Communicated by: Xiang Que

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, Q., Zhou, R., Liu, C. et al. pyMPSLib: A robust and scalable open-source Python library for mutiple-point statistical simulation. Earth Sci Inform 16, 3179–3190 (2023). https://doi.org/10.1007/s12145-023-01086-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12145-023-01086-5

Keywords

Navigation