From cbe87584652e855fe410403e281238d91cb9b364 Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Mon, 1 Feb 2016 08:22:00 -0800 Subject: [PATCH] corrected scipy.sparse.csr_matrix, move size descriptions to :return: instead of :type: --- SimPEG/Mesh/CylMesh.py | 12 ++++++------ SimPEG/Mesh/TreeMesh.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SimPEG/Mesh/CylMesh.py b/SimPEG/Mesh/CylMesh.py index ecdf36ac..2f2946ba 100644 --- a/SimPEG/Mesh/CylMesh.py +++ b/SimPEG/Mesh/CylMesh.py @@ -68,8 +68,8 @@ class CylMesh(BaseTensorMesh, BaseRectangularMesh, InnerProducts, CylView): """ Number of x-faces in each direction - :rtype: numpy.array (dim, ) - :return: vnFx + :rtype: numpy.array + :return: vnFx, (dim, ) """ return self.vnC @@ -78,8 +78,8 @@ class CylMesh(BaseTensorMesh, BaseRectangularMesh, InnerProducts, CylView): """ Number of y-edges in each direction - :rtype: numpy.array (dim, ) - :return: vnEy or None if dim < 2 + :rtype: numpy.array + :return: vnEy or None if dim < 2, (dim, ) """ nNx = self.nNx if self.isSymmetric else self.nNx - 1 return np.r_[nNx, self.nCy, self.nNz] @@ -89,8 +89,8 @@ class CylMesh(BaseTensorMesh, BaseRectangularMesh, InnerProducts, CylView): """ Number of z-edges in each direction - :rtype: numpy.array (dim, ) - :return: vnEz or None if nCy > 1 + :rtype: numpy.array + :return: vnEz or None if nCy > 1, (dim, ) """ if self.isSymmetric: return np.r_[self.nNx, self.nNy, self.nCz] diff --git a/SimPEG/Mesh/TreeMesh.py b/SimPEG/Mesh/TreeMesh.py index 1d5c8c8c..67afce38 100644 --- a/SimPEG/Mesh/TreeMesh.py +++ b/SimPEG/Mesh/TreeMesh.py @@ -1869,7 +1869,7 @@ class TreeMesh(BaseTensorMesh, InnerProducts): :param numpy.ndarray locs: Location of points to interpolate to :param str locType: What to interpolate (see below) - :rtype: scipy.sparse.csr.csr_matrix + :rtype: scipy.sparse.csr_matrix :return: M, the interpolation matrix locType can be::