Multiple recs on one tx for the same field had a bug. These should add in the projection adjoint.

This commit is contained in:
rowanc1
2014-04-28 16:11:22 -07:00
parent 6f2d57857d
commit b750faa3e0
4 changed files with 18 additions and 12 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ class TDEM_bDerivTests(unittest.TestCase):
[Maps.ExpMap, Maps.Vertical1DMap, activeMap])
rxOffset = 40.
rx = EM.TDEM.RxTDEM(np.array([[rxOffset, 0., 0.]]), np.logspace(-4,-3, 20), 'bz')
tx = EM.TDEM.TxTDEM(np.array([0., 0., 0.]), 'VMD_MVP', [rx])
rxTypes = 'bx,bz'
rxs = [EM.TDEM.RxTDEM(np.array([[rxOffset, 0., 0.]]), np.logspace(-4,-3, 20), rxType) for rxType in rxTypes.split(',')]
tx = EM.TDEM.TxTDEM(np.array([0., 0., 0.]), 'VMD_MVP', rxs)
survey = EM.TDEM.SurveyTDEM([tx])