Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.

3.3.3. fmralign.methods.Procrustes

class fmralign.methods.Procrustes(scaling=True)[source]

Compute a orthogonal mixing matrix R and a scaling sc. These are calculated such that Frobenius norm ||sc RX - Y||^2 is minimized.

Parameters:
scalingboolean, optional

Determines whether a scaling parameter is applied to improve transform.

Attributes:
Rndarray (n_features, n_features)

Optimal orthogonal transform

scale: float,

inferred scaling parameter

__init__(scaling=True)[source]

3.3.3.1. Examples using fmralign.methods.Procrustes

Pairwise functional alignment.

Pairwise functional alignment.

Pairwise functional alignment on a ROI.

Pairwise functional alignment on a ROI.

Alignment methods benchmark (template-based ROI case)

Alignment methods benchmark (template-based ROI case)

Pairwise surface alignment.

Pairwise surface alignment.

Alignment on simulated 2D data.

Alignment on simulated 2D data.