In this post we will provide the overall work flow for doing Principle Component Analysis on X-ray Scattering Data.

X-ray Scattering Intensity Image

SAXS

Scaled SAXS X-ray Intensity Plot

A class called ImageDimensionReducer was created to dimensionality reduction on image such as X-ray scattering data and/or 2-point statistics.

Here is an example of how the class is used. It takes in an dimensionality reduction class from sklearn and uses it to create a low dimensional representation the images loaded.

Below is an example of a plot the X-ray scattering data from one sample reduced using PCA.

PCA Image

PCA SAXS X-ray Intensity Plots for one Sample