get_magnetic_graph_harmonics#

MotorCAD.get_magnetic_graph_harmonics(graph_name)#

Get harmonic analysis from Motor-CAD magnetic graph.

Parameters:
graph_namestr, int

Name (preferred) or ID of the graph. In Motor-CAD, you can select Help -> Graph Viewer to see the graph name.

Returns
——-
order_valueslist

Value of harmonic orders from graph

amplitude_valueslist

Value of harmonic amplitudes from graph

angle_valueslist

Value of harmonic angles from graph in degrees