Need help with gimli?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

158 Stars 74 Forks Apache License 2.0 3.5K Commits 19 Opened issues


Geophysical Inversion and Modeling Library :earth_africa:

Services available


Need anything else?

Contributors list

license release Github commits (since latest release)

pyGIMLi is an open-source library for modelling and inversion and in geophysics. The object-oriented library provides management for structured and unstructured meshes in 2D and 3D, finite-element and finite-volume solvers, various geophysical forward operators, as well as Gauss-Newton based frameworks for constrained, joint and fully-coupled inversions with flexible regularization.

What is pyGIMLi suited for?

  • analyze, visualize and invert geophysical data in a reproducible manner
  • forward modelling of (geo)physical problems on complex 2D and 3D geometries
  • inversion with flexible controls on a-priori information and regularization
  • combination of different methods in constrained, joint and fully-coupled inversions
  • teaching applied geophysics (e.g. in combination with Jupyter notebooks)

What is pyGIMLi NOT suited for?

  • for people that expect a ready-made GUI for interpreting their data

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

On all platforms, we recommend to install pyGIMLi via the conda package manager contained in the Anaconda distribution. For details on how to install Anaconda, we refer to:

To avoid conflicts with other packages, we recommend to install pygimli in a separate environment. Here we call this environment pg, but you can give it any name. Note that this environment has to be created only once.

conda create -n pg -c gimli -c conda-forge pygimli=1.1.0

If you are using Windows or Mac, a new environment named “pg” should be visible in the Anaconda Navigator. If you want to use pygimli from the command line, you have to activate the environment. You can put this line in your ~/.bashrc file so that it is activated automatically if you open a terminal.

conda activate pg

See for more information.

Import convention
import pygimli as pg

Check for additional information, detailed installation instructions and many examples.

Citing pyGIMLi

More information can be found in this paper. If you use pyGIMLi for your work, please cite as:

Rücker, C., Günther, T., Wagner, F.M., 2017. pyGIMLi: An open-source library for modelling and inversion in geophysics, Computers and Geosciences, 109, 106-123, doi: 10.1016/j.cageo.2017.07.011.

BibTeX code:

  title = "{pyGIMLi}: An open-source library for modelling and inversion in geophysics",
  journal = "Computers and Geosciences",
  volume = "109",
  number = "",
  pages = "106--123",
  year = "2017",
  issn = "0098-3004",
  doi = "10.1016/j.cageo.2017.07.011",
  url = "",
  author = "Carsten R\"ucker and Thomas G\"unther and Florian M. Wagner"

pyGIMLi is distributed under the terms of the Apache 2.0 license. Details on the license agreement can be found here.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.