Kabsch

class qaa.libs.kabsch.Kabsch(verbose=True)

Bases: sklearn.base.TransformerMixin, sklearn.base.BaseEstimator

Kabsch alignment method.

Methods Summary

fit(mobile, reference)

Center and fit mobile onto reference using the Kabsch method.

transform(mobile[, reference])

Align mobile to reference.

Methods Documentation

fit(mobile, reference)

Center and fit mobile onto reference using the Kabsch method.

Parameters
  • mobile (array_like) – Arrays with shape (n_points, 3)

  • reference (array_like) – Arrays with shape (n_points, 3)

Returns

Return type

self

transform(mobile, reference=None)

Align mobile to reference.

Parameters
  • mobile (array_like) – Arrays with shape (n_points, 3)

  • reference (array_like) – Arrays with shape (n_points, 3)

Returns

Array with shape (n_points, 3)

Return type

array_like