polar_plot_3d_pyvista_2beams#

FfdSolutionData.polar_plot_3d_pyvista_2beams(qty_str='RealizedGain', convert_to_db=True, position=None, rotation=None, export_image_path=None, show=True)[source]#

Create a 3d Polar Plot with 2 beams of Geometry with Radiation Pattern in Pyvista.

Parameters:
qty_strstr, optional

Quantity to plot. Default “RealizedGain”.

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.

positionlist, optional

It can be a list of numpy list of origin of plot. Default is [0,0,0].

rotationlist, optional

It can be a list of numpy list of origin of plot. Default is [[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]].

showbool, optional

Either if the plot has to be shown or not. Default is True.

Returns:
bool or Pyvista.Plotter

Return Pyvista.Plotter in case show and export_image_path is False. In other cases return True when successful.