sierra.plugins.prod.graphs.collate#

Collation functionality for stage3 outputs according to configuration.

Classes#

GraphCollationInfo

Container for Collated Output Data files for a particular graph.

GraphCollator

For a single graph gather needed data from experiments in a batch.

Functions#

proc_batch_exp(→ None)

Generate Collated Output Data files from Batch Summary Data files.

Module Contents#

class sierra.plugins.prod.graphs.collate.GraphCollationInfo(df_ext: str, exp_names: list[str], graph_type: str, summary_col: str)[source]#

Container for Collated Output Data files for a particular graph.

This is one of the focal points for the magic of SIERRA: here is where time series data is transformed into different dataframe formats so as to make generation of different types of graphs seamless when you want to look at some data across the batch. The for dataframes by graph type is as follows:

  • stacked_line() : Columns are the raw time series data. Column names are the names of the experiments.

  • summary_line(): Columns are a single time slice of time series data. Column names are the names of the experiments. Indexed by (exp name, summary column).

  • heatmap(): X,Y columns are the indices in the multidimensional array defining the experiment space, parsed out from the exp dirnames for the batch. Z values are a single time slice of time series data for the specified column in each experiment in the batch.

class sierra.plugins.prod.graphs.collate.GraphCollator(main_config: sierra.core.types.YAMLDict, cmdopts: sierra.core.types.Cmdopts, pathset: sierra.core.batchroot.PathSet)[source]#

For a single graph gather needed data from experiments in a batch.

Results are put into a single Collated Output Data file.

sierra.plugins.prod.graphs.collate.proc_batch_exp(main_config: sierra.core.types.YAMLDict, cmdopts: sierra.core.types.Cmdopts, pathset: sierra.core.batchroot.PathSet, criteria: sierra.core.variables.batch_criteria.XVarBatchCriteria) None[source]#

Generate Collated Output Data files from Batch Summary Data files.