SimPEG.meta.MetaSimulation#

class SimPEG.meta.MetaSimulation(simulations, mappings)[source]#

Bases: SimPEG.simulation.BaseSimulation

Combine multiple simulations into a single one.

This class is used to encapsulate multiple simulations into a single simulation. Each simulation and mapping pair will perform its own work, then concatenate the results together.

For each mapping and simulation pair, given a model, this first applies the mapping, then passes the resulting model to the simulation.

With the proper mappings this can be useful for setting up time-lapse, tiled, stitched, or any other simulation that can be broken into many individual simulations.

Parameters
simulations(n_sim) list of SimPEG.simulation.BaseSimulation

The list of unique simulations that each handle a piece of the problem.

mappings(n_sim) list of SimPEG.maps.IdentityMap

The map for every simulation. Every map should accept the same length model, and output a model appropriate for its paired simulation.

Examples

Attributes

deleteTheseOnModelUpdate

A list of properties stored on this object to delete when the model is updated

mappings

The mappings paired to each simulation.

model

The inversion model.

simulations

The list of simulations.

Methods

Jtvec(m, v[, f])

Jtv = Jtvec(m, v, f=None) Effect of transpose of J(m) on a vector v.

Jvec(m, v[, f])

Jv = Jvec(m, v, f=None) Effect of J(m) on a vector v.

dpred(m[, f])

Create the projected data from a model.

fields(m)

Create fields for every simulation.

getJtJdiag(m[, W, f])

Return the squared sum of columns of the Jacobian.