xbout.cherab.triangulate.TriangularData¶
- class xbout.cherab.triangulate.TriangularData(vertices, triangles, data)[source]¶
Bases:
objectRepresents a set of triangles with data constant on them. Creates a Cherab Discrete2DMesh, and can then convert that to a 3D (axisymmetric) emitting material.
Methods
__init__(vertices, triangles, data)plot_2d([ax, nr, nz])Make a 2D plot of the data
to_emitter([parent, cylinder_zmin, ...])Returns a 3D Cherab emitter, by rotating the 2D mesh about the Z axis