Isosurface¶
- class ifermi.surface.Isosurface(vertices, faces, band_idx, properties=None, dimensionality=None, orientation=None)[source]¶
Bases:
MSONable
An isosurface object contains a triangular mesh and surface properties.
- Variables:
vertices – A (n, 3) float array of the vertices in the isosurface.
faces – A (m, 3) int array of the faces of the isosurface.
band_idx – The band index to which the surface belongs.
properties – An optional (m, …) float array containing face properties as scalars or vectors.
dimensionality – The dimensionality of the surface.
orientation – The orientation of the surface (for 1D and 2D surfaces only).