isosurface_area#

ifermi.analysis.isosurface_area(vertices, faces)[source]#

Calculate the area of an isosurface.

Parameters:
  • vertices (ndarray) – A (n, 3) float array of the vertices in the isosurface.

  • faces (ndarray) – A (m, 3) int array of the faces of the isosurface.

Return type:

float

Returns:

The area of the isosurface, in Å^-2.