hawk.Grid

hawk.Grid#

class hawk.Grid[source]#

Bases: object

Grid["channel", "sample":8192] — the shape of the launch: one lane per point, the body is one lane’s code.

Labels are in numpy order and the LAST axis is the fastest (consecutive lanes). A bare label is a runtime extent and may only be first; "l":k is static, and every axis may be. The body reads an axis as an Index: lane.channel, lane[0] (0 is the slowest, -1 the fastest), and lane.flat is the flat lane index. A coordinate, never a neighbour: read another lane with u.at(...).

classmethod __new__(*args, **kwargs)#
__init__()#