pyflwdir.FlwdirRaster.outflow_idxs# FlwdirRaster.outflow_idxs(region: ndarray) → ndarray[source]# Return linear indices of the most downstream cells within a region. Parameters: region (2D array of bool) – True for cells inside the region. Returns: Linear indices of the most downstream cells in region. Return type: 1D array of int