pymiediff.multishell.angular_scattering#
- pymiediff.multishell.angular_scattering(k0, theta, r_layers=None, eps_layers=None, r_c=None, eps_c=None, r_s=None, eps_s=None, eps_env=1.0, backend='pena', precision='double', which_jn='recurrence', n_max=None) dict#
Compute far-field scattering amplitudes and intensities.
- Parameters:
k0 (tensor-like) – Vacuum wavevector(s), rad/nm.
theta (tensor-like) – Scattering angles in radians.
r_layers (tensor-like) – Geometry/material inputs (multilayer-first with legacy fallback).
eps_layers (tensor-like) – Geometry/material inputs (multilayer-first with legacy fallback).
r_c (tensor-like) – Geometry/material inputs (multilayer-first with legacy fallback).
eps_c (tensor-like) – Geometry/material inputs (multilayer-first with legacy fallback).
r_s (tensor-like) – Geometry/material inputs (multilayer-first with legacy fallback).
eps_s (tensor-like) – Geometry/material inputs (multilayer-first with legacy fallback).
eps_env (tensor-like) – Geometry/material inputs (multilayer-first with legacy fallback).
backend – Forwarded to
mie_coefficients().precision – Forwarded to
mie_coefficients().which_jn – Forwarded to
mie_coefficients().n_max – Forwarded to
mie_coefficients().
- Returns:
S1,S2, polarized intensities, and angular metadata.- Return type:
dict