radarx.vis.interactive.hvplot_centroids#

radarx.vis.interactive.hvplot_centroids(da, backend=None, **kwargs)[source]#

Plot the gate centres of a sweep as points coloured by value.

Parameters:
  • da (xarray.DataArray) – Sweep moment; see hvplot_ppi(). Gates with missing values are dropped.

  • backend ({"bokeh", "matplotlib"}, optional) – HoloViews plotting backend. None (default) keeps the active one.

  • **kwargs (dict, optional) – Additional keyword arguments passed to hvplot (e.g. clim, cmap, frame_width, rasterize). By default the colour range uses the 2nd-98th percentiles (robust=True) and is not forced symmetric.

Returns:

holoviews.Points – One point per valid gate at its x/y location in km.

Examples

>>> hvplot_centroids(da.isel(range=slice(0, 150)), size=4)