plot_file

jaxrens.cli.plot.plot_file(input_path, output_path=None)[source]

Auto-detect file kind and render the corresponding plot.

Parameters:
  • input_path (Path) – Path to .adaptation.h5 / .re_stats.h5 / .max_neighbors.h5 / .energies file.

  • output_path (Path | None) – Destination PNG. Defaults to a sibling file <stem>.<kind>.png.

Returns:

The path the figure was written to.

Return type:

Path