blue_sampler.structure_factor
- blue_sampler.structure_factor(points, resolution=2000)[source]
Estimate the radial structure factor S(k) via scattering intensity.
- Parameters:
points (
ndarray)resolution (
int)
- Return type:
tuple[ndarray,ndarray]- Returns:
k ((M,) float array — exact wave-vector magnitudes.)
S ((M,) float array — exact S(k) values.)
Note
beyond a radius fixed to capture 1/4 of the “resolution” budget, ALL allowed wavevectors are sampled to get maximal precision on low frequencies. Remaining budget is shared evenly accross all pertinent frequency scales.