PointsCloud

PointsCloud Class

class pygsp.pointsclouds.PointsCloud(pointcloudname, max_dim=2)[source]

Bases: object

Load the parameters of models and the points.

Parameters:

name : string

The name of the point cloud to load. Possible arguments : ‘airfoil’, ‘bunny’, ‘david64’, ‘david500’, ‘logo’, ‘minnesota’, two_moons’.

max_dim : int

The maximum dimensionality of the points (only valid for two_moons) (default is 2)

Returns:

The differents informations of the loaded PointsCloud.

References

See [TL94] for more informations.

Examples

>>> from pygsp import pointsclouds
>>> bunny = pointsclouds.PointsCloud('bunny')
>>> Xin = bunny.Xin
plot(**kwargs)[source]

Plot the pointcloud.

See plotting doc.