From shape to scattering.
Explore a model, rotate its scattering pattern, or reconstruct a shape from data.
Torus
2D scattering planes
Three fixed laboratory planes, one rotating particle.
128² pixels per plane · q in nm⁻¹
A closer look at I(q)
Plane averages follow orientation.
The isotropic average stays fixed.
From scattering to a possible shape.
Fit a connected, uniform-density envelope to an isotropic I(q) curve.
A 1D curve can support many different 3D shapes. Compare independent searches; treat each result as a candidate under the selected size and compactness constraints.
Synthetic sphere data
Load a curve, or start with the synthetic sphere example.
Ready when you are.
The fit and weighted residuals will appear here.
What this reconstruction assumes
This is an independent hybrid reconstruction prototype, inspired by bead-model methods such as DAMMIN. A global sphere/ellipsoid fit initializes the dimensions, followed by simulated annealing of connected, constant-contrast voxels. Cube centers lie inside the selected sphere; boundary cubes may extend outside it. Local occupancy changes update cached amplitudes; the objective combines weighted intensity residuals and a surface-area compactness prior. Scale is fitted analytically; optional background is constrained nonnegative.
Up to 256 q values guide the search. Angular accuracy adapts to the requested q range and search extent: 512–8,192 search directions and 2,048–8,192 final-check directions. Each final candidate is evaluated against every retained data point using an oversampled projection FFT. The supported q max × diameter extent is now 120; larger values need additional numerical support. A stabilized sub-unit weighted residual may stop a search early, and actual step counts are exported. The finite cube form factor is included. STL exports are the exact block-shaped envelopes used in the fit, without smoothing. They have no embedded length unit; keep the run report.
Two-column input uses assumed σ = max(5% |I|, 0.2% of the low-q reference); it does not acquire experimental error bars. The reported weighted RMS is not reduced χ² or evidence for a unique structure. This MVP assumes a dilute, monodisperse particle with uniform contrast, no structure factor or instrument smearing. Grid size, q range, size constraint, incomplete search and angular integration can all affect the result. Cavities and handles may occur; only material connectivity is enforced globally.