User Tools

Site Tools


tools:aml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
tools:aml [2022/07/07 15:17] – created oschuetttools:aml [2022/07/07 15:18] oschuett
Line 18: Line 18:
  
 cell = np.array([[A,0,0],[0,B,0],[0,0,C]]) cell = np.array([[A,0,0],[0,B,0],[0,0,C]])
-frames = aml.read_frames_cp2k(fn_positions=fn_positions, fn_forces=fn_forces, cell=cell)+frames = aml.read_frames_cp2k(fn_positions=fn_positions, 
 +                              fn_forces=fn_forces, 
 +                              cell=cell)
 structures = aml.Structures.from_frames(frames) structures = aml.Structures.from_frames(frames)
  
 structures.to_file('input.data', label_prop='reference') structures.to_file('input.data', label_prop='reference')
 </code> </code>
tools/aml.txt · Last modified: 2022/07/07 15:22 by oschuett