I am trying to make radial distribution graph from the quantumatk option :
https://docs.quantumatk.com/manual/Types/RadialDistribution/RadialDistribution.html#radialdistribution-cWhen I tried to make graph with the python file example above the link, the calculation was finished but nothing appeared.
How can I solve this problem? Here's the code that I made based on the example link.
Thank you!!
md_trajectory = nlread('216csi_TFMC_1.hdf5')[-1]
rdf = RadialDistribution(md_trajectory,
cutoff_radius=3.0*Angstrom,
pair_selection=[Silicon, Silicon])
# Get the bin_centers and the histogram of the radial distribution.
distances = rdf.distances().inUnitsOf(Angstrom)
histogram = rdf.data()
# Plot the data using pylab.
import pylab
pylab.plot(distances, histogram, label='Si RDF')
pylab.xlabel('r (Ang)')
pylab.ylabel('g(r)')
pylab.legend()
pylab.show()