Skip to content

Instantly share code, notes, and snippets.

@sysuzyq
sysuzyq / ipynb_to_gallery.py
Created August 14, 2019 02:34 — forked from chsasank/ipynb_to_gallery.py
Convert jupyter notebook to sphinx gallery notebook styled examples.
@sysuzyq
sysuzyq / ralign
Created April 15, 2019 10:38 — forked from CarloNicolini/ralign
Umeyama algorithm for absolute orientation problem in Python
"""
RALIGN - Rigid alignment of two sets of points in k-dimensional
Euclidean space. Given two sets of points in
correspondence, this function computes the scaling,
rotation, and translation that define the transform TR
that minimizes the sum of squared errors between TR(X)
and its corresponding points in Y. This routine takes
O(n k^3)-time.
Inputs: