Removed rxPair from the source, which was causing a bug.

This commit is contained in:
GudniRos
2016-01-25 22:23:29 -08:00
parent f3bf17ebe5
commit bd488a4f0b
2 changed files with 4 additions and 3 deletions
+1 -3
View File
@@ -1,11 +1,10 @@
from SimPEG import Survey, Utils, Problem, Maps, np, sp, mkvc
from SimPEG import Utils, Problem, Maps, np, sp, mkvc
from SimPEG.EM.FDEM.SrcFDEM import BaseSrc as FDEMBaseSrc
from SimPEG.EM.Utils import omega
from scipy.constants import mu_0
from numpy.lib import recfunctions as recFunc
from Sources import homo1DModelSource
from Utils import rec2ndarr
from SurveyMT import Rx
import sys
#################
@@ -22,7 +21,6 @@ class BaseMTSrc(FDEMBaseSrc):
'''
freq = None #: Frequency (float)
rxPair = Rx
def __init__(self, rxList, freq):
+3
View File
@@ -230,6 +230,9 @@ class Rx(SimPEGsurvey.BaseRx):
# Calculate the complex derivative
PDeriv_complex = Hd * (ZijN_uV - Zij * Hd_uV )
elif self.projTyep is 'T3D':
raise NotImplementedError('Has not been implement for 3D tipper tensor')
# Extract the real number for the real/imag components.
Pv = np.array(getattr(PDeriv_complex, real_or_imag))
elif adjoint: