def excute_Analysis(self):
     print("\nCalculating intermediate scattering function.\n")
     start=time.time()
     displacement_loop(self,self.List.unwrap_pos)
     self.postprocess_list()
     self.write()
     print("Writing msd to file "+self.filename)
     end=time.time()
     print("\nCalculated intermediate scattering function in " +"{0:.2f}".format(end-start) +" seconds.")
Пример #2
0
 def excute_Analysis(self):
     print("\nCalculating Bond Autocorrelation Function.\n")
     start = time.time()
     displacement_loop(self, self.List.vector)
     self.postprocess_list()
     self.write()
     print("Writing baf to file " + self.filename)
     end = time.time()
     print("\nCalculated Bond Autocorrelation Function in " +
           "{0:.2f}".format(end - start) + " seconds.")