Home | Trees | Indices | Help |
|
---|
|
object --+ | BasicPlot --+ | ROCPlot
Plot the receiver operating characteristic (ROC) based on the foreground and background values from given techniques. For example, to compare SNR vs IFAR, do something like:
plot = ROCPlot("FAP", "EFF", "ROC IFAR vs SNR") plot.add_content(ifar_bg, ifar_fg, label="IFAR") plot.add_content(snr_bg, snr_fg, label="SNR") plot.finalize()
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Basic plot initialization. A subclass can override __init__ and call this one (plotutils.BasicPlot.__init__(self, *args, **kwargs)) and then initialize variables to hold data to plot and labels.
|
Enter a particular technique's background, foreground, and efficiency weights. These should be one-dimensional arrays with the values of of your statistics for backgrounds and foregrounds. Eff_weight are weights on the efficiency, useful if, say, you have a different prior than your injection set reflects.
|
Stub. Replace with a function that creates and makes your plot pretty. Do not do I/O here.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 12 01:21:42 2017 | http://epydoc.sourceforge.net |