Published March 1, 2022 | Version 1.0
Journal article Open

Python code for visualizations in "Multipolar origin of shape birefringence in metasurfaces" manuscript

  • 1. VUT
  • 2. EPFL

Description

This repository contains python scripts used to create visualizations for the paper "Multipolar origin of shape birefringence in metasurfaces", submitted to Optics Express. The output of this script is an interactive html file and/or static image in png format. You can select your preference by commenting out save_in_2D/3D function at the end of the script.

To choose what multipoles you want to use for the visualization, please navigate to line 634 in get_E() function where you can select them by editing this line of code. Many examples are already present in the form of comments. The general formula is: 

    total_E = total_E + get_E_p(element_position,        dipole_px,    pi)

field of which multipole to calculate ↑         ↑         select multipole orientation ↑               ↑

                     always set "element position"                      select phase shift of multipole 

, where p stands for electric dipole, m for magnetic dipole, eq for electric quadrupole and mq for magnetic quadrupole.

Files

Files (74.7 MB)

Name Size Download all
md5:76c49ea4b10ed05baf8cd2cd90c557cc
24.5 MB Download
md5:dea48b0145dde63236fa9f849dc8b445
24.8 MB Download
md5:ff9e8e8d1bc1e5101dd2962afed6152e
25.4 MB Download
md5:1f5ffc64e4b5a976df48df28b6410b75
34.3 kB Download

Additional details

Funding

European Commission
SINNCE - Strengthening Nanoscience and Nanotechnology Research at CEITEC 810626
Swiss National Science Foundation
Phase engineering on plasmonic metasurfaces 200021_162453
European Commission
NANOFACTORY - Building tomorrow’s nanofactory 695206