vibeqc.CubeGrid¶
- class vibeqc.CubeGrid(origin, spacing, shape)[source]¶
Bases:
objectUniform axis-aligned grid in bohr.
originis the (x, y, z) of voxel (0, 0, 0).spacingis the diagonal of three voxel widths along each Cartesian axis. Non-orthogonal cube grids are supported by the spec but uncommon in QC viewers; we keep things axis-aligned.- __init__(origin, spacing, shape)¶
Methods
__init__(origin, spacing, shape)points()All voxel centres as a
(n_points, 3)array, scanned with x as the outer index and z as the inner index — the order the cube format expects.Attributes