sierra.core.graphs.bcbridge#
Bridge/glue interfaces/bindings for Batch Criteria which can be graphed.
Classes#
Container of info for generating graphs from batch criteria. |
|
Interface for batch criteria for usage with Graph Generation. |
Module Contents#
- class sierra.core.graphs.bcbridge.GraphInfo[source]#
Container of info for generating graphs from batch criteria.
- cmdopts#
Dictionary of parsed command line options. Most batch criteria will not need this to compute things, BUT it is available.
- batch_output_root#
Root directory for all experimental output in the batch. Needed in calculating graphs for batch criteria when
--exp-rangeis used.
- exp_names#
The names of experiment directories to instantiate on the filesystem.
- xticklabels#
Labels for the xticks.
- xticks#
The x-axis ticks.
- yticklabels#
Labels for the yticks.
- yticks#
The y-axis ticks.
- class sierra.core.graphs.bcbridge.IGraphable[source]#
Interface for batch criteria for usage with Graph Generation.
- abstract graph_info(cmdopts: sierra.core.types.Cmdopts, batch_output_root: pathlib.Path | None = None, exp_names: list[str] | None = None) GraphInfo[source]#
Generate graph info for generating graphs from Batch Criteria.
- Parameters:
exp_names -- Needed as an optional for bivariate batch criteria. When calculating say yticks using criteria2, if criteria2 uses
populations()in the process, the criteria's OWNgen_exp_names()will be used, which will result in bad directory name calculations. This can be overcome by passing the list of exp names to use at THIS level, which should override the value otherwise present inGraphInfo.