plot util

kadlu.plot_util.plot_transm_loss_horiz(transm_loss, radial_axis, azimuthal_axis)[source]

Plot the transmission loss on a horizontal plane in polar coordinates.

Args:
transm_loss: numpy.array

Transmission loss, has shape (nq,nr).

radial_axis: numpy.array

Radial axis, has shape (nr)

azimuth_axis: numpy.array

Azimuthal axis, has shape (nq)

Returns:
fig: matplotlib.figure.Figure

A figure object.

kadlu.plot_util.plot_transm_loss_vert(transm_loss, vertical_axis, radial_axis, bathy_func=None, ssp_func=None)[source]

Plot the transmission loss on a vertical plane in carthesian coordinates.

If a bathymetry interpolation function is provided, the seafloor will be drawn superimposed on the transmission loss plot.

Args:
transm_loss: numpy.array

Transmission loss, has shape (nz,nr).

vertical_axis: numpy.array

Vertical axis, has shape (nz)

radial_axis: numpy.array

Radial axis, has shape (nr)

bathy_func: function

Bathymetry interpolation function in radial variable, r

ssp_func: function

Sound speed interpolation function in radial variable, z

Returnedme :
fig: matplotlib.figure.Figure

A figure object.