mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-12 12:30:37 +08:00
simple transmitter.
This commit is contained in:
@@ -82,12 +82,13 @@ class RxFDEM(Survey.BaseRx):
|
||||
|
||||
|
||||
class TxFDEM(Survey.BaseTx):
|
||||
#TODO: Break these out into Classes of Sources.
|
||||
|
||||
freq = None #: Frequency (float)
|
||||
|
||||
rxPair = RxFDEM
|
||||
|
||||
knownTxTypes = ['VMD', 'VMD_B', 'CircularLoop']
|
||||
knownTxTypes = ['VMD', 'VMD_B', 'CircularLoop', 'Simple']
|
||||
|
||||
radius = None
|
||||
|
||||
@@ -184,6 +185,16 @@ class TxFDEM(Survey.BaseTx):
|
||||
elif solType == 'e' or solType == 'j':
|
||||
return C.T*mui*b_0
|
||||
|
||||
class SimpleTxFDEM(TxFDEM):
|
||||
|
||||
def __init__(self, vec, freq, rxList):
|
||||
self.vec = vec
|
||||
self.freq = float(freq)
|
||||
TxFDEM.__init__(self, None, 'Simple', rxList)
|
||||
|
||||
def getSource(self, prob):
|
||||
return self.vec
|
||||
|
||||
|
||||
|
||||
class FieldsFDEM(Problem.Fields):
|
||||
|
||||
Reference in New Issue
Block a user