PlotWindow¶
-
class
bosaris.
PlotWindow
(input_type='')[source]¶ A class that is used to define the parameters of a plotting window.
- Attr __pfa_limits__
ndarray of two values that determine the limits of the pfa axis. Default is [0.0005, 0.5]
- Attr __pmiss_limits__
ndarray of two values that determine the limits of the pmiss axis. Default is [0.0005, 0.5]
- Attr __xticks__
coordonates of the ticks on the horizontal axis
- Attr __xticklabels__
labels of the ticks on the horizontal axis in a ndarray of strings
- Attr __yticks__
coordonates of the ticks on the vertical axis
- Attr __yticklabels__
labels of the ticks on the vertical axis in a ndarray of strings
-
axis_big
()[source]¶ Set axis value to big ones
pfa ranges from 0.000005 to 0.99
pmiss ranges from 0.000005 to0.99
-
axis_new
()[source]¶ Set axis value to new ones
pfa ranges from 0.000005 to 0.005
pmiss ranges from 0.01 to 0.99
-
axis_old
()[source]¶ Set axis value to old ones (NIST-SRE08 style)
pfa ranges from 0.0005 to 0.5
pmiss ranges from 0.0005 to 0.5
-
axis_sre10
()[source]¶ Set axis value to NIST-SRE10 style
pfa ranges from 0.000003 to 0.5
pmiss ranges from 0.0003 to 0.9
-
make_plot_window_from_values
(pfa_limits, pmiss_limits, xticks, xticklabels, yticks, yticklabels)[source]¶ Initialize PlotWindow from provided values
- Parameters
pfa_limits – ndarray of two values that determine the limits of the pfa axis.
pmiss_limits – ndarray of two values that determine the limits of the pmiss axis.
xticks – coordonates of the ticks on the horizontal axis.
xticklabels – labels of the ticks on the horizontal axis in a ndarray of strings.
yticks – coordonates of the ticks on the vertical axis.
yticklabels – labels of the ticks on the vertical axis in a ndarray of strings.