aug_particle_size — Particle-size and path-length scatter heuristic¶
Group: Augmentation · C ABI: n4m_augmentation_particle_size_*
Description¶
Particle-size and path-length scattering simulation.
Parameters¶
Name |
Type |
Default |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
API and bindings¶
C ABI (ABI 2): n4m_augmentation_particle_size_apply · n4m_augmentation_particle_size_create · n4m_augmentation_particle_size_destroy. Use the linked public header for the exact signature, configuration, and result handles.
Python (verified public re-export):
from n4m.augmentation.scattering import ParticleSizeAugmenter
R: no current source-verified entry point was found for this catalog method.
MATLAB / Octave: no current source-verified entry point was found for this catalog method.
Explanations¶
Bibliographic source¶
No single paper defines this simulator. It is physically motivated by diffuse scattering but uses an explicit empirical power law documented in the source, not a Mie or Kubelka–Munk solver.
Mathematical principle¶
Draw a particle size \(d_i\) from the configured uniform range or a normal law clipped to 5–500 µm. With \(r_i=d_i/d_0\) and \(w(\lambda)=\operatorname{clip}(\lambda/1500,0.1,10)^{-e}\), add the zero-mean baseline \(s(r_i^{-1/2}-1)w(\lambda)\). Optionally multiply by \(\operatorname{clip}[1+p\log r_i,0.7,1.5]\) and add smoothed Gaussian scatter noise.
Appropriate uses¶
Qualitative robustness studies for powders with particle-size and path-length variation.
Limits and validation¶
The coefficients and power law are heuristic; wavelengths are required and assumed compatible with the 1500-unit scale. It should not be used for quantitative optical simulation.
Implementation¶
Python role API n4m.augmentation.scattering.ParticleSizeAugmenter; ABI 2 family n4m_augmentation_particle_size_{create,apply,destroy}.
The ABI-2 implementation is the n4m_augmentation_particle_size_* lifecycle in libn4m.
Sources and provenance¶
See also: methods index · interactive dashboard