set loc and moment inside of MagDipoleB source

This commit is contained in:
Lindsey
2015-05-27 13:21:14 -07:00
parent 5b44b16bc4
commit dc3e641524
+2
View File
@@ -246,7 +246,9 @@ class SrcFDEM_MagDipole_Bfield(SrcFDEM):
#TODO: neither does moment
def __init__(self, rxList, freq, loc, orientation='Z', moment=1.):
self.freq = float(freq)
self.loc = loc
self.orientation = orientation
self.moment = moment
SrcFDEM.__init__(self, rxList)
def _getS_m(self,prob):