Skip to content

bloqade.geometry.dialects.grid.get_xpos

← Module overview

functionget_xpossource

bloqade.geometry.dialects.grid.get_xpos

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

Get the x positions of a grid.

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

Parameters

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

Returns

ilist.IList[float, Nx]

source