delta.utilities.two_poles¶
- delta.utilities.two_poles(poles: List[numpy.ndarray[Any, numpy.dtype[numpy.uint16]]]) Tuple[numpy.ndarray[Any, numpy.dtype[numpy.uint16]], numpy.ndarray[Any, numpy.dtype[numpy.uint16]]]¶
Sometimes the skeleton produces more than 2 poles. Thus function selects only 2 poles in the skeleton.
- Parameters
- poleslist
Coordinates for the mother/daughter poles for a single cell Dimension is (#_of_poles, [y_coordiante, x_coordinate])
- Returns
- polestuple of 2 1D arrays
Two poles, each being a 2-element array of y-x coordinates.