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
jacobianmethod will return aLinearOperatorthat calls theJvecandJtvecmethods of the SimPEG simulation. Default to False.
- Returns:
- WrappedSimulation