Skip to main content
QUICK REVIEW

[Paper Review] SAXSFit: A program for fitting small-angle x-ray and neutron scattering data

Bridget Ingham, Haiyong Li|ArXiv.org|Jan 29, 2009
Nanopore and Nanochannel Transport StudiesEngineering2 references9 citations
TL;DR

SAXSFit is a platform-independent, Java-based software for fitting small-angle X-ray and neutron scattering (SAXS/SANS) data from nanoparticles and porous materials. It uses a hard-sphere model with local monodisperse approximation to fit particle or pore size distributions (log-normal, Schulz, Gaussian), along with background and power-law terms, delivering accurate size distributions and statistical fit metrics for both novice and expert users.

ABSTRACT

SAXSFit is a computer analysis program that has been developed to assist in the fitting of small-angle x-ray and neutron scattering spectra primarily from nanoparticles (nanopores). The fitting procedure yields the pore or particle size distribution and eta parameter for one or two size distributions (which can be log-normal, Schulz, or Gaussian). A power-law and/or constant background can also be included. The program is written in Java so as to be stand-alone and platform-independent, and is designed to be easy for novices to use, with a user-friendly graphical interface.

Motivation & Objective

  • To address the lack of accessible, user-friendly software for analyzing small-angle X-ray and neutron scattering (SAXS/SANS) data, especially for non-experts.
  • To provide a stand-alone, platform-independent solution for fitting SAXS/SANS spectra from nanoporous and nanoparticulate systems.
  • To enable accurate fitting of particle or pore size distributions using common distribution functions (log-normal, Schulz, Gaussian) and background terms.
  • To support both single and dual size distribution fitting with statistical validation and uncertainty estimation.
  • To simplify data analysis by integrating initial guess generation, interactive parameter adjustment, and real-time visualization via a graphical user interface.

Proposed method

  • The software is implemented in Java (SDK 1.4.2) to ensure platform independence and standalone execution.
  • It reads ASCII data files with q and I(q) values (and optional error bars), supporting comma, space, or tab delimiters.
  • The fitting engine uses algorithms ported from a MATLAB-based program, implementing a hard-sphere model with local monodisperse approximation.
  • It supports three size distribution functions: log-normal, Schulz, and Gaussian, each parameterized by average size (r₀) and polydispersity (σ).
  • Users can include a constant background and/or power-law background (Aq⁻B), with multiple weighting schemes: constant, statistical (1/I(q)), or uncertainty-based (1/ΔI(q)²).
  • The fitting process uses non-linear least-squares minimization, with output of fitted I(q) curves, parameter uncertainties, reduced χ², and R² values.

Experimental results

Research questions

  • RQ1Can a user-friendly, platform-independent software tool effectively fit SAXS/SANS data for nanoporous and nanoparticulate systems with minimal user expertise?
  • RQ2How accurately can SAXSFit reproduce known size distributions in model systems such as nanoporous silsesquioxane films and glass with star-shaped porogens?
  • RQ3To what extent do different size distribution functions (log-normal, Schulz, Gaussian) affect the final fit quality and parameter estimates?
  • RQ4How well does SAXSFit handle dual-size-distribution systems, and can it reliably extract volume fractions and polydispersity parameters?
  • RQ5What statistical metrics (reduced χ², R², parameter uncertainties) does SAXSFit provide to assess fit quality and reliability?

Key findings

  • For nanoporous methyl silsesquioxane films, SAXSFit successfully fitted single log-normal distributions, showing a pore radius increase from 18.77 Å (5% porogen) to 31.67 Å (25% porogen), consistent with electron microscopy.
  • The reduced χ² values ranged from 1.105 to 2.913, and R² values from 0.9771 to 0.9976, indicating good to excellent fit quality across all porogen loadings.
  • In a dual-distribution system using star-shaped porogens in nanoporous glass, SAXSFit identified two distinct pore populations: r₀ = 50.5 ± 0.5 Å (σ = 0.287 ± 0.008) and r₀ = 15 ± 1 Å (σ = 0.23 ± 0.05), with the second distribution dominating (88% number fraction).
  • The fit for the dual-distribution case achieved R² = 0.9951 and reduced χ² = 3.33, demonstrating strong agreement with experimental data.
  • Parameter uncertainties were calculated via the covariance matrix method, with reported uncertainties representing 95% confidence intervals (2σ).
  • The software successfully reproduced known trends in pore size evolution with porogen loading, validating its accuracy despite minor differences in log-normal distribution parametrization compared to prior work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.