PyMVPA/PyMVPA — pull request #80 by hanke (2012-06-12 10:24:27+00:00)
Title: Improvements to the hyperalignment code

@swaroopgj @yarikoptic

This changes quite a few things in the hyperalignment implementation. It adds a lot of documentation, and should not change behavior (unit tests behave the same, example still shows the expected behavior).

I tried to make the changes self-contained and incremental. So please look at the individual commits,
they story should be much clearer than in a plain diff against master.

Please let me know if you have any concerns regarding the proposed changes, and I'd appreciate comments on the questions that a placed into the comments.

The unit tests show a (labile) failure that was already present when I started this refactoring

Single scenario lead to failures of unittest test_basic_functioning:
on
ref_ds=None :
Should have reconstructed orig_ds best of all. Got normed differences [0.072172263354177119, 0.072172263354177063, 0.072172263354177021, 0.072172263354176966] in clean case with ref_ds=0.
ref_ds=2 :
Should have reconstructed orig_ds best of all. Got normed differences [0.0093800300358516005, 0.0093800300358516057, 0.0093800300358516074, 0.0093800300358516057] in clean case with ref_ds=2.