pymiediff.helper#
Helper namespace for pymiediff.
This package groups utility functions used by the main scattering solvers and
exposes an optional bridge to torchgdm.
Submodules#
Frequently used symbols#
Estimate |
|
Peña/Pal (2009) truncation criterion for multilayer spheres. |
|
|
Detach tensors and convert them to NumPy arrays. |
Convert field components from spherical to Cartesian basis. |
|
|
Convert spherical coordinates to Cartesian coordinates. |
|
Convert Cartesian coordinates to spherical coordinates. |
|
One-dimensional linear interpolation in PyTorch. |
|
Compare autograd and numerical derivatives. |
Return plane-wave VSH expansion coefficient |
|
|
TorchGDM Mie-theory based 3D point polarizability with auto-diff support |
|
Autodiff-capable TorchGDM GPM structure from a pymiediff.Particle. |