kicad2ems.mom25d.geo

mom25d.geo - wave ports on a straight feed in any in-plane direction (LinePort:
KiCad traces at 45 deg etc.), and the mesher (emsdev.numerics.geo.mesh_polygons)
on mom25d's own compiled core
class kicad2ems.mom25d.geo.LinePort(layer, center, direction, width, ref_dist, s0=None, step=None, zc=50.0, name='', s1=None)[source]
Wave port on a straight feed line.
  layer     : metal interface index
  center    : (x, y) of the gap (delta-gap source) on the feed centre line
  direction : vector pointing INTO the device along the feed (any angle)
  width     : feed width (the gap and sample cuts span this, centred on
              `center`)
  ref_dist  : distance from the gap to the reference plane, along
              `direction`
  s0, step  : closest sample cut to the gap, and spacing between cuts
  s1        : farthest sample cut (default = ref_dist). Keep the cuts clear
              of discontinuities: the reference plane may lie beyond s1
              (the fitted waves are shifted to it).
  zc        : reference impedance
line(s)[source]
End points of the transverse line at distance s from the gap (s=0:
the gap).
kicad2ems.mom25d.geo.mesh_polygons(*args, **kw)[source]
emsdev.numerics.geo.mesh_polygons on mom25d's compiled core.