phoTechLoadModePropDataTable
phoTechLoadModePropDataTable(d_techID t_path( [ ?waveguideDefNamet_waveguideDefName] [ ?localOnlyg_localOnly] [ ?overwriteg_overwrite] ) => t / nil
Description
(Virtuoso Photonics Option) Loads the modeProp table from the specified data file for the given waveguide definition and stores it in the library data.dm file. If no waveguideDef is specified, the modeProp table is loaded for all the waveguide definitions encountered in the data file.
Arguments
Value Returned
Example
(system "cat data.txt")
> waveguideDefName "SiN Waveguide"
> mode 99 = "TE"
> mode 100 = "TM"
> 1 0 0 0 99 0 0 0 0
> 1 0 0 0 100 0 0 0 0
>
phoTechLoadModePropDataTable(tech "data.txt" ?waveguideDefName "SiN Waveguide")
> t
Additional Information
To successfully load a waveguideDef table, here are a few related prerequisites that should be fulfilled:
-
Correct syntax
The waveguideDef table should be loaded using the correct syntax, which begins with the waveguideDefName line, optionally followed by mode mappings that are followed by table lines of nine numeric values. -
Completeness of the mode name mapping
If present, the mode-name mappings in the waveguideDef table should be complete. All IDs in the table should be mapped to appropriate waveguideDef mode names. -
Completeness of the table data
The waveguideDef table should be complete. The table should list all possible combinations otherwise the function will not succeed.
Related Topics
Return to top