Skip to content

bloqade.geometry.dialects.grid.get_ypos

← Module overview

functionget_ypossource

bloqade.geometry.dialects.grid.get_ypos

def get_ypos(grid: Grid[typing.Any, Ny]) -> ilist.IList[float, Ny]

Get the y positions of a grid.

Returns: ilist.IList[float, typing.Any]: a list of y positions

Parameters

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

Returns

ilist.IList[float, Ny]

source