plot_2d_cut#

FfdSolutionData.plot_2d_cut(qty_str='RealizedGain', primary_sweep='phi', secondary_sweep_value=0, phi_scan=0, theta_scan=0, title='Far Field Cut', convert_to_db=True, export_image_path=None)[source]#

Create a 2D plot of specified quantity in matplotlib.

Parameters:
qty_strstr, optional

Quantity to plot. Default “RealizedGain”.

primary_sweepstr, optional.

X Axis variable. Default is “phi”. Option is “theta”.

secondary_sweep_valuefloat, list, str, optional

List of cuts on secondary sweep to plot. Options are “all”, single value float or list of float.

phi_scanfloat, int, optional

Phi Scan Angle in degree. Default 0.

theta_scanfloat, int, optional

Theta Scan Angle in degree. Default 0.

titlestr, optional

Plot title. Default “RectangularPlot”.

convert_to_dbbool, optional

Either if the quantity has to be converted in db or not. Default is True.

export_image_pathstr, optional

Full path to image file. Default is None to not export.

Returns:
matplotlib.plt

Matplotlib fig object.