extract_shape_modes#
- extract_shape_modes(pca: ~sklearn.decomposition._pca.PCA, data: ~pandas.core.frame.DataFrame, components: int, regions: list[str], order: int, delta: float, _construct_mesh_from_points: ~typing.Callable = <function construct_mesh_from_points>, _extract_mesh_projections: ~typing.Callable = <function extract_mesh_projections>) dict [source]#
Extract shape modes (latent walks in PC space) at the specified intervals.
- Parameters:
pca – Fit PCA object.
data – Sample data, with shape coefficients as columns.
components – Number of shape coefficients components.
regions – List of regions.
order – Order of the spherical harmonics coefficient parametrization.
delta – Interval for latent walk, bounded by -2 and +2 standard deviations.
- Returns:
Map of regions to lists of shape modes at select points.