reporting
#
Utilities for reporting results.
Functions:
-
mols_to_img
–Renders a set of molecules as an embeddable HTML image tag.
-
figure_to_img
–Convert a matplotlib figure to an embeddable HTML image tag.
-
print_potential_summary
–Print a summary of the potential parameters to the terminal.
-
print_force_field_summary
–Print a summary of the force field parameters to the terminal.
mols_to_img
#
Renders a set of molecules as an embeddable HTML image tag.
Parameters:
-
*smiles
(str
, default:()
) –The SMILES patterns of the molecules to render.
-
width
(int
, default:400
) –The width of the image.
-
height
(int
, default:200
) –The height of the image.
Returns:
-
str
–The HTML image tag.
Source code in descent/utils/reporting.py
figure_to_img
#
Convert a matplotlib figure to an embeddable HTML image tag.
Parameters:
-
figure
(Figure
) –The figure to convert.
Returns:
-
str
–The HTML image tag.
Source code in descent/utils/reporting.py
print_potential_summary
#
print_potential_summary(potential: TensorPotential)
Print a summary of the potential parameters to the terminal.
Parameters:
-
potential
(TensorPotential
) –The potential.
Source code in descent/utils/reporting.py
print_force_field_summary
#
print_force_field_summary(force_field: TensorForceField)
Print a summary of the force field parameters to the terminal.
Parameters:
-
force_field
(TensorForceField
) –The force field.