Skip to Main content Skip to Navigation
Journal articles

"pyGDM" - new functionalities and major improvements to the python toolkit for nano-optics full-field simulations

Abstract : pyGDM is a python toolkit for electro-dynamical simulations of individual nano-structures, based on the Green Dyadic Method (GDM). pyGDM uses the concept of a generalized propagator, which allows to solve cost-efficiently monochromatic problems with a large number of varying illumination conditions such as incident angle scans or focused beam raster-scan simulations. We provide an overview of new features added since the initial publication [Wiecha, Computer Physics Communications 233, pp.167-192 (2018)]. The updated version of pyGDM is implemented in pure python, removing the former dependency on fortran-based binaries. In the course of this rewrite , the toolkit's internal architecture has been completely redesigned to offer a much wider range of possibilities to the user such as the choice of the dyadic Green's functions describing the environment. A new class of dyads allows to perform 2D simulations of infinitely long nanostructures. While the Green's dyads in pyGDM are based on a quasistatic description for interfaces, we also provide as new external python package "pyGDM2_retard" a module with retarded Green's tensors for an environment with two interfaces. We have furthermore added functionalities for simulations using fast-electron excitation, namely electron energy loss spectroscopy and cathodoluminescence. Along with several further new tools and improvements, the update includes also the possibility to calculate the magnetic field and the magnetic LDOS inside nanostructures, field-gradients in-and outside a nanoparticle, optical forces or the chirality of nearfields. All new functionalities remain compatible with the evolutionary optimization module of pyGDM for nano-photonics inverse design.
Complete list of metadata
Contributor : Peter Wiecha <>
Submitted on : Wednesday, May 12, 2021 - 10:09:10 AM
Last modification on : Tuesday, September 7, 2021 - 11:41:26 AM
Long-term archiving on: : Friday, August 13, 2021 - 6:20:48 PM


Files produced by the author(s)



Peter Wiecha, Clément Majorel, Arnaud Arbouet, Adelin Patoux, Yoann Brûlé, et al.. "pyGDM" - new functionalities and major improvements to the python toolkit for nano-optics full-field simulations. Computer Physics Communications, Elsevier, 2022, 270, pp.108142. ⟨10.1016/j.cpc.2021.108142⟩. ⟨hal-03224983⟩



Record views


Files downloads