-
Notifications
You must be signed in to change notification settings - Fork 4
Examples
Demis D. John edited this page Dec 14, 2015
·
2 revisions
Shows basic construction of a rectangular waveguide, solving and mode-plotting.
- Introduction to pyfimm syntax, written for users somewhat new to Python.
- Create a new Project, and a new RWG Rectangular Waveguide in that Project
- Solve for the modes & plot them
- Highlights the mode-plotting features, such as plotting multiple-modes on a single plot figure.
- Return Electric-Field values
- Shows ways to find more features & get help using standard Python techniques, such as
>>> help( pyfimm )
>>> dir( MyObject )
>>> help( MyWaveguideObj.calc )
- Concatenate two Waveguides together in a FimmProp Device.
- Uses a FimmWave Material Database.
- Annotating a Plot by returning the figure handles, using MatPlotLib (matlab-like plotting).
- Saving a Project to a file
- Based on the FimmProp Example: Modes of a VCSEL/DFB Cavity
- Cylindrical coordinate devices (eg. Fibers)
- Repeating Layers in Devices (using python's List multiplication syntax)
- Sweep wavelength to solve for the longitudinal modes of the cavity
- Plot the cavity fields and refractive index
- Sending raw commands to FimmWave
This allows you to use all the capabilities of the FimmProp GUI to generate your Devices (with curved paths, etch/grow regions etc.), and just import that into pyFIMM for doing your loops/analyses.
- Open a saved Project file
- Copy a Device from the Project file into our own Project, and interact with the new Device.