Error following example script

Hi,

I have been attempting to follow the example on magnetic inversion here: Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh — SimPEG 0.19.0 documentation.

However when I attempt to run the provided python file, I get an error on line 231, the creation of a simulation object given below:
simulation = magnetics.simulation.Simulation3DIntegral(
survey=survey,
mesh=mesh,
model_type=“scalar”,
chiMap=model_map,
ind_active=active_cells,
)

The error is ‘Keyword input ‘ind_active’ is not a known property or attribute of Simulation3DIntegral’.
Have the attributes of the Simulation3DIntegral class changed since the tutorial was written? If not, does anybody have an idea on the source of this error?

Thank you,
Owen

Hi Owen,

I’m having the exact same problem. I’m tempted to try an older version of SimPEG but am worried about breaking my existing virtual environment.

I’ll be watching this space, hoping that someone helps us.

Cheers
Lindsay

Hi Owen,

After a bit of fiddling I managed to get the Sparse Norm inversion going. I rolled back to SimPEG 0.16.0, and also had to downgrade to Discretize 0.7.2 and Simulate 0.1.2. I’m using WinPy.

Cheers
Lindsay