From 476ada98fecb0a9fa15e7f4c7510d8c626e51a32 Mon Sep 17 00:00:00 2001 From: Yahya Kayaal <117476621+kayaal34@users.noreply.github.com> Date: Thu, 26 Nov 2026 23:47:45 +0300 Subject: [PATCH] Fix typos in docstrings (coefficents, comparision) --- miepython/examples/01_dielectric.py | 2 +- miepython/mie_jit.py | 2 +- miepython/mie_nojit.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/miepython/examples/01_dielectric.py b/miepython/examples/01_dielectric.py index e1133e2..32f0a93 100755 --- a/miepython/examples/01_dielectric.py +++ b/miepython/examples/01_dielectric.py @@ -3,7 +3,7 @@ """ Plot the extinction efficiency as a function of particle size. -This is a comparision of total extinction for non-absorbing and absorbing spheres. +This is a comparison of total extinction for non-absorbing and absorbing spheres. """ import numpy as np diff --git a/miepython/mie_jit.py b/miepython/mie_jit.py index a4aa594..f6b6c58 100644 --- a/miepython/mie_jit.py +++ b/miepython/mie_jit.py @@ -208,7 +208,7 @@ def _an_bn_nb(m, x, n_pole=0): n_pole: the number of An and Bn terms (0 does autosizing) Returns: - a, b: arrays of Mie coefficents An and Bn, one entry per order, + a, b: arrays of Mie coefficients An and Bn, one entry per order, with no padding. ``_cn_dn`` returns the same number of terms. They are in the exp(-iωt) convention of Bohren & Huffman: the series is built with m = n - ik and xi = x h_n^(2), which is exp(+jωt), and the diff --git a/miepython/mie_nojit.py b/miepython/mie_nojit.py index 07f1c38..ff93bea 100644 --- a/miepython/mie_nojit.py +++ b/miepython/mie_nojit.py @@ -224,7 +224,7 @@ def _an_bn_py(m, x, n_pole=0): n_pole: the number of An and Bn terms (0 does autosizing) Returns: - a, b: arrays of Mie coefficents An and Bn, one entry per order, + a, b: arrays of Mie coefficients An and Bn, one entry per order, with no padding. ``_cn_dn`` returns the same number of terms. They are in the exp(-iωt) convention of Bohren & Huffman: the series is built with m = n - ik and xi = x h_n^(2), which is exp(+jωt), and the