simpeg.potential_fields.gravity.SimulationEquivalentSourceLayer#
- class simpeg.potential_fields.gravity.SimulationEquivalentSourceLayer(mesh, cell_z_top, cell_z_bottom, engine='geoana', numba_parallel=True, **kwargs)[source]#
Bases:
BaseEquivalentSourceLayerSimulation
,Simulation3DIntegral
Equivalent source layer simulations
- Parameters:
- mesh
discretize.BaseMesh
A 2D tensor or tree mesh defining discretization along the x and y directions
- cell_z_top
numpy.ndarray
orfloat
Define the elevations for the top face of all cells in the layer. If an array it should be the same size as the active cell set.
- cell_z_bottom
numpy.ndarray
orfloat
Define the elevations for the bottom face of all cells in the layer. If an array it should be the same size as the active cell set.
- engine{“geoana”, “choclo”},
optional
Choose which engine should be used to run the forward model.
- numba_parallelbool,
optional
If True, the simulation will run in parallel. If False, it will run in serial. If
engine
is not"choclo"
this argument will be ignored.
- mesh
Attributes
Gravity forward operator
Active cells in the mesh.
Elevations for the bottom face of all cells in the layer.
Elevations for the top face of all cells in the layer.
A list of solver objects to clean when the model is updated
SimPEG
Counter
object to store iterations and run-times.HasModel.deleteTheseOnModelUpdate has been deprecated.
Engine that will be used to run the simulation.
Diagonal of GtG
active_cells.ind_active has been deprecated.
The model for a linear problem physical property model.
Mesh for the integral potential field simulations.
The inversion model.
Derivative of The model for a linear problem wrt the model.
Mapping of the inversion model to The model for a linear problem.
Number of processes to use for forward modeling.
True if a model is necessary
Run simulation in parallel or single-threaded when using Numba.
Density physical property model.
Derivative of Density wrt the model.
Mapping of the inversion model to Density.
dtype of the sensitivity matrix.
Path to directory where sensitivity file is stored.
Options for storing sensitivities.
The survey for the simulation.
Verbose progress printout.
Methods
Jtvec
(m, v[, f])Sensitivity transposed times a vector
Jtvec_approx
(m, v[, f])Approximation of the Jacobian transpose times a vector for the model provided.
Jvec
(m, v[, f])Sensitivity times a vector
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.
evaluate_integral
(receiver_location, components)Compute the forward linear relationship between the model and the physics at a point and for all components of the survey.
fields
(m)Forward model the gravity field of the mesh on the receivers in the survey
getJ
(m[, f])Sensitivity matrix
getJtJdiag
(m[, W, f])Return the diagonal of JtJ
Return linear operator.
make_synthetic_data
(m[, relative_error, ...])Make synthetic data for the model and Gaussian noise provided.
residual
(m, dobs[, f])The data residual.