sdr.plot.roc(p_fa: ArrayLike, p_d: ArrayLike, type: 'linear' | 'semilogx' | 'semilogy' | 'loglog' = 'semilogx', **kwargs)

Plots the receiver operating characteristic (ROC) curve as a function of \(P_{FA}\).

Parameters:
p_fa: ArrayLike

The probability of false alarm \(P_{FA}\).

p_d: ArrayLike

The probability of detection \(P_D\).

type: 'linear' | 'semilogx' | 'semilogy' | 'loglog' = 'semilogx'

The type of plot to generate.

**kwargs

Additional keyword arguments to pass to the plotting function defined by type.