skued.RingArcSelection
- class skued.RingArcSelection(shape, center, inner_radius, outer_radius, angle=0, theta1=0, theta2=360)
Selection patch for a partial 2-torus.
New in version 2.0.5.
- 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.
inner_radius (float) – Inner radius of the selection.
outer_radius (float) – Outer radius of the selection.
angle (float) – Rotation of the ring in degrees.
theta1 (float) – Starting and ending angles of the 2-torus in degrees, relative to
angle
.theta2 (float) – Starting and ending angles of the 2-torus in degrees, relative to
angle
.
- __init__(shape, center, inner_radius, outer_radius, angle=0, theta1=0, theta2=360)
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, inner_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)Partial toroidal patch.
Attributes
__abstractmethods__
__annotations__
_abc_impl
bounding_box
Returns the array bounding box.