CLI Tools

Modules powering the command-line interfaces.

ensemble_analyzer.cli.check_setup.check_gaussian() None[source]

Check for Gaussian availability (Optional). Looks for ‘g16’ or ‘g09’ in PATH.

ensemble_analyzer.cli.check_setup.check_mlip() None[source]

Check optional MLIP dependencies (AIMNet, UMA, MACE).

ensemble_analyzer.cli.check_setup.check_models_dir() None[source]

Check ENAN_MODELS_DIR environment variable.

ensemble_analyzer.cli.check_setup.check_nwchem() None[source]

Check for NWChem availability (Optional). Looks for ‘nwchem’ or ‘nwchem_openmpi’ in PATH.

ensemble_analyzer.cli.check_setup.check_orca() bool[source]

Verify ORCA installation and environment configuration.

Checks: 1. ‘orca’ executable in PATH. 2. ‘ORCAVERSION’ environment variable.

Returns:

True if ORCA is correctly configured.

Return type:

bool

ensemble_analyzer.cli.check_setup.check_python_dependencies() bool[source]

Verify that all required Python libraries are installed and importable.

Returns:

True if all critical dependencies are found.

Return type:

bool

ensemble_analyzer.cli.check_setup.check_tblite() None[source]

Check for TBLite (semi-empirical tight-binding) availability.

ensemble_analyzer.cli.check_setup.log_fail(msg) None[source]

Print a failure message in red.

ensemble_analyzer.cli.check_setup.log_pass(msg) None[source]

Print a success message in green.

ensemble_analyzer.cli.check_setup.log_warn(msg) None[source]

Print a warning message in yellow.

ensemble_analyzer.cli.check_setup.main() None[source]

Run the complete installation check suite.

ensemble_analyzer.cli.get_av_energy.calculate_population_vector(energies, temp)[source]
ensemble_analyzer.cli.get_av_energy.calculate_weighted_average(energies, pops)[source]
ensemble_analyzer.cli.get_av_energy.get_thermo_data(conf, protocol_number, temp, mult, cut_off, alpha, pressure, linear) Tuple[float, ...][source]
ensemble_analyzer.cli.get_av_energy.main() None[source]
ensemble_analyzer.cli.regraph.main() None[source]
ensemble_analyzer.cli.regraph.parse_argument() Namespace[source]

Graph Editor

class ensemble_analyzer.cli.pickle_editor.core.MatplotlibPickleEditor(pickle_path: Path, strict_validation: bool = True)[source]
change_line_alpha(alpha_map: Dict[str, float]) int[source]
change_line_colors(label_color_map: Dict[str, str]) int[source]
change_line_linestyle(style_map: Dict[str, str]) int[source]
change_line_linewidth(width_map: Dict[str, float]) int[source]
change_line_visibility(visibility_map: Dict[str, bool]) int[source]
get_legend_labels() Dict[int, str][source]
get_line_colors() Dict[str, str][source]
has_modifications() bool[source]
load() None[source]
preview() None[source]
rename_legend_labels(mapping: Dict[str, str]) int[source]
save(output_path: Path | None = None, format: str = 'pickle') Path[source]
set_xlim(xmin: float | None = None, xmax: float | None = None) None[source]
set_ylim(ymin: float | None = None, ymax: float | None = None) None[source]
exception ensemble_analyzer.cli.pickle_editor.core.PickleSecurityError[source]
ensemble_analyzer.cli.pickle_editor.cli.batch_mode(args: Namespace) int[source]
ensemble_analyzer.cli.pickle_editor.cli.main() int[source]
ensemble_analyzer.cli.pickle_editor.cli.parse_mapping_file(filepath: Path) Dict[str, str][source]
class ensemble_analyzer.cli.pickle_editor.tui.InteractiveTUI(editor: MatplotlibPickleEditor)[source]
change_alpha_flow() None[source]
change_colors_flow() None[source]
change_linestyle_flow() None[source]
change_linewidth_flow() None[source]
change_visibility_flow() None[source]
print_panel(message: str, title: str = 'Info', style: str = 'cyan') None[source]
rename_labels_flow() None[source]
run() None[source]
save_flow() None[source]
set_limits_flow() None[source]
show_current_state() None[source]