.. _sphx_glr_gallery_scattering:
Scattering
==========
Examples for the optional PyMieSim-backed scattering workflow. Install the
extra before running them:
.. code-block:: console
$ pip install "packlab[scattering]"
The first example treats individual sphere sizes independently. The second
combines the optical amplitudes with a Percus--Yevick mixture structure factor;
it is an analytical scattering calculation, not a simulation of an RSA
configuration.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /gallery/scattering/images/thumb/sphx_glr_01_single_particle_amplitudes_thumb.png
:alt:
:doc:`/gallery/scattering/01_single_particle_amplitudes`
.. raw:: html
Single-particle scattering amplitudes
.. raw:: html
.. only:: html
.. image:: /gallery/scattering/images/thumb/sphx_glr_02_structure_factor_phase_function_thumb.png
:alt:
:doc:`/gallery/scattering/02_structure_factor_phase_function`
.. raw:: html
Mixture phase function with a structure factor
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/gallery/scattering/01_single_particle_amplitudes
/gallery/scattering/02_structure_factor_phase_function