e_near
- miepython.field.e_near(abcd, lambda0, d_sphere, m_index, r, theta, phi)[source]
Calculate the electric field in and around a sphere.
- Parameters:
abcd (array) – Mie coefficients [a, b, c, d]
lambda0 (float) – Wavelength of the incident wave in vacuum.
d_sphere (float) – Diameter of the sphere.
m_index (complex) – refractive index at r
r (float) – Radial distance at which the field is evaluated.
theta (float) – Polar angle in radians.
phi (float) – Azimuthal angle in radians.
- Returns:
tuple – Electric field components (E_r, E_theta, E_phi).