Skip to content

Commit e6bba5b

Browse files
GaelVaroquauxemmanuelle
authored andcommitted
DOC: Add a docstring
1 parent 54e8ab9 commit e6bba5b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

diffusions.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,19 @@ def make_3d_syntheticdata(lx, ly=None, lz=None):
146146
#-----------Laplacian--------------------
147147

148148
def _make_edges_3d(lx, ly=None, lz=None):
149+
""" Returns a list of edges for a 3D image.
150+
151+
Parameters
152+
===========
153+
lx: integer
154+
The size of the grid in the x direction.
155+
ly: integer, optinal
156+
The size of the grid in the y direction, defaults
157+
to lx.
158+
lz: integer, optinal
159+
The size of the grid in the z direction, defaults
160+
to lx.
161+
"""
149162
if ly is None:
150163
ly = lx
151164
if lz is None:

0 commit comments

Comments
 (0)