Rearrange Framework

This commit is contained in:
rowanc1
2014-05-17 00:14:22 -07:00
parent 6376f5dd4e
commit b33ec1828c
14 changed files with 351 additions and 316 deletions
+52
View File
@@ -0,0 +1,52 @@
.. _api_DataMisfit:
Data Misfit
***********
The data misfit using an l_2 norm is:
.. math::
\mu_\text{data} = {1\over 2}\left| \mathbf{W}_d (\mathbf{d}_\text{pred} - \mathbf{d}_\text{obs}) \right|_2^2
If the field, u, is provided, the calculation of the data is fast:
.. math::
\mathbf{d}_\text{pred} = \mathbf{Pu(m)}
\mathbf{R} = \mathbf{W}_d (\mathbf{d}_\text{pred} - \mathbf{d}_\text{obs})
Where P is a projection matrix that brings the field on the full domain to the data measurement locations;
u is the field of interest; d_obs is the observed data; and \\\(\\mathbf{W}_d\\\) is the weighting matrix.
The derivative of this, with respect to the model, is:
.. math::
\frac{\partial \mu_\text{data}}{\partial \mathbf{m}} = \mathbf{J}^\top \mathbf{W}_d \mathbf{R}
The second derivative is:
.. math::
\frac{\partial^2 \mu_\text{data}}{\partial^2 \mathbf{m}} = \mathbf{J}^\top \mathbf{W}_d \mathbf{W}_d \mathbf{J}
The API
=======
.. autoclass:: SimPEG.DataMisfit.BaseDataMisfit
:members:
:undoc-members:
Common Data Misfits
===================
l2 norm
-------
.. autoclass:: SimPEG.DataMisfit.l2_DataMisfit
:members:
:undoc-members:
+3
View File
@@ -20,6 +20,7 @@ import sys, os
sys.path.append('../')
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -242,3 +243,5 @@ texinfo_documents = [
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
autodoc_member_order = 'bysource'
+2 -1
View File
@@ -47,8 +47,9 @@ Inversion
*********
.. toctree::
:maxdepth: 2
:maxdepth: 3
api_DataMisfit
api_Inverse
api_Parameters
Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 45 KiB