equivalent_surfaces¶
- ifermi.analysis.equivalent_surfaces(surfaces_vertices, tol=1e-05)[source]¶
Find equivalent surfaces.
Note: This function expects the vertices of each surface 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:
A (m, ) int array that maps each each surface in the original surface array to its equivalent.