ifermi.analysis#

Isosurface and isoline analysis functions.

Functions

isosurface_area

Calculate the area of an isosurface.

isosurface_dimensionality

Calculate isosurface properties a single isosurface (fully connected).

connected_subsurfaces

Find connected sub-surfaces (those that share edges).

average_properties

Average property across an isosurface.

line_orientation

Get the orientation (direction vector) from a list of rank 1 connected images.

plane_orientation

Get the orientation (surface normal) from a list of rank 2 connected images.

connected_images

Find the images a set of vertices is connected to.

equivalent_surfaces

Find equivalent surfaces.

equivalent_vertices

Find vertices that are equivalent (closer than a tolerance).

sample_line_uniform

Sample line segments to a consistent density.

sample_surface_uniform

Sample isosurface faces uniformly.

longest_simple_paths

Find the shortest paths that go through all vertices.