add ball shape searchlight #348
Conversation
Looks good! (Pdb) print(b.mask_[3,:]) |
@@ -95,6 +95,32 @@ def __init__(self, rad): | |||
self.mask_[r1, r2, r3] = True | |||
|
|||
|
|||
class Ball(Shape): | |||
"""Diamond |
mihaic
Mar 22, 2018
Contributor
"Ball searchlight shape"?
"Ball searchlight shape"?
…to or less than rad instead of just less than. So I just updated the docstring slightly. Please double check this is correct
@lcnature, regardless of your off-by-one question (@mjanderson09?), please add unit tests for the new |
@mihaic Done. Thanks! |
Thanks, @lcnature. I am sure your |
No description provided.