isosurface_dimensionality¶
- ifermi.analysis.isosurface_dimensionality(fractional_vertices, faces)[source]¶
Calculate isosurface properties a single isosurface (fully connected).
The vertices must cover a 3x3x3 supercell and must not have been trimmed to fit inside the reciprocal lattice.
Note: This function expects the vertices to only belong to a single connected mesh, and the vertices should cover a 3x3x3 supercell, where the coordinates from -0.5 to 0.5 indicate the center image.
- Parameters:
- Return type:
- Returns:
The dimensionality and (n, 3) int array orientation of the isosurface.