sierra.core.graphs.stacked_line#

Intra-experiment line graph generation classes for stage{4,5}.

Functions#

generate(→ bool)

Generate a line graph from a set of columns in a file.

Module Contents#

sierra.core.graphs.stacked_line.generate(paths: sierra.core.graphs.pathset.PathSet, input_stem: str, output_stem: str, title: str, medium: str, backend: str, xticks: list[float] | None = None, stats: str | None = None, xlabel: str | None = None, ylabel: str | None = None, points: bool | None = False, large_text: bool = False, legend: list[str] | None = None, xticklabels: list[str] | None = None, cols: list[str] | None = None, logyscale: bool = False, ext: str = config.STATS['mean'].exts['mean']) bool[source]#

Generate a line graph from a set of columns in a file.

If the necessary data file does not exist, the graph is not generated.

If the .stddev file that goes with the .mean does not exist, then no error bars are plotted.

If the .model file that goes with the .mean does not exist, then no model predictions are plotted.

Ideally, model predictions/stddev calculations would be in derived classes, but I can't figure out a good way to easily pull that stuff out of here.