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.

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]