Updating MT classes,

Working on a example script to forward model impedance data
This commit is contained in:
Gudni Karl Rosenkjaer
2015-02-16 15:35:40 -08:00
parent 9aa94c95b1
commit fb717b5f31
4 changed files with 44 additions and 19 deletions
+2 -1
View File
@@ -145,6 +145,7 @@ class MTProblem(Problem.BaseProblem):
def getRHS(self, freq, backSigma):
"""
Function to return the right hand side for the system.
:param float freq: Frequency
:param numpy.ndarray (nC,) backSigma: Background conductivity model
:rtype: numpy.ndarray (nE, 2)
@@ -153,7 +154,7 @@ class MTProblem(Problem.BaseProblem):
# Get sources for the frequency
src = self.survey.getSources(freq)
# Make sure that there is 2 polarizations.
assert
# assert len()
# Get the background electric fields
from simpegMT.Sources import homo1DModelSource
eBG_bp = home1DModelSource(self.mesh,freq,backSigma)