Skip to main content

Python Integration

Leverage the powerful visualization capabilities of Geoscience ANALYST along with open-source code from the Python ecosystem.

With Geoscience ANALYST free 3D viewer, you can run Python code alongside a Jupyter notebook and instantly visualize the results. With Geoscience ANALYST Pro and the more advanced product options, you can call your custom Python scripts directly from the software’s intuitive interface using the Python menu, complete with user-designed dialog boxes for a seamless experience.

Python Training

This training material will give you the skills to leverage free and open-source software that has been made available by the community.

This resource is intended to geoscientists wanting to either automate some part of their workflow or to perform advanced analysis on their data. It is not meant to be a comprehensive Python resource – for which there are many excellent resources online.

Geoh5py

The geoh5py library was created for the manipulation and storage of a wide range of geoscientific data (points, curve, surface, 2D and 3D grids) in the GEOH5 open format.

The contents of GEOH5 files can be displayed as tables, charts, documents, maps, cross-sections, and 3D visualizations in Geoscience ANALYST free 3D viewer.

SimPEG Drivers

This documentation contains training and tutorials on how to run standalone and joint inversions of geophysical data using SimPEG and the user-interface created for Geoscience ANALYST.

Available to Geoscience ANALYST Pro Geophysics users only

GemPy Drivers

The gempy-drivers package is an interface between the GemPy implicit geo-modelling package and Mira Geoscience geoh5py geoscientific data storage package.

The applications are designed with a user-interface to be used in conjunction with Geoscience ANALYST and its geoh5 open storage format.

Available to Geoscience ANALYST Pro Geology and Pro Geophysics users 

Targeting Workflow (Prospectivity Mapping)

The Targeting Workflow is an innovative mineral exploration tool within Geoscience ANALYST Pro Geology. It empowers geologists with data science tools to identify potential mineralized areas, combining machine learning with geological insights to simplify prospectivity mapping.

Available to Geoscience ANALYST Pro Geology users only

Petro-Lingo

Petro Lingo is a Python package designed to integrate Large Language Models with Geoscience ANALYST via geoh5py.

This package encompasses a variety of applications leveraging these models to generate outputs, along with additional tools that facilitate ease of use.

Available to Geoscience ANALYST Pro Geology users only

SciGeoh5

The SciGeoh5 package is an interface between machine learning libraries, such as scikit-learn or scipy, and Mira Geoscience’s geoh5py data storage package.

This package is designed with a user-interface to be used in conjunction with Geoscience ANALYST and its geoh5 open storage format.

This package includes applications available to Geoscience ANALYST Pro Geology users, as well as others available to Pro Geophysics users.

Edge Detection | Peak Finder | Trend Lines (Curve-apps)

The curve-apps have been developed for the detection of trends in geoscientific data in a semi-automated fashion. The applications are designed with a user-interface to be used in conjunction with Geoscience ANALYST and its geoh5 open storage format.

Edge Detection and Trends Lines are available to Geoscience ANALYST Pro Geology and Pro Geophysics users. Peak Finder is for Geoscience ANALYST Pro Geophysics users only.

Octree and Block Model Creation (Grid-apps)

The grid-apps package has been developed as a user-interface for the creation and modification of grid objects and interaction with the discretize package. The result is exported directly to geoh5  format for visualization in Geoscience ANALYST.

Available to Geoscience ANALYST Pro Geophysics users only

Geoapps

The geoapps project was created by Mira Geoscience for the development of open-source geoscientific applications in Python.

Mirageoscience-app repository includes jupyter-notebook applications for geophysical data processing, modelling, and inversion codes.

File Format Interoperability with LAS and OMF

The LAS file format is a public file format for the exchange of well log data. The format includes a large header section followed by a block of depth indexed data columns. The irregular structure of the format poses a challenge for most text parsing tools. The goal of the las-geoh5 package is to leverage the existing lasio python package for reading and writing LAS files in order to convert in and out of the hdf5 format using geoh5py.

The Open Mining Format (OMF) supports interoperability with GEOH5 through a Mira Geoscience-maintained Python library that provides bidirectional conversion between the two formats. This enables the exchange of common geoscience objects—including points, curves, surfaces, and block models—along with associated numerical and categorical data, facilitating data sharing across mining and geoscience software ecosystems.

Please contact our team for additional information about our products and services

Related resources

Case studies
November, 17 2020

Using magnetic susceptibility measurements to define mineral exploration targets

Combining magnetic survey data with measured drillcore susceptibility data greatly increases the resolution and geometrical accuracy of the magnetic inversion...
Read more
Advanced geophysical interpretation, modelling and inversion
January, 21 2020

UBC-GIF or VP Suite inversion?

"The programs are complementary, and the combination gives one the ultimate flexibility in potential-field inversion,” says Kristofer Davis, Scientific Programmer at Mira Geoscience.
Read more
Technical expertise
March, 11 2025

A robust workflow for regional porphyry targeting; Application to the QUEST-South project area in southern British Columbia

Mitigating data science and statistical challenges is crucial to integrate machine learning into the everyday targeting tasks of exploration geologists.
Read more
November, 04 2021

Pointer Tracking

In GOCAD Mining Suite you can take advantage of the Pointer Tracking view to track coordinates, objects, and properties.
Read more
Company news
October, 18 2024

John McGaughey receives the Grahame Sands Award

John McGaughey, President of Mira Geoscience, receives ASEG's 2024 Grahame Sands Award for a career dedicated to innovation in applied geophysics.
Read more
Software releases
September, 02 2020

A YouTube Channel about 3D modelling

We have quite a few how-to and tutorial videos lined up on YouTube highlighting our earth modelling, interpretation, and data management software for the construction of plausible geological models.
Read more
Software tips
November, 02 2020

Taskbar icons

In GOCAD Mining Suite, icons are added to the taskbar when you open windows such as another 3D Viewer or the 3D-GIS Query panel...
Read more
Software releases
May, 13 2026

New release – Geoscience INTEGRATOR 4.3

Geoscience INTEGRATOR 4.3 introduces exciting new features to help you manage your data more efficiently and streamline your workflow
Read more
Geoscience ANALYST
July, 07 2022

Inverting time domain data in Geoscience ANALYST version 4.0 – Virtual Lecture

Kristofer inverts TEM data in 1D through Geoscience ANALYST Pro Geophysics to recover conductivity in Geoscience ANALYST 4.0...
Read more
August, 01 2021

Data display precision

In Geoscience ANALYST Data Colours panel you can control the precision of the data...
Read more
Geoscience ANALYST
May, 04 2020

Displaying drillholes

Past event, view here or via our YouTube channel...
Read more
August, 01 2021

Search for Objects – find anything, anywhere, anytime

In GOCAD Mining Suite find any objects you're looking for in no time...
Read more