logo  
 
UndStdLeakyMode

UndStdLeakyMode

Understanding leaky modes: slab waveguide revisited

Description

UndStdLeakyMode is a MATLAB® code for generating the pictures and the animations that are included in the tutorial paper: “Understanding leaky modes: slab waveguide revisited” in Advances in Optics and Photonics. The code was developed by Jonathan Hu under the supervision of Prof. Curtis Menyuk in the Computational Photonics Laboratory at UMBC. The corresponding web site at UMBC is here.

As the Internet becomes more widely used, scientific journals increasingly publish papers with animations — both short movies and slide shows. Our tutorial paper includes standard single-frame figures, as well as animations whose purpose is to illustrate what is happening both mathematically and physically. Here, we describe how we generated each of the figures in the tutorial paper.

To use the code, simply download it using the link below and run it from MATLAB®. For a quick demonstration, type “FigureNumber(N)”, where N is the index of the figure or movie that you want to generate.

 

How we did it

There are many ways to generate animations. In this tutorial paper, we proceeded as follows:

For each animation, we generated 10 to 100 frames in postscript (PS) format, labeled sequentially as fig1.ps, fig2.ps, fig3.ps, etc. Then we used the following linux command to transform files in PS format to files in GIF format

mogrify -format gif fig*.ps

After we generated a series of GIF files, we linked all the GIF files to build the animation, using the commercial software GIF Construction Set Professional. Both MOV file and GIF file can be generated.

The schematic diagrams in the tutorial paper, figures 1, 2, 10, 16, and 23, were not created using MATLAB® These figures were created using xfig.

Download

Download one of the following archives and unpack it to a directory.

Please see the License and Copyright notice.

 

Documentation

Gallery

Contact

If you have questions or problems regarding UndStdLeakyMode, please contact Jonathan Hu.


 
 
Copyright © Baylor® University. All rights reserved. Trademark/DMCA information. Privacy statement.
Baylor University Waco, Texas 76798 1-800-BAYLOR-U