neighbors# ripplemapper.contour.neighbors(node: tuple, grid_shape: tuple) → tuple[source]# Generate neighbors for a given node. Parameters: node (tuple) – The current node coordinates. grid_shape (tuple) – Shape of the grid. Yields: tuple – Neighboring node coordinates.