Python codes for calculating the scattering and absorption of plane-electromegnetic waves by a isotropic homogeneous sphere, aka the Lorenz-Mie theory.
miescat.pycomputes the optical efficiency factors (Qsca, Qext, Qabs, and Qback), the scattering amplitudes (S11 and S22), and the optical cross sections per unit mass (MSC, MEC, and MAC).miescat_charged.pyan extended version ofmiescat.pyfor an electrically charged sphere.mie_complex_amplitudes.pycomputes the scattering amplitudes observable by the Complex Amplitude Sensing (CAS-v1 and CAS-v2)call_mie_scattering.ipynbdemonstrates how to use these Mie scattering codes.make_mie_S_table.ipynbcompute the S-table in parquet (pandas df) format for spherical particles.
The author developed and tested current version (v0.1.1) using Python 3.12.8 in Windows 11 machines.
git clone https://github.com/NobuhiroMoteki/MieScat_Py.git
cd MieScat_Pypip install -r requirements.txtPlease see the comments in each codes.
This project is licensed under the MIT License. See the LICENSE file for details.
-
Mie theory and its computational methods
- Bohren, C. F., & Huffman, D. R. (2008). Absorption and scattering of light by small particles. John Wiley & Sons.
- Mishchenko, M. I., Travis, L. D., & Lacis, A. A. (2002). Scattering, absorption, and emission of light by small particles. Cambridge university press.
-
Scattering theory for charged sphere and its computational methods
- Klacka, J., & Kocifaj, M. (2010). On the scattering of electromagnetic waves by a charged sphere. Progress In Electromagnetics Research, 109, 17-35.
-
Complex Amplitude Sensing (CAS)
- Moteki, N. (2021). Measuring the complex forward-scattering amplitude of single particles by self-reference interferometry: CAS-v1 protocol. Optics Express, 29(13), 20688-20714.
- Moteki, N., & Adachi, K. (2024). Measuring the polarized complex forward-scattering amplitudes of single particles in unbounded fluid flow: CAS-v2 protocol. Optics Express, 32(21), 36500-36522.
Name: Nobuhiro Moteki GitHub: @NobuhiroMoteki Email: nobuhiro.moteki@gmail.com