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