Low-level alignment methods.

fmralign.methods: Alignment Methods

Classes

Identity()

Compute no alignment, used as baseline for benchmarks : RX = X.

DetSRM([n_components])

Compute the alignment from one subjects to the shared latent response.

Procrustes([scaling])

Compute a orthogonal mixing matrix R and a scaling sc.

RidgeAlignment([alphas, cv])

Compute a scikit-estimator R using a mixing matrix M s.t Frobenius norm || XM - Y ||^2 + alpha * ||M||^2 is minimized.

OptimalTransport([solver, metric, reg, ...])

Compute the optimal coupling between X and Y with entropic regularization, using the pure Python POT (https://pythonot.github.io/) package.