bencher.plotting.plt_cnt_cfg
Classes
Plot Count Config |
Functions
|
Classify a result variable into a coarse, serializable kind name used by |
Module Contents
- bencher.plotting.plt_cnt_cfg.result_kind(result_var) str
Classify a result variable into a coarse, serializable kind name used by plot-selection signatures (A2).
- class bencher.plotting.plt_cnt_cfg.PltCntCfg(**params)
Bases:
param.ParameterizedPlot Count Config
- float_vars
- float_cnt
- cat_vars
- cat_cnt
- vector_len
- result_vars
- panel_vars
- panel_cnt
- repeats
- inputs_cnt
- has_time
- time_steps
- result_kinds
- cat_levels
- samples_per_point
- print_debug
- static generate_plt_cnt_cfg(bench_cfg: bencher.bench_cfg.BenchCfg, ds: xarray.Dataset | None = None) PltCntCfg
Given a BenchCfg work out how many float and cat variables there are and store in a PltCntCfg class
- Parameters:
bench_cfg (BenchCfg) – See BenchCfg definition
ds (xr.Dataset, optional) – The collected result dataset. When provided, the data-derived signature facts (time_steps, samples_per_point) are computed from it; without it they stay at their defaults.
- Raises:
ValueError – If no plotting procedure could be automatically detected
- Returns:
see PltCntCfg definition
- Return type:
- __str__()
Return a short representation of the name and class of this object.