sdr.plot.p_d(x: ArrayLike, p_d: ArrayLike, ax: Axes | None = None, x_label: 'snr' | 'enr' = 'snr', **kwargs)

Plots the probability of detection \(P_d\) as a function of received SNR or ENR.

Parameters:
x: ArrayLike

The SNR or ENR in dB.

p_d: ArrayLike

The probability of detection \(P_d\).

ax: Axes | None = None

The axis to plot on. If None, the current axis is used.

x_label: 'snr' | 'enr' = 'snr'

The x-axis label to use.

**kwargs

Additional keyword arguments to pass to matplotlib.pyplot.plot().