HASEonGPU.Grid

class HASEonGPU.Grid(xExtent=None, yExtent=None, zExtent=None, tileSizeX=1.0, tileSizeY=None, tileSizeZ=None, origin=(0.0, 0.0), **aliases)

Bases: object

Regular rectangular helper that generates a 2D triangular base mesh.

xExtent and yExtent describe the transverse footprint. zExtent and tileSizeZ define the sampled crystal levels used for beta arrays.

property numberOfLevels

Number of z sample planes generated from zExtent and tileSizeZ.

property thickness

Distance between adjacent z levels.

constructPoints()

Return transverse topology points with shape (numberOfPoints, 2).