Skip to content

bloqade.geometry.dialects.grid.x_bounds

← Module overview

functionx_boundssource

bloqade.geometry.dialects.grid.x_bounds

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

Get the x bounds of a grid.

Returns: tuple[float, float]: a tuple of (min_x, max_x)

Parameters

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

Returns

tuple[float, float]

source