arpes.widgets.pca_explorer
- arpes.widgets.pca_explorer(pca, data, component_dim='components', initial_values=None, transpose_mask=False, **kwargs)[source]
A tool providing PCA decomposition exploration of a dataset.
- Parameters
pca – The decomposition of the data, the output of an sklearn PCA decomp.
data – The original data.
component_dim – The variable name or identifier associated to the PCA component projection in the input data. Defaults to “components” which is what is produced by pca_along.
initial_values – Which of the PCA components to use for the 2D embedding. Defaults to None.
transpose_mask – Controls whether the PCA masks should be transposed before application. Defaults to False.