-
sdr.plot.roc(p_fa: ArrayLike, p_d: ArrayLike, ax: Axes | None =
None
, 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\).
- ax: Axes | None =
None
¶ The axis to plot on. If
None
, the current axis is used.- 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
.