Skip to content

bloqade.geometry.dialects.grid.y_bounds

← Module overview

functiony_boundssource

bloqade.geometry.dialects.grid.y_bounds

def y_bounds(grid: Grid[typing.Any, typing.Any]) -> tuple[float, float]

Get the y bounds of a grid.

Returns: tuple[float, float]: a tuple of (min_y, max_y) tuple[None, None]: if the grid has no initial y position

Parameters

NameTypeDescription
gridGrid[typing.Any, typing.Any]a grid object

Returns

tuple[float, float]

source