3. API Reference
3.1. Creator
|
Class for the definition of the eps profile in the layer |
3.1.2. Methods
|
|
|
|
|
Rib waveguide with a hole in the middle |
|
|
|
Rectangular waveguide |
|
Rib waveguide with single layer |
|
Rib waveguide with double etch |
|
|
|
1D slab in x direction |
|
1D slab in y direction |
|
|
|
|
|
|
|
|
|
3.2. Layer
|
Class for the definition of a single layer |
|
Class for the definition of a single layer anysitropic (diagonal) layer |
|
Class for the definition of an empy layer |
|
Class for the definition of a single layer from a function defining the dielectric profile |
|
Class for the definition of a single uniform layer |
3.2.6. Methods
Chekcs that the modal amplitudea arrays and the coordinates arrays have consistent shapes |
|
|
Checks if the fileds components list contains only allowed ones |
|
Transform the x and y coordinates between the real and computational space |
|
Function for adding matrix of a coordinate transform |
|
Return epsilon given the coordinates |
|
Return field given modal coefficient and coordinates |
|
Return field given modal coefficient and coordinates |
Removes data created in mode method |
|
|
EXPERIMENTAL: Calculates coupling between two modes given their modal exapnsion |
|
Creates the array of modal coefficient using a dictionary as input |
|
Function for plotting the dielectric consstat rebuit from plane wave expansion |
Calculate field normalization |
|
Creates array of single mode Poynting vector components. |
|
Calculates the normalization matrix for the Poyinting vector calculations |
|
|
Calculates total Poynting vector in the layer given arrays of modal expansion |
|
Return the Poyinting vector of a single mode given the modal expansion in the layer |
|
Returns the effective idexes of the modes |
|
Expands an arbitrary fieldd shape on the basis of the layer eigenmodes |
|
Returns modal field profile |
|
Function for inspectig the attributes of a layer object |
|
Builds the Scattering matrix of the interface with another layer |
|
Plot the absolute values of the fourier trasnsform matrices |
|
Calculates the eighenmode of the layer |
|
EXPERIMENTAL: Calculates overlap between two fields given the modal expansion |
|
Plot the matrix of the eigenvalue problem |
|
Function for adding the real coordinate transfomr to the layer |
3.3. Stack
|
Class representing the multylayer object |
3.3.2. Methods
|
Add a layer at the end of the multilayer |
Calculates Bloch modes of the stack. |
|
|
Returns epsilon in the stack |
|
Returns fields in the stack |
Helper function to identify the different layers and the needed interfaces |
|
Compose the scattering matrix of the stack with itself, doubling the structure |
|
Flip a solved stack |
|
|
Get phase of the relfection coefficient between modes |
|
Get phase of the transmission coefficient between modes |
|
Get relfection coefficient between modes |
|
Get transmission coefficient between modes. |
|
Returns element of the scattering matrix |
|
Get total energy balance of the stack given the inputs |
|
Return data about the output of the structure given the input |
|
Calculates the total poyinting vector in the requiested layers |
|
Print some info about the Stack |
|
Join the scattering matrix of the structure with the one of a second structure |
|
Generator for the intermedia modal coefficients. |
|
Calculates the scattering matrix of the multilayer (cpu friendly version) |
Builds the scattering matrix of the stacks. |
|
|
Solve the eigenvalue problem of all the layer in the stack |
|
Calculates the scattering matrix of the multilayer (memory friendly version) |
|
Function for adding the real coordinate transform to all layers of the stack |
3.4. S_matrix
|
Implementation of the scattring matrix object |
3.4.2. Methods
|
Recursion method for joining two scattering matrices |
Recursion method for joining two scattering matrices |
|
|
Recursion method for addig to self the progation matrix of a given layer |
|
Recursion method for addig to self the progation matrix of a given layer |
|
Calculates the first and second derivative of the scattering matrix with respec to the parameter par. |
Calculate the determinat of the scattering matrix |
|
|
|
|
Retirn the modal coefficient between two scattering matrces (self and S2) |
|
Retirn the modal coefficient between two scattering matrces (self and S2) |
|
Return the "right" inout and output vectors given the "left" ones |
Returns the full scattering matrix |
|
|
Returs the output vectors given the input vectors |