Skip to content

Commit

Permalink
readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipDominec committed May 28, 2015
1 parent 6fb41c1 commit 7cbae7f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
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/)

![1-D dielectric slab dispersion curves and corresponding modes](./example_1D_dielectric_slabs/EBars_eps100_R=10000_eps=2.png)

Expand Down

0 comments on commit 7cbae7f

Please sign in to comment.