64 plot(neffs, abs(dets))
68 print_log(
'result', f
"neff = {(solver.modes[mn].klong/k0).real}")
79 plot_geometry(
solver.geometry, color=
'w', mirror=
True, periods=2, lw=0.5, plane=
'xy')
91 axhline(0.0, ls=
'--', color=
'k', lw=0.5)
92 axhline(0.5, ls=
'--', color=
'k', lw=0.5)
96 Ec[(0.0 <= y) & (y <= 0.5)] *= 1.3**2
106 print_log(
'data', f
"Max E{config.axes[c]}: Re={mr} Im={mi}")
109 plot_field(Ec, levels, comp=c, cmap=
'bwr', plane=
'xy')
110 plot_geometry(
solver.geometry, color=
'k', mirror=
True, periods=2, lw=0.5, plane=
'xy')