Skip to content

bloqade.lanes.bytecode.Grid

← Module overview

classGridsource

bloqade.lanes.bytecode.Grid

Coordinate grid defining physical positions for atom sites.

class Grid

A grid defines positions via a start coordinate and spacing values. The x-coordinates are [x_start, x_start + x_spacing[0], ...] (cumulative sum of spacings from the start). Same for y.