diplomat.wx_gui.fpe_editor.HeatmapOptions

class diplomat.wx_gui.fpe_editor.HeatmapOptions(entries: List[str], heatmap_extractor: Callable[[int, int], Tuple[numpy.ndarray, float]])[source]

Bases: object

__init__(entries: List[str], heatmap_extractor: Callable[[int, int], Tuple[ndarray, float]]) None

Methods

__init__(entries, heatmap_extractor)

Attributes

entries

The list of options to show in the UI for heatmaps.

heatmap_extractor

Provided a frame index and option index (corresponding to the entries list), returns the heatmap and downscaling factor.

entries: List[str]

The list of options to show in the UI for heatmaps.

heatmap_extractor: Callable[[int, int], Tuple[ndarray, float]]

Provided a frame index and option index (corresponding to the entries list), returns the heatmap and downscaling factor.