Hi all. I have recently tried to use Simpeg for inverting gravity data. But I face an issue when calling the Simulation3DIntegral class. I get error that I use many arguments to call, though I have been using the example from simpeg without changing anything.
In the past I have used simpeg for 1D Inversion for DC sounding with success, but yesterday when I tried to run the same script I have been using I got an error regarding the survey, which I’ve seen before.
Any ideas or/and help would be very helpful.
Theo
Hi Theo,
Thanks for opening this question. Could you provide more details on which example are you following, which version of SimPEG are you using and also share the error you are getting?
Can you share the output of running the following?
import simpeg
simpeg.Report()
If that fails, run this instead:
import SimPEG
SimPEG.Report()
Thanks,
Santi
I succeed in running the code by changing in the simulation implementation the:
active_cells=ind_active
to
ind_active=ind_active.
What I got from simpeg.Report() is the following image:
Good to know that you solved it!
And yes, having different argument names for the active cells across the classes of SimPEG is not great. We already tackled that and in the next release (SimPEG v0.23.0) you’ll be able to pass active_cells
instead of ind_active
, actInd
and indActive
to all SimPEG classes and functions.
FYI, I couldn’t see the image you shared through that third-party service. You can drag images to the text box here in Discourse to easily share them. Moreover, if you do that we don’t rely on third-party services to be up and running in the future for seeing those images. But in this case, you could copy and paste the output of simpeg.Report()
instead of sharing a screenshot, that’s actually better.
1 Like
Thank you for your answer. Good to know.