:orphan: .. _validation_index: Validation Examples =================== This section compares PyMieSim's results against reference implementations. It contains scripts reproducing calculations from Bohren & Huffman as well as cross-checks with the ``PyMieScatt`` package. Internal tests that exercise specific parts of the library are also provided. Contents -------- - ``bohren_huffman`` - examples based on figures from *Absorption and Scattering of Light by Small Particles*. - ``pymiescatt`` - comparisons with the ``PyMieScatt`` package. - ``internal`` - small utilities checking phase functions and energy flow. .. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
Bohren & Huffmann ~~~~~~~~~~~~~~~~~ Scripts reproducing figures from the classic text. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /gallery/validation/bohren_huffman/images/thumb/sphx_glr_figure_810_thumb.png :alt: :doc:`/gallery/validation/bohren_huffman/figure_810` .. raw:: html
InfiniteCylinder Scatterer Bohren-Huffman figure 8.10
.. raw:: html
.. only:: html .. image:: /gallery/validation/bohren_huffman/images/thumb/sphx_glr_figure_87_thumb.png :alt: :doc:`/gallery/validation/bohren_huffman/figure_87` .. raw:: html
InfiniteCylinder Scatterer Bohren-Huffman figure 8.7
.. raw:: html
.. only:: html .. image:: /gallery/validation/bohren_huffman/images/thumb/sphx_glr_figure_88_thumb.png :alt: :doc:`/gallery/validation/bohren_huffman/figure_88` .. raw:: html
InfiniteCylinder Scatterer Bohren-Huffman figure 8.8
.. thumbnail-parent-div-close .. raw:: html
Internal ~~~~~~~~ Tests checking phase functions and energy conservation. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /gallery/validation/internal/images/thumb/sphx_glr_core_shell_empty_shell_thumb.png :alt: :doc:`/gallery/validation/internal/core_shell_empty_shell` .. raw:: html
Effect of Shell dimensions in equivalent medium
.. raw:: html
.. only:: html .. image:: /gallery/validation/internal/images/thumb/sphx_glr_phase_function_detector_thumb.png :alt: :doc:`/gallery/validation/internal/phase_function_detector` .. raw:: html
Goniometric Coupling vs S1 S2 Comparison
.. thumbnail-parent-div-close .. raw:: html
PyMieScatt ~~~~~~~~~~ Comparison scripts using the PyMieScatt package. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /gallery/validation/pymiescatt/images/thumb/sphx_glr_coreshell_0_thumb.png :alt: :doc:`/gallery/validation/pymiescatt/coreshell_0` .. raw:: html
Core-Shell Particles: 0
.. raw:: html
.. only:: html .. image:: /gallery/validation/pymiescatt/images/thumb/sphx_glr_coreshell_1_thumb.png :alt: :doc:`/gallery/validation/pymiescatt/coreshell_1` .. raw:: html
Core-Shell Particles: 1
.. raw:: html
.. only:: html .. image:: /gallery/validation/pymiescatt/images/thumb/sphx_glr_sphere_0_thumb.png :alt: :doc:`/gallery/validation/pymiescatt/sphere_0` .. raw:: html
Sphere Particles: 0
.. raw:: html
.. only:: html .. image:: /gallery/validation/pymiescatt/images/thumb/sphx_glr_sphere_1_thumb.png :alt: :doc:`/gallery/validation/pymiescatt/sphere_1` .. raw:: html
Sphere Particles: 1
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /gallery/validation/bohren_huffman/index.rst /gallery/validation/internal/index.rst /gallery/validation/pymiescatt/index.rst .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_