computeDielectricModes.py

This analyzer computes the profiles & effective indices of guided modes based on the dielectric cross-section by directly solving an eigenvalue equation. Use on dielectric waveguides with a constant dielectric cross-section. Find any desired mode & then use the output mode profile to launch the mode in the full simulation.

-s <simname>, --simulationName=<simname>

(string, required)

<simname> is the name of the simulation to be analyzed. The file extension should NOT be included in this text field.

-T <slice>, --transverseSlice=<slice>

(string, required, default = 0, -1:1, -1:1)

<slice> is the slice of invEps field to analyze. Example of use: -T 0, -1:1, -1:1

-L <vacwave>, --vacWavelength=<vacwave>

(float, required, default = 1.55)

<vacwave> is the vacuum wavelength of source. Example of use: -L 1.55

-m <maxnodes>, --nModes=<maxnodes>

(int, optional, default = 10)

<maxnodes> is the maxinum number of modes to find. Includes degenerate modes.

-F <field>, --writeFieldProfile=<field>

(string, optional, default is D)

<field> is which field(s) (H,E, and/or D) to write for the modes. Example of use: -F H,E,D

-w, --overwrite

(flag)

Whether a dataset or group should be overwritten if it already exists.

Output

This analyzer outputs a table with a list of the modes and effective indices. Export your choice of the H, E, and/or D field profiles. The profile of each mode is output to a separate H5 file. This file includes the real and imaginary parts.

If you are running this analyzer from the UI, and the output dataset file already exists, then it will be overwritten each time the analyzer is run, unless you uncheck the Overwrite Existing Files box near the bottom of the Analysis Results pane.

If you are running the analyzer from the command line, the dataset will not be overwritten unless the -w, or --overwrite flag is specified on the command line.

The results of your analyzer may not be written into the output file if you have not specified the overwrite option to be True.