Skip to content

Commit 39440b9

Browse files
committed
solve pydocstyle issues
1 parent 699be57 commit 39440b9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sfs/array.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class SecondarySourceDistribution(namedtuple('SecondarySourceDistribution',
3434
__slots__ = ()
3535

3636
def __repr__(self):
37+
"""Return representation string."""
3738
return 'SecondarySourceDistribution(\n' + ',\n'.join(
3839
' {}={}'.format(name, repr(data).replace('\n', '\n '))
3940
for name, data in zip('xna', self)) + ')'
@@ -284,9 +285,7 @@ def rectangular(N, spacing, center=[0, 0, 0], orientation=[1, 0, 0]):
284285

285286

286287
def rounded_edge(Nxy, Nr, dx, center=[0, 0, 0], orientation=[1, 0, 0]):
287-
"""Return secondary source distribution along the xy-axis with rounded
288-
edge at the origin.
289-
288+
"""Return SSD along the xy-axis with rounded edge at the origin.
290289
291290
Parameters
292291
----------
@@ -360,9 +359,8 @@ def rounded_edge(Nxy, Nr, dx, center=[0, 0, 0], orientation=[1, 0, 0]):
360359

361360

362361
def edge(Nxy, dx, center=[0, 0, 0], orientation=[1, 0, 0]):
363-
"""Return secondary source distribution along the xy-axis with sharp
364-
edge at the origin.
365-
362+
"""
363+
Return SSD along the xy-axis with sharp edge at the origin.
366364
367365
Parameters
368366
----------

0 commit comments

Comments
 (0)