align_trajectory¶
-
qaa.libs.align.align_trajectory(mobile, reference, *, tol=1e-06, verbose=True)¶ Align mobile to reference using the Kabsch method.
- Parameters
mobile (array_like) – Positions of shape (n_frames, n_points, n_dims)
reference (array_like) – Positions of shape (n_points, n_dims)
tol (float) – Tolerance level for alignment
verbose (bool) – Print alignment progress
- Returns
Aligned mobile array of shape (n_frames, n_points, n_dims)
- Return type
array_like