1. Data Collection: The raw scattering data is collected by the detector. 2. Background Subtraction: Background noise and scattering from the sample holder are subtracted from the raw data. 3. Data Normalization: The data is normalized to account for variations in sample thickness, beam intensity, and other experimental parameters. 4. Modeling: Mathematical models are applied to the data to extract structural parameters. These models can range from simple shape approximations to complex multi-level hierarchical structures.