Skip to content

Commit

Permalink
graph_multiresolution: compute full eigen to avoid ARPACK convergence…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
mdeff committed Aug 14, 2017
1 parent 07d1ae5 commit 3100722
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pygsp/operators/reduction.py
Expand Up @@ -217,12 +217,11 @@ def graph_multiresolution(G, levels, sparsify=True, sparsify_eps=None,
Examples
--------
>>> import numpy as np
>>> import pygsp
>>> levels = 5
>>> np.random.seed(42)
>>> G = pygsp.graphs.Sensor(N=256)
>>> Gs = pygsp.operators.graph_multiresolution(G, levels)
>>> G = pygsp.graphs.Sensor(N=512)
>>> G.compute_fourier_basis()
>>> Gs = pygsp.operators.graph_multiresolution(G, levels, sparsify=False)
>>> for idx in range(levels):
... Gs[idx].plotting['plot_name'] = 'Reduction level: {}'.format(idx)
... Gs[idx].plot()
Expand Down

0 comments on commit 3100722

Please sign in to comment.