skued.DiskSelection
- class skued.DiskSelection(shape, center, radius)
Disk selection mask.
New in version 2.0.2.
- Parameters:
shape (2-tuple) – Shape of the scattering patterns from which data will be selected.
center (2-tuple of ints) – Center (row, col) of the selection.
radius (float) – Radius of the selection.
- __init__(shape, center, radius)
Methods
__array__
(*args, **kwargs)Cast as a NumPy array.
__delattr__
(name, /)Implement delattr(self, name).
__dir__
()Default dir() implementation.
__eq__
(value, /)Return self==value.
__format__
(format_spec, /)Default object formatter.
__ge__
(value, /)Return self>=value.
__getattribute__
(name, /)Return getattr(self, name).
__gt__
(value, /)Return self>value.
__hash__
()Return hash(self).
__init__
(shape, center, radius)__init_subclass__
This method is called when a class is subclassed.
__le__
(value, /)Return self<=value.
__lt__
(value, /)Return self<value.
__ne__
(value, /)Return self!=value.
__new__
(**kwargs)__reduce__
()Helper for pickle.
__reduce_ex__
(protocol, /)Helper for pickle.
__repr__
()Return repr(self).
__setattr__
(name, value, /)Implement setattr(self, name, value).
__sizeof__
()Size of object in memory, in bytes.
__str__
()Return str(self).
__subclasshook__
Abstract classes can override this to customize issubclass().
mpatch
(**kwargs)Circular patch.
Attributes
__abstractmethods__
__annotations__
_abc_impl
bounding_box
Returns the array bounding box.