mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-05 13:10:19 +08:00
Added nD to Survey.BaseRx
This commit is contained in:
1 parent
df2cffb76e
commit
a5faa8b891
1 file changed
+5
@@ -201,6 +201,11 @@ class BaseRx(object):
|
||||
assert value in known, "rxType must be in ['%s']" % ("', '".join(known))
|
||||
self._rxType = value
|
||||
|
||||
@property
|
||||
def nD(self):
|
||||
return self.locs.shape[0]
|
||||
|
||||
|
||||
class BaseTx(object):
|
||||
"""SimPEG Transmitter Object"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user