SimPEG.directives.ProjectSphericalBounds#

class SimPEG.directives.ProjectSphericalBounds(inversion=None, dmisfit=None, reg=None, verbose=False, **kwargs)[source]#

Bases: InversionDirective

Trick for spherical coordinate system. Project \(\theta\) and \(\phi\) angles back to \([-\pi,\pi]\) using back and forth conversion. spherical->cartesian->spherical

Attributes

debug

verbose.debug has been deprecated.

dmisfit

Data misfit associated with the directive.

invProb

Inverse problem associated with the directive.

inversion

Inversion object associated with the directive.

opt

Optimization algorithm associated with the directive.

reg

Regularization associated with the directive.

simulation

Return simulation for all data misfits.

survey

Return survey for all data misfits

verbose

Whether or not to print debugging information.

Methods

endIter()

Update inversion parameter(s) according to directive at end of iteration.

finish()

Update inversion parameter(s) according to directive at end of inversion.

initialize()

Initialize inversion parameter(s) according to directive.

validate([directiveList])

Validate directive.

Galleries and Tutorials using SimPEG.directives.ProjectSphericalBounds#

Magnetic inversion on a TreeMesh

Magnetic inversion on a TreeMesh