pyflwdir.gis_utils.get_edge# pyflwdir.gis_utils.get_edge(a, structure=array([[True, True, True], [True, True, True], [True, True, True]]))[source]# Get edge of valid cells. Parameters: a (2D array of bool) – Boolean array valid cells. structure (2D array with shape (3,3) of bool) – Structuring element used to define which cells are neighbors. Returns: edge – Boolean array edge cells. Return type: 2D array of bool