Vis progress
args = parser.parse_args()
module-attribute
¶
parser = argparse.ArgumentParser(description='Script that will read the h5 file and create plots to visualize the progress of the simulation.')
module-attribute
¶
settings = check_input_settings_file(args.settings)
module-attribute
¶
west = h5py.File(args.h5file, 'r')
module-attribute
¶
get_pcoords_for_plotting(westfile, settings)
¶
obtain_paths_highest_rmsd_jd_weight(max_rmsd, max_jd, max_weight, reverse_iterations)
¶
Determines the paths with highest RMSD, JD, and weight.
PARAMETER | DESCRIPTION |
---|---|
max_rmsd |
list containing the maximum RMSD.
TYPE:
|
max_jd |
list containing the maximum Jaccard distance.
TYPE:
|
max_weight |
list containing the maximum weight.
TYPE:
|
reverse_iterations |
list containing the iterations in reverse order. (?)
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
dict
|
dictionary containing the highest rmsd, jd, and weight paths.
TYPE:
|
plot(jd, rmsd, title, outdir, filename)
¶
Plots the Jaccard distance and the RMSD of the pocket heavy atoms. The plot will be saved to the specified directory.
PARAMETER | DESCRIPTION |
---|---|
jd |
list containing the Jaccard distance.
TYPE:
|
rmsd |
list containing the RMSD of the pocket heavy atoms.
TYPE:
|
title |
title of the plot.
TYPE:
|
outdir |
path to outdir.
TYPE:
|
filename |
name of the file.
TYPE:
|
plot_histogram(results, key, title, directory=None)
¶
plot_num_walkers(west, outdir)
¶
Plots the number of walkers per iteration. The plot will be saved to the specified directory.
PARAMETER | DESCRIPTION |
---|---|
west |
h5 file containing all the info for the simulation.
TYPE:
|
outdir |
path to outdir.
TYPE:
|
plot_stuff(jd, min_md_jd, max_md_jd, average_jd, jd_max, jd_min, jd_sd)
¶
Plots the Jaccard distance against iteration. The plot will be saved to the specified directory.
PARAMETER | DESCRIPTION |
---|---|
jd |
list containing the Jaccard distance.
TYPE:
|
min_md_jd |
minimum Jaccard distance of the MD simulations.
TYPE:
|
max_md_jd |
maximum Jaccard distance of the MD simulations.
TYPE:
|
average_jd |
average Jaccard distance of the MD simulations.
TYPE:
|
jd_max |
list containing the maximum Jaccard distance.
TYPE:
|
jd_min |
list containing the minimum Jaccard distance.
TYPE:
|
jd_sd |
list containing the standard deviation of the Jaccard distance.
TYPE:
|