Selection¶
Classes:
|
Generic selection processor |
|
Select x,y coordinates of |
-
class
Slice
(select, *args, **kwargs)[source]¶ Bases:
autopilot.transform.transforms.Transform
Generic selection processor
- Parameters
select (slice, tuple[slice]) – a slice or tuple of slices
*args
**kwargs
Attributes:
Methods:
check_slice
(select)process
(input)-
format_in
= {'type': 'any'}¶
-
format_out
= {'type': 'any'}¶
-
class
DLCSlice
(select: Union[str, tuple, list], min_probability: float = 0, *args, **kwargs)[source]¶ Bases:
autopilot.transform.selection.Slice
Select x,y coordinates of
DLC
output based on the name of the tracked partsnote that min_probability is undefined when a list or tuple of part names are defined: the form of the returned array is ambiguous (how to tell which part is which when some might be excluded?)
Args: select (slice, tuple[slice]): a slice or tuple of slices *args: **kwargs:
Attributes:
Methods:
check_slice
(select)process
(input)-
format_in
= { 'parent': <class 'autopilot.transform.image.DLC'>, 'type': <class 'numpy.ndarray'>}¶
-
format_out
= {'type': <class 'numpy.ndarray'>}¶
-
process
(input: numpy.ndarray)[source]¶
-