opmcoils.panels.plot_panel_profile#
- opmcoils.panels.plot_panel_profile(panel, current, profile_dir='x', field_component='x', spacing=0.01, min_pos=-0.2, max_pos=0.2, ax=None)[source]#
Plot line profile for panel.
- Parameters:
- panelPCBPanel
panel to plot the field for.
- currentdict of floats
current to be applied to the panel.
- profile_dirstring (‘x’, ‘y’, or ‘z’)
axis along which the field will plotted.
- field_componentstring (‘x’, ‘y’, or ‘z’)
axis of field to be plotted.
- spacingfloat
distance between points
- min_posfloat
negative disctance from (0,0) in meters
- max_posfloat
positive disctance from (0,0) in meters
- axAxes
matplotlib axes on which to create the plot