bloqade.geometry.dialects.grid.x_bounds
← Module overview
function
source
functionx_bounds¶source
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
| Name | Type | Description |
|---|---|---|
grid | Grid[typing.Any, typing.Any] | a grid object |
Returns
tuple[float, float]