API Design#
Meshing#
Meshing
|
Maps layers to unique LayerStack z coordinates. |
|
Returns layers present at a given z-position. |
|
List all unique LayerStack z coordinates. |
|
Map unique LayerStack z coordinates to various layers. |
|
Orders layer_stack according to mesh_order. |
|
Given a layer_polygons_dict and two coordinates (x1,y1), (x2,y2), computes the bounding box(es) of each layer in the xsection coordinate system (u). |
|
Performs the bound extraction given a (Multi)Polygon or [Polygon] and cross-sectional line coordinates. |
|
Given a component and layer stack, computes the bounding box(es) of each layer in the xsection coordinate system (u,z). |
|
Mesh uz cross-section of component along line u = [[x1,y1] , [x2,y2]]. |
|
Mesh xy cross-section of component at height z. |
Mode solvers#
Mode solver tidy3d
|
Waveguide Model. |
|
Waveguide coupler Model. |
|
Return the effective index for a range of waveguide geometries. |
|
Return the group index for a range of waveguide geometries. |
|
Overlap integral squared for the bend mode mismatch loss. |
|
Calculate coupling length for a series of gap sizes. |
Mode solver Femwell
|
Calculate effective index of a cross-section. |
Mode solver MPB
|
Computes mode effective and group index for a rectangular waveguide. |
|
Computes mode effective and group index for a rectangular waveguide. |
|
Sweep waveguide width and compute effective index. |
|
Returns Mode with correct dispersion (ng). |
|
Returns coupling vs gap pandas DataFrame. |
|
Computes group and effective index for different widths and heights. |
|
Plot neff and group index versus width (dw) and height (dh) variations. |
|
Plots effective index versus waveguide width. |
|
EME (Eigen Mode Expansion)
|
FDTD Simulation#
Sparameter utils
|
Plots Sparameters from a dict of np.ndarrays. |
|
Plots imbalance in dB for coupler. |
|
Plots loss dB for coupler. |
common FDTD functions
|
Returns the effective refractive indices for a 1D mode. |
|
Converts a pandas CSV sparameters from complex128 format to 2x float64 format. |
|
Converts a pandas CSV sparameters into a numpy array. |
|
Convert CSV files into numpy. |
|
Convert CSV files from directory dirpath into numpy. |
FDTD meep
|
Returns Sparameters and writes them to npz filepath. |
|
Write Sparameters using multiple cores and MPI and returns Sparameters filepath. |
|
Write Sparameters for a batch of jobs using MPI and returns results filepaths. |
|
Write grating coupler with fiber Sparameters. |
|
Write grating coupler Sparameters using multiple cores. |
|
Write grating coupler Sparameters using multiple cores in batches of simulations. |
FDTD tidy3d
|
Writes the S-parameters for a component. |
|
Get sparameter matrix from a gdsfactory grating coupler. |
Returns Sparameters for a list of write_sparameters. |
FDTD lumerical
|
Returns and writes component Sparameters using Lumerical FDTD. |
Circuit solver#
SAX
|
Returns a SAX Sparameters Model from a CSV file. |
|
Returns SAX model from lumerical FDTD simulations. |
|
Plot Model Sparameters Magnitude. |
Lumerical interconnect
|
|
|
Add an element to the Interconnect session. |
|
|
|
Send netlist components to Interconnect and connect them according to netlist. |
|
Args are the following. |
|
Electrostatics#
Elmer
|
Run electrostatic finite element method simulations using `Elmer`_. |
Palace
|
Run electrostatic finite element method simulations using `Palace`_. |
Full-wave RF#
Palace
|
Run full-wave finite element method simulations using Palace. |