Skip to content

bloqade.geometry.dialects.grid.col_ypos

← Module overview

functioncol_ypossource

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

NameTypeDescription
gridGrid[typing.Any, typing.Any]a grid object
column_indexintthe index of the column to get y positions for, or None for all columns

Returns

ilist.IList[float, typing.Any]

source