Selection
Classes:
|
Generic selection processor |
|
Select x,y coordinates of |
- class Slice(select, *args, **kwargs)[source]
Bases:
TransformGeneric selection processor
- Parameters:
select (slice, tuple[slice], int, tuple[int]) – a slice, tuple of slices, int, or tuple of ints! anything you can use inside of a pair of [square brackets].
*args
**kwargs
Attributes:
Methods:
process(input)- format_in = {'type': 'any'}
- format_out = {'type': 'any'}
- class DLCSlice(select: str | tuple | list, min_probability: float = 0, *args, **kwargs)[source]
Bases:
SliceSelect x,y coordinates of
DLCoutput 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?)
- Parameters:
select (slice, tuple[slice], int, tuple[int]) – a slice, tuple of slices, int, or tuple of ints! anything you can use inside of a pair of [square brackets].
*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'>}