cpw_spec

photonforge.cpw_spec(layer, signal_width, gap, ground_width=None, description=None, width=None, limits=None, num_modes=1, added_solver_modes=0, target_neff=4.0, gap_layer=None, include_ground=True, conductor_limits=None, technology=None)

Template to generate a coplanar transmission line PortSpec.

Parameters:
  • layer (str | Sequence[int]) – Layer used for the transmission line layout.

  • signal_width (float) – Width of the central conductor.

  • gap (float) – Distance between the central conductor and the grounds.

  • ground_width (float | None) – Width of the ground conductors.

  • description (str | None) – Description used in PortSpec.description.

  • width (float | None) – Dimension used in PortSpec.width.

  • limits (Sequence[float] | None) – Vertical port limits used in PortSpec.limits.

  • num_modes (int) – Value used for PortSpec.num_modes.

  • added_solver_modes (int) – Value used for PortSpec.added_solver_modes.

  • target_neff (float) – Value used for PortSpec.target_neff.

  • gap_layer (None | str | Sequence[int]) – If set, path profiles for the gap region are included in this layer.

  • include_ground (bool) – If False, ground path profiles are not included.

  • conductor_limits (Sequence[float] | None) – Lower and upper bounds of the conductor layer extrusion.

  • technology (Technology) – Technology in use. If None, the default is used.

Returns:

PortSpec for the CPW transmission line.

Return type:

PortSpec

Note

If conductor_limits is not given, the extrusion specifications in technology are inspected. If an specification for the selected layer is found, its extrusion limits are used.