pyqmmm.qm.mechanism_plotter
¶
Module Contents¶
Functions¶
|
Extract energy values from an xyz file. |
|
General plotting parameters for the Kulik Lab. |
|
Process a group of related intermediate files and plot their energies. |
Read xyz files and group them by base name. |
|
Process xyz files and generate plot data. |
|
|
Generate plot using processed data. |
Attributes¶
- pyqmmm.qm.mechanism_plotter.HARTREE_TO_KCAL = 627.509¶
- pyqmmm.qm.mechanism_plotter.read_energy_from_xyz(filename)[source]¶
Extract energy values from an xyz file.
- Parameters:
filename (str) – The name of the xyz file.
- Returns:
energies – A list of energy values from each frame in the file.
- Return type:
list
- pyqmmm.qm.mechanism_plotter.format_plot() None [source]¶
General plotting parameters for the Kulik Lab.
- pyqmmm.qm.mechanism_plotter.plot_group_energies(group_files, ref_energy, offset, color)[source]¶
Process a group of related intermediate files and plot their energies.
- Parameters:
group_files (list) – A list of filenames related to a single intermediate step.
ref_energy (float) – The reference energy value to which other energies are compared.
offset (int) – The current frame offset for the x-axis.
color (str) – The color to use when plotting this group’s energies.
- Returns:
offset – The updated frame offset for the x-axis.
- Return type:
int
- pyqmmm.qm.mechanism_plotter.generate_plot(color_scheme)[source]¶
Generate plot using processed data.
- pyqmmm.qm.mechanism_plotter.color_scheme¶