Files
simpeg/simpegEM/TDEM/DataTDEM.py
T
Dave Marchant cf620acf22 Reorganization.
2014-02-11 23:02:16 -08:00

34 lines
869 B
Python

from SimPEG import Utils
from SimPEG.Data import BaseData
class DataTDEM1D(BaseData):
"""
docstring for DataTDEM1D
"""
txLoc = None #: txLoc
txType = None #: txType
rxLoc = None #: rxLoc
rxType = None #: rxType
timeCh = None #: timeCh
def __init__(self, **kwargs):
BaseData.__init__(self, **kwargs)
Utils.setKwargs(self, **kwargs)
def projectFields(self, u):
return self.Qrx.dot(u.b[:,:,0].T)
####################################################
# Interpolation Matrices
####################################################
@property
def Qrx(self):
if self._Qrx is None:
if self.rxType == 'bz':
locType = 'fz'
self._Qrx = self.prob.mesh.getInterpolationMat(self.rxLoc, locType=locType)
return self._Qrx
_Qrx = None