@@ -34,6 +34,7 @@ class SecondarySourceDistribution(namedtuple('SecondarySourceDistribution',
34
34
__slots__ = ()
35
35
36
36
def __repr__ (self ):
37
+ """Return representation string."""
37
38
return 'SecondarySourceDistribution(\n ' + ',\n ' .join (
38
39
' {}={}' .format (name , repr (data ).replace ('\n ' , '\n ' ))
39
40
for name , data in zip ('xna' , self )) + ')'
@@ -284,9 +285,7 @@ def rectangular(N, spacing, center=[0, 0, 0], orientation=[1, 0, 0]):
284
285
285
286
286
287
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.
290
289
291
290
Parameters
292
291
----------
@@ -360,9 +359,8 @@ def rounded_edge(Nxy, Nr, dx, center=[0, 0, 0], orientation=[1, 0, 0]):
360
359
361
360
362
361
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.
366
364
367
365
Parameters
368
366
----------
0 commit comments