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:
|
Materials#
pymiediff contains pyTorch autodiff classes for tabulated material permittivities, compatible with the refractiveindex.info format.
material optical properties |
Farfield#
farfield contains pyTorch autodiff funtions that can be directly used to compute the farfield obserables.
farfield observables |
Special#
pymiediff contains pyTorch autodiff comptible spherical bessel functions and their derivatives.
auto-diff ready wrapper of scipy spherical Bessel functions |
Core-shell#
This contains the core-shell scattering coefficients
Core-shell scattering coefficients |
Helper#
pyMieDiff contains tools e.g. for truncation critera, interpolation, numerical gradients or plotting.
package for various tools for pymiediff |