pyFM.refine.zoomout.zoomout_iteration

pyFM.refine.zoomout.zoomout_iteration(FM_12, evects1, evects2, step=1, A2=None, n_jobs=None)

Perform an iteration of ZoomOut.

Parameters:
  • FM_12 ((k2, k1) np.ndarray) – Functional map from evects1[:, :k1] to evects2[:, :k2].

  • evects1 ((n1, k1') np.ndarray) – Eigenvectors on source shape with k1’ >= k1 + step. Can be a subsample of the original ones on the first dimension.

  • evects2 ((n2, k2') np.ndarray) – Eigenvectors on target shape with k2’ >= k2 + step. Can be a subsample of the original ones on the first dimension.

  • step (int or tuple, optional) – Step of increase of dimension. A tuple gives separate steps for each shape.

  • A2 ((n2, n2) scipy.sparse, optional) – Area matrix on target mesh, for vertex to vertex computation. If specified, the eigenvectors can’t be subsampled !

  • n_jobs (int, optional) – Number of parallel jobs. None (default) decides automatically, -1 uses all processes.

Returns:

FM_zo – ZoomOut-refined functional map.

Return type:

(k2 + step, k1 + step) np.ndarray