plot_range_doppler#

FRTMPlotter.plot_range_doppler(channel: str = None, frame: int = None, range_bins: int = None, doppler_bins: int = None, window: str = None, quantity_format: str = None, title: str = 'Doppler Velocity-Range', output_file: str = None, show: bool = True, show_legend: bool = True, size: tuple = (1920, 1440), figure=None)#

Create range-Doppler contour plot.

Parameters:
channelstr, optional

Channel name. The default is None, in which case the first channel is used.

frameint, optional

Frame number. The default is None, in which case all frames are used.

range_binsint, optional

Number of output bins in range (frequency) dimension. If not specified, uses the original number of frequencies.

doppler_binsint, optional
Number of output bins in Doppler (pulse/time) dimension.

If not specified, uses the original number of CPI frames.

window: str, optional

Type of window. The default is None. Available options are "Hann", "Hamming", and "Flat".

quantity_formatstr, optional

Conversion data function. The default is None. Available functions are: "abs", "ang", "dB10", "dB20", "deg", "imag", "norm", and "real".

titlestr, optional

Title of the plot. The default is "Range profile".

output_filestr or pathlib.Path, optional

Full path for the image file. The default is None, in which case an image in not exported.

showbool, optional

Whether to show the plot. The default is True. If False, the Matplotlib instance of the plot is shown.

show_legendbool, optional

Whether to display the legend or not. The default is True.

sizetuple, optional

Image size in pixel (width, height).

figurematplotlib.pyplot.Figure, optional

An existing Matplotlib Figure to which the plot is added. If not provided, a new Figure and Axes objects are created. Default is None.

Returns:
ansys.aedt.core.visualization.plot.matplotlib.ReportPlotter

PyAEDT matplotlib figure object.

Examples

>>> from ansys.aedt.core.visualization.advanced.frtm_visualization import get_results_files
>>> from ansys.aedt.core.visualization.advanced.frtm_visualization import FRTMData
>>> from ansys.aedt.core.visualization.advanced.frtm_visualization import FRTMPlotter
>>> output_directory = "directory.results"
>>> frames_dict = get_results_files(directory)
>>> for frame, data_frame in frames_dict.items():
>>>     doppler_data = FRTMData(data_frame)
>>>     data[frame] = doppler_data
>>> frtm_plotter = FRTMPlotter(data)
>>> frame_number = frtm_plotter.frames[0]
>>> frtm_plotter.plot_range_doppler(frame=frame_number)
>>> frtm_plotter.plot_range_doppler(output_file="range_doppler.gif", animation=True, show=False)