Components
Classes
Section titled “Classes”photonforge.ComponentComponent object.photonforge.FiberPortFiber beam port.photonforge.GaussianPortGaussian beam port.photonforge.LabelText label.photonforge.PhfStreamCreate a PhfStream object for writing or loading phf files.photonforge.Port2D port.photonforge.ReferenceReference to a 2D component.photonforge.TerminalElectrical terminal.
Functions
Section titled “Functions”photonforge.component_from_netlistCreate a component from a netlist description.photonforge.find_top_levelFilter a set of components to return only top-level ones.photonforge.load_layoutLoad a layout file as components.photonforge.load_full_phfLoad all the contents of a phf file.photonforge.load_phfLoad the contents of a phf file.photonforge.parametric_componentDecorator to create parametric components from functions.photonforge.reference_chainCreate a chain of connected references from a text sequence.photonforge.select_referencesPaths of the references a query selects, asupdateswould.photonforge.set_unique_namesEnsure the set of components and their dependencies have unique names.photonforge.write_layoutExport this component as a GDSII or OASIS file.photonforge.write_phfSave a phf file with photonforge or other objects.