# Getting Started

**URL:** https://simpeg.discourse.group/c/getting-started/5.md

[Latest](https://simpeg.discourse.group/latest.md) · [Categories](https://simpeg.discourse.group/categories.md)

---

## [About the Getting Started category](https://simpeg.discourse.group/t/about-the-getting-started-category/13)

<div class="topic-metadata">

**Author:** [@lheagy](https://simpeg.discourse.group/u/lheagy)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 11:51pm UTC](https://simpeg.discourse.group/t/about-the-getting-started-category/13 "2021-09-02T23:51:11Z")

</div>

This is a place to ask general questions about SimPEG, getting started with the code, finding examples, and getting to know the community. Post questions here about: installing SimPEG, contributing, setting up a new pro…

---

## [Welcome to the SimPEG Discourse](https://simpeg.discourse.group/t/welcome-to-the-simpeg-discourse/7)

<div class="topic-metadata">

**Author:** [@lheagy](https://simpeg.discourse.group/u/lheagy)\
**Replies:** 3\
**Last updated:** [November 3, 2026, 5:47am UTC](https://simpeg.discourse.group/t/welcome-to-the-simpeg-discourse/7 "2026-11-03T05:47:35Z")

</div>

Welcome to the SimPEG discourse! This is a place for the SimPEG community to interact with one another, ask questions, share ideas, find collaborators, ask for help, and provide support to other community members. Who i…

---

## [Can SimPEG use GPU?](https://simpeg.discourse.group/t/can-simpeg-use-gpu/632)

<div class="topic-metadata">

**Author:** [@anagmantilla](https://simpeg.discourse.group/u/anagmantilla)\
**Replies:** 4\
**Last updated:** [October 30, 2026, 10:51pm UTC](https://simpeg.discourse.group/t/can-simpeg-use-gpu/632 "2026-10-30T22:51:15Z")

</div>

Hi, I would like to know if there is a way to use GPU with SimPEG. Especially doing 3D inversions, which usually take a lot of time. Thanks

---

## [TensorMesh.write\_vtk](https://simpeg.discourse.group/t/tensormesh-write-vtk/806)

<div class="topic-metadata">

**Author:** [@Olaf\_Arroyo](https://simpeg.discourse.group/u/Olaf_Arroyo)\
**Replies:** 1\
**Last updated:** [August 18, 2026, 7:16pm UTC](https://simpeg.discourse.group/t/tensormesh-write-vtk/806 "2026-08-18T19:16:11Z")

</div>

Hello! I´m running the first part of the example “3D Inversion of Gravity Anomaly Data”, exactly until the plot of the inversion using a tensor mesh. I try to create a vtk file, for visualization in Paraview, so I add …

---

## [Running PGI demo in PyCharm](https://simpeg.discourse.group/t/running-pgi-demo-in-pycharm/738)

<div class="topic-metadata">

**Author:** [@MarcV](https://simpeg.discourse.group/u/MarcV)\
**Replies:** 1\
**Last updated:** [November 22, 2025, 12:37am UTC](https://simpeg.discourse.group/t/running-pgi-demo-in-pycharm/738 "2025-11-22T00:37:09Z")

</div>

I get the following error when I run the plot\_inv\_0\_PGI\_Linear\_1D.py example on PyCharm, I run into the following error: C:\\Users\\Marc\\Documents\\Logiciels\\Alphatrim\\SimPEG\_0.24\\Scripts\\python.exe C:\\Users\\Marc\\Documents…

---

## [TreeMesh.write\_vtk](https://simpeg.discourse.group/t/treemesh-write-vtk/736)

<div class="topic-metadata">

**Author:** [@dsherman42](https://simpeg.discourse.group/u/dsherman42)\
**Replies:** 1\
**Last updated:** [October 8, 2025, 8:12pm UTC](https://simpeg.discourse.group/t/treemesh-write-vtk/736 "2025-10-08T20:12:22Z")

</div>

Hi all, I have tried using the TreeMesh.write\_vtk method to output the final models of my 3d mag inversion to vtk format, but an error tells me that write\_vtk is not associated with my mesh. Is this no longer a supporte…

---

## [Zero active cell](https://simpeg.discourse.group/t/zero-active-cell/696)

<div class="topic-metadata">

**Author:** [@Shruti](https://simpeg.discourse.group/u/Shruti)\
**Replies:** 0\
**Last updated:** [April 4, 2025, 1:25pm UTC](https://simpeg.discourse.group/t/zero-active-cell/696 "2025-04-04T13:25:48Z")

</div>

i have my easting northing as receiver location along with elevation. But when i use it for making a tensor mesh the code says no active cell found. what could be possible problem? Can someone explain me the workflow and…

---

## [1D FDEM reciever location problem](https://simpeg.discourse.group/t/1d-fdem-reciever-location-problem/662)

<div class="topic-metadata">

**Author:** [@izoud](https://simpeg.discourse.group/u/izoud)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 12:39pm UTC](https://simpeg.discourse.group/t/1d-fdem-reciever-location-problem/662 "2025-02-18T12:39:05Z")

</div>

Hello, I’m new to simpeg, maybe someone can give me an advice on following topic: I want to use it for 1D FDEM Forward Simulation. The assumption is that the source is on the ground and the receiver is in the air. I set…

---

## [Gravity: is it possible to do the simulation for 2D model by setting y axis as a single value?](https://simpeg.discourse.group/t/gravity-is-it-possible-to-do-the-simulation-for-2d-model-by-setting-y-axis-as-a-single-value/255)

<div class="topic-metadata">

**Author:** [@Astor](https://simpeg.discourse.group/u/Astor)\
**Replies:** 4\
**Last updated:** [November 26, 2024, 4:11am UTC](https://simpeg.discourse.group/t/gravity-is-it-possible-to-do-the-simulation-for-2d-model-by-setting-y-axis-as-a-single-value/255 "2024-11-26T04:11:58Z")

</div>

Hi, I saw there are forward and inversion examples for gravity based on a 3D model. I need to do some verification on a 2D model. So I would like to know how can I do the simulation based on a 2D model. Is it possible b…

---

## [Gravity anomaly Inversion issue](https://simpeg.discourse.group/t/gravity-anomaly-inversion-issue/614)

<div class="topic-metadata">

**Author:** [@GoatSuey](https://simpeg.discourse.group/u/GoatSuey)\
**Replies:** 4\
**Last updated:** [October 30, 2024, 8:39pm UTC](https://simpeg.discourse.group/t/gravity-anomaly-inversion-issue/614 "2024-10-30T20:39:44Z")

</div>

Hi all. I have recently tried to use Simpeg for inverting gravity data. But I face an issue when calling the Simulation3DIntegral class. I get error that I use many arguments to call, though I have been using the example…

---

## [No module named 'simpeg'](https://simpeg.discourse.group/t/no-module-named-simpeg/582)

<div class="topic-metadata">

**Author:** [@guzmanem](https://simpeg.discourse.group/u/guzmanem)\
**Replies:** 0\
**Last updated:** [June 24, 2024, 4:33am UTC](https://simpeg.discourse.group/t/no-module-named-simpeg/582 "2024-06-24T04:33:41Z")

</div>

I tried to load simpeg moduled using “import simpeg” According to the tutorials and examples from github repo, but I got this result: Eventually, I realized I needed to use ‘import SimPEG’. Don’t we need to change …

---

## [How to view Latex formula in github code](https://simpeg.discourse.group/t/how-to-view-latex-formula-in-github-code/524)

<div class="topic-metadata">

**Author:** [@wangsihao](https://simpeg.discourse.group/u/wangsihao)\
**Replies:** 0\
**Last updated:** [November 8, 2023, 6:43am UTC](https://simpeg.discourse.group/t/how-to-view-latex-formula-in-github-code/524 "2023-11-08T06:43:03Z")

</div>

I’m a PHD student try to read the formula in github code like : \\phi (\\mathbf{m\_0}) = \\phi\_d (\\mathbf{m\_0}) + \\beta\_0 \\phi\_m (\\mathbf{m\_0}) . Is there any method to view such formulas like this ?

---

## [About gravity inversion](https://simpeg.discourse.group/t/about-gravity-inversion/517)

<div class="topic-metadata">

**Author:** [@go\_future](https://simpeg.discourse.group/u/go_future)\
**Replies:** 0\
**Last updated:** [October 30, 2023, 12:19pm UTC](https://simpeg.discourse.group/t/about-gravity-inversion/517 "2023-10-30T12:19:09Z")

</div>

when I finish a 3d gravity forward and inverion, I find a question which is the recovery model is positioned shallower than the real model you create 。what should I do to solve it ,thank you .

---

## [Error following example script](https://simpeg.discourse.group/t/error-following-example-script/466)

<div class="topic-metadata">

**Author:** [@oaover](https://simpeg.discourse.group/u/oaover)\
**Replies:** 2\
**Last updated:** [October 7, 2023, 2:01pm UTC](https://simpeg.discourse.group/t/error-following-example-script/466 "2023-10-07T14:01:20Z")

</div>

Hi, I have been attempting to follow the example on magnetic inversion here: Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh — SimPEG 0.19.0 documentation. However when I attempt to run the pro…

---

## [Simulation3DDiferential (gravity, magnetics)](https://simpeg.discourse.group/t/simulation3ddiferential-gravity-magnetics/509)

<div class="topic-metadata">

**Author:** [@Gio](https://simpeg.discourse.group/u/Gio)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 12:29pm UTC](https://simpeg.discourse.group/t/simulation3ddiferential-gravity-magnetics/509 "2023-10-03T12:29:16Z")

</div>

Hi, I’m trying to get my head around how to work with Simulation3DDifferential. But so far I don’t get beyond the basic call to sim = Simulation3DDifferential(mesh, survey). Does it explicitly need any other parameter v…

---

## [Issue with the installation of SimPEG in windows](https://simpeg.discourse.group/t/issue-with-the-installation-of-simpeg-in-windows/489)

<div class="topic-metadata">

**Author:** [@ndanda](https://simpeg.discourse.group/u/ndanda)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 9:37pm UTC](https://simpeg.discourse.group/t/issue-with-the-installation-of-simpeg-in-windows/489 "2023-08-08T21:37:19Z")

</div>

Python 3.10.9 | packaged by Anaconda, Inc. | (main, Mar 1 2023, 18:18:15) \[MSC v.1916 64 bit (AMD64)\] Type “copyright”, “credits” or “license” for more information. IPython 8.12.0 – An enhanced Interactive Python. ru…

---

## [Whether SimPEG can use GPU to accelerate calculations. When I used it to invert 3D DC resistivity, it took too long to run, I was hoping to parallelize it using cuda. Thanks](https://simpeg.discourse.group/t/whether-simpeg-can-use-gpu-to-accelerate-calculations-when-i-used-it-to-invert-3d-dc-resistivity-it-took-too-long-to-run-i-was-hoping-to-parallelize-it-using-cuda-thanks/453)

<div class="topic-metadata">

**Author:** [@go\_future](https://simpeg.discourse.group/u/go_future)\
**Replies:** 0\
**Last updated:** [June 1, 2023, 12:54am UTC](https://simpeg.discourse.group/t/whether-simpeg-can-use-gpu-to-accelerate-calculations-when-i-used-it-to-invert-3d-dc-resistivity-it-took-too-long-to-run-i-was-hoping-to-parallelize-it-using-cuda-thanks/453 "2023-06-01T00:54:04Z")

</div>

Whether SimPEG can use GPU to accelerate calculations. When I used it to invert 3D DC resistivity, it took too long to run, I was hoping to parallelize it using cuda. Thanks

---

## [Help with simpegEM1D](https://simpeg.discourse.group/t/help-with-simpegem1d/194)

<div class="topic-metadata">

**Author:** [@asf108](https://simpeg.discourse.group/u/asf108)\
**Replies:** 5\
**Last updated:** [April 17, 2023, 7:01am UTC](https://simpeg.discourse.group/t/help-with-simpegem1d/194 "2023-04-17T07:01:13Z")

</div>

Hello, thanks to the deveolpers, this library has been very helpful, I’m not sure if this is the right place to ask this: Has anybody used simpegEM1D? This is a package for simulation and inversion of electromagnetic …

---

## [Creating Mesh using Quadtree and save it as x,y,w,h](https://simpeg.discourse.group/t/creating-mesh-using-quadtree-and-save-it-as-x-y-w-h/407)

<div class="topic-metadata">

**Author:** [@mohseniaref](https://simpeg.discourse.group/u/mohseniaref)\
**Replies:** 0\
**Last updated:** [January 16, 2023, 2:39pm UTC](https://simpeg.discourse.group/t/creating-mesh-using-quadtree-and-save-it-as-x-y-w-h/407 "2023-01-16T14:39:24Z")

</div>

How do I generate a mesh using a 3D numpy array (location and value like in a DEM \[digital elevation model\]) in Python and save it as x, y, w, h (center location, width, and height)? I would like to create mesh using el…

---

## [Issue found importing SimPEG/empymod regarding "numba" in a HPC cluster](https://simpeg.discourse.group/t/issue-found-importing-simpeg-empymod-regarding-numba-in-a-hpc-cluster/366)

<div class="topic-metadata">

**Author:** [@Kyubo](https://simpeg.discourse.group/u/Kyubo)\
**Replies:** 3\
**Last updated:** [September 16, 2022, 3:30pm UTC](https://simpeg.discourse.group/t/issue-found-importing-simpeg-empymod-regarding-numba-in-a-hpc-cluster/366 "2022-09-16T15:30:04Z")

</div>

Hi, SimPEG community! I’ve been enjoying my experience using my windows/Linux PC setup for SimPEG and now I am trying to use it for a more scaled-up problem in HPC setup. I think I found an issue when importing empymod …

---

## [Loading petrophysical file](https://simpeg.discourse.group/t/loading-petrophysical-file/360)

<div class="topic-metadata">

**Author:** [@shreya](https://simpeg.discourse.group/u/shreya)\
**Replies:** 1\
**Last updated:** [September 7, 2022, 7:07pm UTC](https://simpeg.discourse.group/t/loading-petrophysical-file/360 "2022-09-07T19:07:59Z")

</div>

I am not able to load a .p extension file with simpeg. It says No module named ‘SimPEG.Utils’. Please resolve my issue. Thank you in advance. Below is the code that I am using A= open(‘C:\\Users\\Astic-2020-JointInversion…

---

## [Inversion -- Q&A](https://simpeg.discourse.group/t/inversion-q-a/230)

<div class="topic-metadata">

**Author:** [@prisae](https://simpeg.discourse.group/u/prisae)\
**Replies:** 9\
**Last updated:** [September 7, 2022, 6:48pm UTC](https://simpeg.discourse.group/t/inversion-q-a/230 "2022-09-07T18:48:28Z")

</div>

(As discussed in Slack and at the weekly meeting.) The documentation of the inversion implemented in SimPEG is… sparse. As such we agreed to have a (recorded) session with the Core Devs of the inversion framework, wher…

---

## [How to obtain the Jacobian matrix?](https://simpeg.discourse.group/t/how-to-obtain-the-jacobian-matrix/217)

<div class="topic-metadata">

**Author:** [@geohang](https://simpeg.discourse.group/u/geohang)\
**Replies:** 2\
**Last updated:** [September 4, 2022, 2:35pm UTC](https://simpeg.discourse.group/t/how-to-obtain-the-jacobian-matrix/217 "2022-09-04T14:35:53Z")

</div>

Hi, all! I want to do inversion by myself through SimPEG, so I need the Jacobian matrix. Does anyone know how to obtain the Jacobian matrix in SimPEG. Thanks! Hang

---

## [Model defined on edges or faces?](https://simpeg.discourse.group/t/model-defined-on-edges-or-faces/354)

<div class="topic-metadata">

**Author:** [@1apsus](https://simpeg.discourse.group/u/1apsus)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 5:10pm UTC](https://simpeg.discourse.group/t/model-defined-on-edges-or-faces/354 "2022-08-25T17:10:28Z")

</div>

Hello, As far as I understood from SimPEG and geophysics inverse problem, the model are always scalar field built on cell centers (or nodes). Could it be possible to use the SimPEG framework with a model defined on edg…

---

## [Magnetic Linear Inverse Problem](https://simpeg.discourse.group/t/magnetic-linear-inverse-problem/343)

<div class="topic-metadata">

**Author:** [@1apsus](https://simpeg.discourse.group/u/1apsus)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 10:08am UTC](https://simpeg.discourse.group/t/magnetic-linear-inverse-problem/343 "2022-07-01T10:08:35Z")

</div>

Hello, I am working on Reconstruction of current distribution from Magnetic field measurements. By using Biot&Svart’s law, we can obtain a linear inverse problem of the form: d = Gm, where d is the Magnetic field measu…

---

## [Running resistive casing](https://simpeg.discourse.group/t/running-resistive-casing/300)

<div class="topic-metadata">

**Author:** [@mhovers](https://simpeg.discourse.group/u/mhovers)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 6:50pm UTC](https://simpeg.discourse.group/t/running-resistive-casing/300 "2022-06-06T18:50:39Z")

</div>

I have cloned a python library for casing modeling using instructions provided in a README.md file: Step 1: git clone GitHub - simpeg-research/lbnl-2019-resistive-casing: A notebook which runs a frequency domain electr…

---

## [How to step into simpeg function in debug mode?](https://simpeg.discourse.group/t/how-to-step-into-simpeg-function-in-debug-mode/308)

<div class="topic-metadata">

**Author:** [@kane](https://simpeg.discourse.group/u/kane)\
**Replies:** 0\
**Last updated:** [April 26, 2022, 6:31am UTC](https://simpeg.discourse.group/t/how-to-step-into-simpeg-function-in-debug-mode/308 "2022-04-26T06:31:47Z")

</div>

I want to step into the function LinearSimulation(Line,61) using F11. but the vscode jump into another python file named base.py , which is not the simulation.py that includes the goal function LinearSimulation. Why thi…

---

## [Versions of packages](https://simpeg.discourse.group/t/versions-of-packages/301)

<div class="topic-metadata">

**Author:** [@mhovers](https://simpeg.discourse.group/u/mhovers)\
**Replies:** 0\
**Last updated:** [April 2, 2022, 3:16pm UTC](https://simpeg.discourse.group/t/versions-of-packages/301 "2022-04-02T15:16:04Z")

</div>

I am trying to run an example for FDEM response of steel casings, “heagy-2018-emcyl”. After downloading andfollowing install instructions when I run it in Jupyter notebooks I get: ImportError …

---

## [Potential field inversion - VisibleDeprecationWarning](https://simpeg.discourse.group/t/potential-field-inversion-visibledeprecationwarning/247)

<div class="topic-metadata">

**Author:** [@glev](https://simpeg.discourse.group/u/glev)\
**Replies:** 0\
**Last updated:** [August 3, 2021, 5:04pm UTC](https://simpeg.discourse.group/t/potential-field-inversion-visibledeprecationwarning/247 "2021-08-03T17:04:53Z")

</div>

Dear SimPEG users, When running and inversion on potential field data, sometime the log window shows a warning with the “Beta phi\_m phi\_m …” etc info for every iteration quote …Anaconda3\\envs\\geoapps\\lib\\site-package…

---

## [Sparse Regularization (L1)](https://simpeg.discourse.group/t/sparse-regularization-l1/229)

<div class="topic-metadata">

**Author:** [@fal](https://simpeg.discourse.group/u/fal)\
**Replies:** 2\
**Last updated:** [June 4, 2021, 2:36am UTC](https://simpeg.discourse.group/t/sparse-regularization-l1/229 "2021-06-04T02:36:45Z")

</div>

Can I handle L1 regularization? http://docs.simpeg.xyz/content/api\_cor/api\_Regularization.html#sparse-regularization I’ve read the API reference, but it’s not clear. If you have a detailed explanation or literature, …

[Next page](https://simpeg.discourse.group/c/getting-started/5.md?page=1)
