bloqade.geometry.dialects.grid.col_ypos
← Module overview
function
source
functioncol_ypos¶source
bloqade.geometry.dialects.grid.col_ypos
Signature
def col_ypos(grid: Grid[typing.Any, typing.Any], column_index: int) -> ilist.IList[float, typing.Any]Get the y positions of a specific column in the grid.
Returns: ilist.IList[float, typing.Any]: a list of y positions for the specified column
Parameters
| Name | Type | Description |
|---|---|---|
grid | Grid[typing.Any, typing.Any] | a grid object |
column_index | int | the index of the column to get y positions for, or None for all columns |
Returns
ilist.IList[float, typing.Any]