Utilities
Classes
Section titled “Classes”photonforge.ExpressionNumerical parametric expression object.photonforge.InterpolatorInterpolator object.photonforge.PropertiesProperties container.photonforge.PathLengthMatchingPath-length matching specification for one group of nets.photonforge.LayerTableLayer specification table viewer.photonforge.ExtrusionTableExtrusion specification table viewer.photonforge.PortSpecTablePort specification table viewer.photonforge.live_viewer.LiveViewerLive viewer for PhotonForge objects and layout files.
Layout Functions
Section titled “Layout Functions”photonforge.grid_layoutArrange components or other structures in a grid layout.photonforge.pack_layoutArrange components or other structures in a grid layout.photonforge.s_bend_lengthCompute the ideal S bend length for a given offset and radius.photonforge.match_path_lengthsMatch the (optical) path lengths of existing routes, in place.
Grid Functions
Section titled “Grid Functions”photonforge.grid_ceilSnap the value to the current grid rounding towards .photonforge.grid_floorSnap the value to the current grid rounding towards .photonforge.snap_to_gridSnap the value to the current grid.
Plot Functions
Section titled “Plot Functions”photonforge.plot_s_matrixHelper function to plot a component S matrix.photonforge.tidy3d_plotHelper function to plot a component through Tidy3D.
Live Viewer Functions
Section titled “Live Viewer Functions”photonforge.live_viewer.replay_editsMake, on a component a script has just built, the edits made to it in a LiveViewer.
Constants
Section titled “Constants”photonforge.C_0Speed of light in vacuum (in μm/s)photonforge.Z_INFExtrusion limit (in μm) that stands for an infinite extent along z.