inversion_ideas.wrap_simulation#

inversion_ideas.wrap_simulation(simulation, *, store_jacobian=False)#

Wrap a SimPEG’s simulation.

Parameters:
simulationobject

Instance of a SimPEG simulation.

store_jacobianbool, optional

Whether to store the jacobian matrix as a dense or sparse matrix. If False, the jacobian method will return a LinearOperator that calls the Jvec and Jtvec methods of the SimPEG simulation. Default to False.

Returns:
WrappedSimulation