One section of a line model's drawing, to look at (no Qt here):
LineModel.drawing gives each section the cross-sections it can be seen on
(e['section']), and this solves one when asked. A whole board's sections would
take a minute; one takes about 0.1 s, 2 s at worst.
modes(e) # [(key, label)]: the views a section has, the first
# the one its numbers come from
v = solve(e, key) # v.field (xsection.Field), v.xs, v.volts, v.window,
# v.values, v.z0, v.eeff
x, z, phi, ex, ez, er = v.field.sample(*v.window, 400, 200)
The keys:
cut the board's copper across the section, each layer's
(reference._cut_section)
classified the grounded CPW classify found: the strip, its gaps, the plane
line a coupled section, its group's strips: this line at 1 V, the
others at 0
odd, even the pair it is in: +1 V and -1 V, +1 V and +1 V