visualize_pca_modes (CLI)

Command-line interface to visualize PCA modes of variation.

Displays the first three principal components in a 1x3 PyVista plotter. A slider (0 to 4) controls the standard-deviation magnitude; each subplot shows the mean shape (gray), +sigma shape (coral), and -sigma shape (blue) for that PC (matching experiments/Heart-Create_Statistical_Model/ 5-compute_pca_model.ipynb cell 11).

Inputs: pca_mean_surface.vtp (mean mesh topology and mean shape) and pca_model.json (components and eigenvalues).

physiomotion4d.cli.visualize_pca_modes.main()[source]

Command-line interface for visualizing PCA modes.

Return type:

int

See Create Statistical Model for usage in context.