pyFM.refine.icp.icp_iteration

pyFM.refine.icp.icp_iteration(FM_12, evects1, evects2, A2=None, use_adj=False, n_jobs=None)

Perform an iteration of ICP.

Conversion from a functional map to a pointwise map is done by comparing embeddings of dirac functions on the second mesh Phi_2.T with embeddings of dirac functions of the first mesh Phi_1.T. The diracs are transposed using the functional map or its adjoint.

Parameters:
  • FM_12 ((k2, k1) np.ndarray) – Functional map in reduced basis.

  • evects1 ((n1, k1') np.ndarray) – First k1’ eigenvectors of the first basis (k1’ > k1).

  • evects2 ((n2, k2') np.ndarray) – First k2’ eigenvectors of the second basis (k2’ > k2).

  • use_adj (bool, optional) – Use the adjoint method.

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

Returns:

FM_refined – An orthogonal functional map after one step of refinement.

Return type:

(k2, k1) np.ndarray