9aae219f8ef4f9850cd8ea7001d711bdb54721bf,examples/plot_procrustes.py,,,#,22

Before Change


source = np.dot(target, rot)

// before hyperalignment
hyp.plot([target, source], title="Before alignment")

// after hyperalignment
hyp.plot([hyp.tools.procrustes(source, target), target], ["-","--"], title="After alignment")

After Change


geo.plot(title="Before Alignment")

// use procrusted to align the data
source, target = geo.get_data()
aligned = [hyp.tools.procrustes(source, target), target]

// after alignment
hyp.plot(aligned, ["-","--"], title="After alignment")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ContextLab/hypertools
Commit Name: 9aae219f8ef4f9850cd8ea7001d711bdb54721bf
Time: 2018-02-22
Author: andrew.heusser@gmail.com
File Name: examples/plot_procrustes.py
Class Name:
Method Name:


Project Name: ContextLab/hypertools
Commit Name: c58c11a2639beb9a78e3babe7754a49bfd61c060
Time: 2018-02-22
Author: andrew.heusser@gmail.com
File Name: docs/auto_examples/plot_procrustes.py
Class Name:
Method Name:


Project Name: ContextLab/hypertools
Commit Name: 9aae219f8ef4f9850cd8ea7001d711bdb54721bf
Time: 2018-02-22
Author: andrew.heusser@gmail.com
File Name: examples/plot_hue.py
Class Name:
Method Name: