:orphan: .. _examples_gallery: Examples ======== A gallery of examples and that showcase how PyMieSim can be used. Some examples demonstrate the use of the API in general and some demonstrate specific applications in tutorial form. .. raw:: html
.. raw:: html
.. scatterer-index: Scatterers ~~~~~~~~~~ .. raw:: html
.. raw:: html
.. only:: html .. image:: /gallery/scatterer/images/thumb/sphx_glr_plot_source_thumb.png :alt: :ref:`sphx_glr_gallery_scatterer_plot_source.py` .. raw:: html
Source Plottings
.. raw:: html
.. only:: html .. image:: /gallery/scatterer/images/thumb/sphx_glr_plot_s1s2_thumb.png :alt: :ref:`sphx_glr_gallery_scatterer_plot_s1s2.py` .. raw:: html
S1 S2 Function Computation
.. raw:: html
.. only:: html .. image:: /gallery/scatterer/images/thumb/sphx_glr_plot_stokes_thumb.png :alt: :ref:`sphx_glr_gallery_scatterer_plot_stokes.py` .. raw:: html
Stokes Parameters Computation
.. raw:: html
.. only:: html .. image:: /gallery/scatterer/images/thumb/sphx_glr_plot_spf_thumb.png :alt: :ref:`sphx_glr_gallery_scatterer_plot_spf.py` .. raw:: html
SPF Computation
.. raw:: html
.. only:: html .. image:: /gallery/scatterer/images/thumb/sphx_glr_plot_farfield_thumb.png :alt: :ref:`sphx_glr_gallery_scatterer_plot_farfield.py` .. raw:: html
Far-Fields Computation and Visualization
.. raw:: html
.. only:: html .. image:: /gallery/scatterer/images/thumb/sphx_glr_plot_footprint_thumb.png :alt: :ref:`sphx_glr_gallery_scatterer_plot_footprint.py` .. raw:: html
Scatterer Footprint Calculation and Visualization
.. raw:: html
Detectors ~~~~~~~~~ .. raw:: html
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_integrating_sphere_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_integrating_sphere.py` .. raw:: html
Photodiode Detector
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_LP11_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_LP11.py` .. raw:: html
LP11 Mode Detector
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_LP02_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_LP02.py` .. raw:: html
LP02 Mode Detector
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_photodiode_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_photodiode.py` .. raw:: html
Photodiode Detector
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_LP01_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_LP01.py` .. raw:: html
LP01 Mode Detector
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_HG01_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_HG01.py` .. raw:: html
Hermite-Gauss 01 Mode Detector
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_LG11_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_LG11.py` .. raw:: html
Laguerre-Gauss 2-3 Mode Detector
.. raw:: html
.. only:: html .. image:: /gallery/detector/images/thumb/sphx_glr_plot_HG11_thumb.png :alt: :ref:`sphx_glr_gallery_detector_plot_HG11.py` .. raw:: html
Hermite-Gauss 31 Mode Detector
.. raw:: html
Experiments ~~~~~~~~~~~ .. raw:: html
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_b1_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_b1_vs_diameter.py` .. raw:: html
Sphere: B1 scattering coefficient
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_a1_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_a1_vs_diameter.py` .. raw:: html
Sphere: A1 scattering coefficient
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_Qsca_vs_index_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_Qsca_vs_index.py` .. raw:: html
Sphere: Qsca vs index
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_Qsca_vs_wavelength_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_Qsca_vs_wavelength.py` .. raw:: html
Sphere: Qsca vs wavelength mean
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_Qsca_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_Qsca_vs_diameter.py` .. raw:: html
Sphere: Qsca vs diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_Qabs_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_Qabs_vs_diameter.py` .. raw:: html
Sphere: Qsca vs diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_Qsca_vs_wavelength_std_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_Qsca_vs_wavelength_std.py` .. raw:: html
Sphere: Qsca vs wavelength STD
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_Qsca_vs_wavelength_std_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_Qsca_vs_wavelength_std.py` .. raw:: html
Cylinder: Qsca vs wavelength std
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_a11_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_a11_vs_diameter.py` .. raw:: html
Cylinder: A1 Scattering Coefficient
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_b11_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_b11_vs_diameter.py` .. raw:: html
Cylinder: B1 Scattering Coefficient
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_coherent_coupling_vs_rotation_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_coherent_coupling_vs_rotation.py` .. raw:: html
Sphere: Coherent mode field rotation
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_coupling_vs_phioffset_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_coupling_vs_phioffset.py` .. raw:: html
Sphere: Goniometer
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_coupling_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_coupling_vs_diameter.py` .. raw:: html
Sphere: Coupling vs diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_Qsca_vs_index_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_Qsca_vs_index.py` .. raw:: html
Cylinder: Qsca vs Index
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_Qsca_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_Qsca_vs_diameter.py` .. raw:: html
Cylinder: Qsca vs Diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_coupling_vs_wavelength_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_coupling_vs_wavelength.py` .. raw:: html
Sphere: Coupling vs wavelength
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_coherent_coupling_vs_phioffset_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_coherent_coupling_vs_phioffset.py` .. raw:: html
Sphere: Coherent Goniometer
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_sphere_coupling_vs_filter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_sphere_coupling_vs_filter.py` .. raw:: html
Sphere: Coupling vs polarization filter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_Qsca_vs_wavelength_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_Qsca_vs_wavelength.py` .. raw:: html
Cylinder: Qsca vs Wavelength
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_Qabs_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_Qabs_vs_diameter.py` .. raw:: html
Cylinder: Qabs vs Diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_coreshell_b1_vs_corediameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_coreshell_b1_vs_corediameter.py` .. raw:: html
CoreShell: B1 vs Core Diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_coreshell_a1_vs_corediameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_coreshell_a1_vs_corediameter.py` .. raw:: html
CoreShell: B1 vs Core Diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_coreshell_Qback_vs_corediameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_coreshell_Qback_vs_corediameter.py` .. raw:: html
CoreShell: Qback vs Core Diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_coupling_vs_diameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_coupling_vs_diameter.py` .. raw:: html
Cylinder: Coupling vs Diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_coupling_vs_phioffset_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_coupling_vs_phioffset.py` .. raw:: html
Cylinder: Goniometer
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_coreshell_coupling_vs_corediameter_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_coreshell_coupling_vs_corediameter.py` .. raw:: html
CoreShell: Coupling vs Diameter
.. raw:: html
.. only:: html .. image:: /gallery/experiment/images/thumb/sphx_glr_plot_cylinder_coupling_vs_wavelength_thumb.png :alt: :ref:`sphx_glr_gallery_experiment_plot_cylinder_coupling_vs_wavelength.py` .. raw:: html
Cylinder: Coupling vs Wavelength
.. raw:: html
Validation ~~~~~~~~~~ .. raw:: html
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_BH810_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_BH810.py` .. raw:: html
Bohren-Huffman (figure~8.10)
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_BH87_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_BH87.py` .. raw:: html
Bohren-Huffman (figure~8.7)
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_pymiescatt_0_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_pymiescatt_0.py` .. raw:: html
PyMieSim vs PyMieScatt Comparison
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_pymiescatt_1_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_pymiescatt_1.py` .. raw:: html
Comparison of Scattering Efficiency Using PyMieSim vs PyMieScatt
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_pymiescatt_2_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_pymiescatt_2.py` .. raw:: html
PyMieSim vs PyMieScatt for Core-Shell Particles
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_pymiescatt_3_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_pymiescatt_3.py` .. raw:: html
PyMieSim vs PyMieScatt Scattering Efficiency Comparison for Core-Shell Particles
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_BH88_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_BH88.py` .. raw:: html
Comparison of PyMieSim and Theoretical Bohren-Huffman Data for Cylinder Scattering
.. raw:: html
.. only:: html .. image:: /gallery/validation/images/thumb/sphx_glr_plot_phase_function_detector_thumb.png :alt: :ref:`sphx_glr_gallery_validation_plot_phase_function_detector.py` .. raw:: html
Goniometric Coupling vs S1 S2 Comparison
.. raw:: html
Extras examples ~~~~~~~~~~~~~~~ PyMieSim can be used in many ways. Below is a gallery of examples showing different ways to use the library. .. raw:: html
.. raw:: html
.. only:: html .. image:: /gallery/extras/images/thumb/sphx_glr_SphereProperties_thumb.png :alt: :ref:`sphx_glr_gallery_extras_SphereProperties.py` .. raw:: html
Samples Properties
.. raw:: html
.. only:: html .. image:: /gallery/extras/images/thumb/sphx_glr_plot_Qsca_vs_permittivity_vs_size_parameter_thumb.png :alt: :ref:`sphx_glr_gallery_extras_plot_Qsca_vs_permittivity_vs_size_parameter.py` .. raw:: html
Scattering efficiency of a sphere
.. raw:: html
.. only:: html .. image:: /gallery/extras/images/thumb/sphx_glr_plot_coupling_heatmap_thumb.png :alt: :ref:`sphx_glr_gallery_extras_plot_coupling_heatmap.py` .. raw:: html
Coupling heatmap of a sphere
.. raw:: html
.. toctree:: :hidden: :includehidden: /gallery/scatterer/index.rst /gallery/detector/index.rst /gallery/experiment/index.rst /gallery/validation/index.rst /gallery/extras/index.rst .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_