simpeg.simulation.BaseSimulation#
- class simpeg.simulation.BaseSimulation(mesh=None, survey=None, solver=None, solver_opts=None, sensitivity_path=None, counter=None, verbose=False, **kwargs)[source]#
Bases:
HasModel
Base class for all geophysical forward simulations in SimPEG.
The
BaseSimulation
class defines properties and methods inherited by practical simulation classes in SimPEG.Important
This class is not meant to be instantiated. You should inherit from it to create your own simulation class.
- Parameters:
- mesh
discretize.base.BaseMesh
,optional
Mesh on which the forward problem is discretized.
- survey
simpeg.survey.BaseSurvey
,optional
The survey for the simulation.
- solver
None
orpymatsolver.base.Base
,optional
Numerical solver used to solve the forward problem. If
None
, an appropriate solver specific to the simulation class is set by default.- solver_opts
dict
,optional
Solver-specific parameters. If
None
, default parameters are used for the solver set bysolver
. Otherwise, thedict
must contain appropriate pairs of keyword arguments and parameter values for the solver. Please visit pymatsolver to learn more about solvers and their parameters.- sensitivity_path
str
,optional
Path to directory where sensitivity file is stored.
- counter
None
orsimpeg.utils.Counter
SimPEG
Counter
object to store iterations and run-times.- verbosebool,
optional
Verbose progress printout.
- mesh
Attributes
A list of solver objects to clean when the model is updated
SimPEG
Counter
object to store iterations and run-times.A list of properties stored on this object to delete when the model is updated
Mesh for the simulation.
The inversion model.
True if a model is necessary
Path to directory where sensitivity file is stored.
Numerical solver used in the forward simulation.
Solver-specific parameters.
The survey for the simulation.
Verbose progress printout.
Methods
Jtvec
(m, v[, f])Compute the Jacobian transpose times a vector for the model provided.
Jtvec_approx
(m, v[, f])Approximation of the Jacobian transpose times a vector for the model provided.
Jvec
(m, v[, f])Compute the Jacobian times a vector for the model provided.
Jvec_approx
(m, v[, f])Approximation of the Jacobian times a vector for the model provided.
dpred
([m, f])Predicted data for the model provided.
fields
([m])Return the computed geophysical fields for the model provided.
make_synthetic_data
(m[, relative_error, ...])Make synthetic data for the model and Gaussian noise provided.
residual
(m, dobs[, f])The data residual.
Galleries and Tutorials using simpeg.simulation.BaseSimulation
#
PF: Gravity: Tiled Inversion Linear
Magnetic inversion on a TreeMesh with remanence
Magnetic inversion on a TreeMesh
Magnetic Amplitude inversion on a TreeMesh
3D DC inversion of Dipole Dipole array
Parametric DC inversion with Dipole Dipole array
2D inversion of Loop-Loop EM Data
Time-domain CSEM for a resistive cube in a deep marine setting
EM: TDEM: Permeable Target, Inductive Source
EM: TDEM: 1D: Inversion with VTEM waveform
Predict Response from a Conductive and Magnetically Viscous Earth
Method of Equivalent Sources for Removing VRM Responses
FLOW: Richards: 1D: Forward Simulation
Petrophysically guided inversion (PGI): Linear example
Petrophysically guided inversion: Joint linear example with nonlinear relationships
Heagy et al., 2017 1D RESOLVE and SkyTEM Bookpurnong Inversions
Heagy et al., 2017 1D RESOLVE Bookpurnong Inversion
Heagy et al., 2017 Casing Example
Heagy et al., 2017 1D FDEM and TDEM inversions
PF: Gravity: Laguna del Maule Bouguer Gravity
EM: Schenkel and Morrison Casing Model
Straight Ray with Volume Data Misfit Term
1D Forward Simulation for a Single Sounding
1D Forward Simulation with Chargeable and/or Magnetic Viscosity
1D Forward Simulation with User-Defined Waveforms
3D Forward Simulation for Transient Response on a Cylindrical Mesh
3D Forward Simulation with User-Defined Waveforms
1D Inversion of Time-Domain Data for a Single Sounding
2.5D Forward Simulation of a DCIP Line
DC/IP Forward Simulation in 3D
2.5D DC Resistivity and IP Least-Squares Inversion
3D Least-Squares Inversion of DC and IP Data
1D Forward Simulation for a Single Sounding
1D Forward Simulation for a Susceptible and Chargeable Earth
3D Forward Simulation on a Cylindrical Mesh
3D Forward Simulation on a Tree Mesh
1D Inversion of for a Single Sounding
Forward Simulation of Gravity Anomaly Data on a Tensor Mesh
Forward Simulation of Gradiometry Data on a Tree Mesh
Least-Squares Inversion of Gravity Anomaly Data
Sparse Norm Inversion of Gravity Anomaly Data
Compare weighting strategy with Inversion of surface Gravity Anomaly Data
Simulate a 1D Sounding over a Layered Earth
DC Resistivity Forward Simulation in 2.5D
DC Resistivity Forward Simulation in 3D
Least-Squares 1D Inversion of Sounding Data
Sparse 1D Inversion of Sounding Data
Parametric 1D Inversion of Sounding Data
2.5D DC Resistivity Least-Squares Inversion
2.5D DC Resistivity Inversion with Sparse Norms
3D Least-Squares Inversion of DC Resistivity Data
Forward Simulation of Total Magnetic Intensity Data
Forward Simulation of Gradiometry Data for Magnetic Vector Models
Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh
Linear Least-Squares Inversion
Sparse Inversion with Iteratively Re-Weighted Least-Squares
Response from a Homogeneous Layer for Different Waveforms
Forward Simulation of VRM Response on a Tree Mesh
Forward Simulation Including Inductive Response
Forward Simulation for Straight Ray Tomography in 2D
Sparse Norm Inversion of 2D Seismic Tomography Data
Joint PGI of Gravity + Magnetic on an Octree mesh using full petrophysical information
Joint PGI of Gravity + Magnetic on an Octree mesh without petrophysical information
Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data