sitator.voronoi package

Module contents

class sitator.voronoi.VoronoiSiteGenerator(zeopp_path='network', radial=False)

Bases: object

Given an empty SiteNetwork, use the Voronoi decomposition to predict/generate sites.

Parameters:
  • zeopp_path (str) – Path to the Zeo++ network executable
  • radial (bool) – Whether to use the radial Voronoi transform. Defaults to, and should typically be, False.
run(sn)
Parameters:sn (SiteNetwork) – Any sites will be ignored; needed for structure and static mask.
Returns:A SiteNetwork.