Photonics Research Group Home
Ghent University
 IMEC
intern

 

Contents: Table of Contents   Back: Introduction Up: Top Forward: Python   Index: Index

1. Tutorial

figs/python

Rodis has a Phython-scripting user interface. Python(http://www.python.org) is a clean and flexible scripting language. The syntax makes it easy to write and read complex structures (such as 2D layers). Data can be manupulated in loops that sweep a certain simulation parameter.

It's all in a small script...

We'll give a few examples. Those introduce the general use of the Python language and the specific use of RODIS-keywords.

1.1 Python  
1.2 Example 1 : a simple 1D grating  
1.3 Example 2 : a lossy 1D grating  
1.4 Example 3 : a 2D grating  
1.5 Example 4: loop and write  



This document was generated by Lieven Vanholme on June, 10 2003 using texi2html.