rgpycrumbs.eon._single_ended_cli

Shared CLI helpers for single-ended eOn plotting commands.

Attributes

T

Functions

default_output_path(→ pathlib.Path)

Return the explicit output path or the standard default.

overlay_labels(→ list[str])

Pad missing overlay labels with job-dir names.

load_trajectories(→ list[T])

Load trajectories and emit consistent informational logs.

Module Contents

rgpycrumbs.eon._single_ended_cli.T[source]
rgpycrumbs.eon._single_ended_cli.default_output_path(prefix: str, plot_type: str, output: pathlib.Path | None) pathlib.Path[source]

Return the explicit output path or the standard default.

rgpycrumbs.eon._single_ended_cli.overlay_labels(job_dirs: collections.abc.Sequence[pathlib.Path], labels: collections.abc.Sequence[str]) list[str][source]

Pad missing overlay labels with job-dir names.

rgpycrumbs.eon._single_ended_cli.load_trajectories(job_dirs: collections.abc.Iterable[pathlib.Path], loader: collections.abc.Callable[[pathlib.Path], T], *, log_info: collections.abc.Callable[[str, object, object], None], noun: str, detail: collections.abc.Callable[[T], str]) list[T][source]

Load trajectories and emit consistent informational logs.