onstove.RasterLayer.start_points#
- RasterLayer.start_points(condition: Callable[[ndarray], ndarray] | None) tuple[ndarray, ndarray] [source]#
Gets the rows and columns of the cells tha fulfil a condition.
- Parameters:
- condition: Callable object with a numpy array as input, or a list of values, optional
This condition is used to find the cells in the array that are equal to the values
- Returns:
- Tuple of numpy ndarrays
Tuple with rows and columns arrays containing locations of the cells.