Closed santisoler closed 3 months ago
I should update some of the tutorials, so they make use of the default depth strategy. We can also include some information on why setting the depth to a numerical value and its consequences.
@indiauppal would you like to check this PR out?
Change the default value of the
depth
argument inEquivalentSources
to"default"
. If this value is passed, then the depth of the sources is set as 4.5 times the mean distance between first neighbouring sources. If a numerical value is passed, this is the one that will be used. Introduce a newdepth_
attribute where the estimated/passed numeric value is stored. Ifpoints
is passed, thedepth_
attribute is set to None. Add a test checking that the depth value is properly set. Merge the tests functions that checked the accuracy of equivalent sources using different dtypes.Relevant issues/PRs:
Fixes #424