printouts#
- irmsd.utils.printouts._print_atomwise_table(mol, properties: Mapping[str, ndarray]) None[source]#
Pretty-print multiple atom-wise properties for a single Molecule.
- irmsd.utils.printouts.print_conformer_structures(*mols, labels=None) None[source]#
Print conformers of one molecule side by side in XYZ-like columns.
labels, if given, head the columns, one per molecule. Raises TypeError for non-Molecule input, ValueError on atom-count or label-count mismatch.
- irmsd.utils.printouts.print_molecule_summary(molecule_list: Sequence[Any], **results_by_name: Sequence[Any]) None[source]#
Print per-molecule results; 1D per-atom arrays go into one atom-wise table.
Each
results_by_nameentry is a sequence aligned withmolecule_list, e.g.energies=[...].
- irmsd.utils.printouts.print_pretty_array(title: str, arr: ndarray, fmt='{:8.4f}', sep=' ') None[source]#
Print
title, then a 1D or 2D array one row per line (ValueError otherwise).
- irmsd.utils.printouts.print_structure_summary(key: str, energies_hartree: Sequence[float] | None = None, delta_irmsd: Sequence[float] | None = None, max_rows: int | None = None) None[source]#
Print a per-structure table of energies and delta-iRMSD values.
- Parameters:
key (
str) – Block title.energies_hartree (
sequenceoffloat, optional) – Energies in Hartree; adds a kcal/mol ΔE column relative to the first.delta_irmsd (
sequenceoffloat, optional) – Delta iRMSD values in Å.max_rows (
int, optional) – Truncate after this many rows and report the skipped count.length. (Prints nothing if both arrays are None; given arrays must match in)