mirror of
https://github.com/wassname/simpeg.git
synced 2026-09-12 12:51:28 +08:00
PlotSlice in OcTree
This commit is contained in:
@@ -216,6 +216,7 @@ class TensorView(object):
|
||||
if ind is None: ind = int(szSliceDim/2)
|
||||
assert type(ind) in [int, long], 'ind must be an integer'
|
||||
|
||||
assert not (v.dtype == complex and view == 'vec'), 'Can not plot a complex vector.'
|
||||
# The slicing and plotting code!!
|
||||
|
||||
def getIndSlice(v):
|
||||
|
||||
Reference in New Issue
Block a user