API documentation#
pyMieDiff - Mie + auto-diff
Mie theory for core-shell particles, implemted in pytorch.
API#
Particle class#
The pymiediff.Particle class describes core-shell particles
and provides high-level access to the main functionalities:
|
Core-shell#
This contains the core-shell Mie coefficients and observables like cross sections and angular scattering
Core-shell scattering coefficients |
Materials#
pymiediff contains pyTorch autodiff classes for tabulated material permittivities, compatible with the refractiveindex.info format.
material optical properties |
Special#
pymiediff contains pyTorch autodiff comptible spherical bessel functions and their derivatives.
auto-diff ready wrapper of scipy spherical Bessel functions |
Helper#
pyMieDiff contains tools e.g. for truncation critera, interpolation, numerical gradients.
package for various tools for pymiediff |