-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6fb41c1
commit 7cbae7f
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
## Overview of mpb-plotting | ||
|
||
Plot photonic dispersion curves with mode shapes (a frontend to MIT Photonic bands) | ||
Plot photonic dispersion curves with mode shapes (a frontend to MIT Photonic bands, http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands) | ||
|
||
A set of Scheme/Python scripts that computes and plots the band structure of a 2-D photonic crystal and, | ||
most importantly, draws also the modes corresponding to the band edges. | ||
|
||
The `batch.sh' script feeds `compute_dispersion_and_modes.ctl' to the MPB program to get the numerical data. | ||
Then it runs `plot_dispersion_and_modes.py' to plot all results (see this file for explanation). This procedure | ||
can be repeated in a cycle in batch.sh, mapping how the electromagnetic behaviour of the structure changes with | ||
some of its parameters. | ||
some of its parameters. The scripts can be fully customized and automated to fit your research. | ||
|
||
Written in 2013-15 by Filip Dominec, [email protected] | ||
|
||
## Example | ||
A typical output of the script follows. This one shows six dispersion curves, and all corresponding modes, for a periodic dielectric slab with a permittivity of 2 and 30% filling fraction. | ||
A typical output of the script follows. This one shows six dispersion curves, and all corresponding modes, for | ||
a periodic dielectric slab with a permittivity of 2 and 30% filling fraction. | ||
|
||
The electric field shapes at the Gamma, X, and M-points are added at the sides, and clearly connected with the | ||
The electric field shapes at the Gamma, X, and M-points are added at the sides, and clearly connected by red arrows with the | ||
respective points in the dispersion curves. Red-white-blue color scheme shows the perpendicular amplitude of the | ||
electric field. Green lines depict the nodal planes, where the amplitude of E is always zero (for a monochromatic wave). | ||
electric field. Green lines depict the nodal planes, where the amplitude of the electric field is always zero (for a monochromatic wave). | ||
The black lines outline the dielectric structure. | ||
|
||
For more physical background, see the excellent book *Photonic Crystals: Molding the Flow of Light* (freely available from http://ab-initio.mit.edu/book/) | ||
For a more physical background, see the excellent book *Photonic Crystals: Molding the Flow of Light* (freely available from http://ab-initio.mit.edu/book/) | ||
|
||
 | ||
|
||
|