opmcoils.panels.plot_panel#
- opmcoils.panels.plot_panel(panel, target_size, n_points, current, axis, title='', show=True)[source]#
Creates 2d colormap, line profile, and arrow field map for coil.
- Parameters:
- panelPCBPanel
panel to be plotted.
- target_sizefloat
length of the side of the square/line to be considered when plotting.
- n_pointsint
number of points per side for the square grid.
- currentdict of floats
current to be applied to the panels when computing field.
- axisstring (‘x’, ‘y’, ‘z’)
which field axis to plot values for.
- titlestring
title of the plot
- showbool
If True, show the plot