# SimPEG.potential_fields.magnetics.analytics.MagSphereAnaFun#

SimPEG.potential_fields.magnetics.analytics.MagSphereAnaFun(x, y, z, R, x0, y0, z0, mu1, mu2, H0, flag='total')[source]#

test Analytic function for Magnetics problem. The set up here is magnetic sphere in whole-space assuming that the inducing field is oriented in the x-direction.

• (x0, y0, z0)

• (x0, y0, z0 ): is the center location of sphere

• r: is the radius of the sphere

$\mathbf{H}_0 = H_0\hat{x}$