This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Convert jupyter notebook to sphinx gallery notebook styled examples. | |
Usage: python ipynb_to_gallery.py <notebook.ipynb> | |
Dependencies: | |
pypandoc: install using `pip install pypandoc` | |
""" | |
import pypandoc as pdoc | |
import json |