Network.from_pointcloud

classmethod Network.from_pointcloud(cloud, degree=3)

Construct a network from random connections between the points of a pointcloud.

Parameters
  • cloud (Pointcloud) – A pointcloud object.

  • degree (int, optional) – The number of connections per node.

Returns

Network – A network object.