SAMSON Connect - Forum
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • SAMSON Connect
    • Download SAMSON

    Load and visualize a xyz trajectory frame by frame

    SAMSON
    2
    4
    1219
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Luis last edited by Luis

      Hi,

      How to load a trajectory (in a single xyz file), and visualize it frame by frame?

      Thanks,

      Luis

      DmitriyMarin 1 Reply Last reply Reply Quote 0
      • DmitriyMarin
        DmitriyMarin @Luis last edited by

        Dear @luis ,

        To load an XYZ file with a trajectory it needs to be in a special format. For example, a trajectory of 3 hydrogens:

        3
         STEP:           1
         H      0.967485      6.687080      5.821420
         H      2.507099      7.320300      6.535832
         H      2.819131      8.163311      3.557150
         3
         STEP:         2
         H      0.987382      6.755653      5.887846
         H      2.528730      7.288068      6.545012
         H      2.899837      8.187620      3.675997
         
        

        The first number is the number of atoms, the following comment line should contain the word 'Step' (or 'step' or 'STEP'), and the atoms in each step should be in the same order.

        Dmitriy,
        SAMSON Team, https://s-c.io

        1 Reply Last reply Reply Quote 1
        • DmitriyMarin
          DmitriyMarin last edited by

          Once loaded, you should see a Path node in the Document view. You can double-click on it to start/stop the trajectory.

          To play the trajectory frame-by-frame or go to a specific frame, you can use the Inspector - right-click on the Path node in the document and click on "Inspect" - this should open the Inspector for this node. Please note, that some functionality of the Inspector is disabled in the Starter plan version, you can try the Standard or Professional plans for a free 30-day trial period.

          If you don't have access to the Inspector, then you can create Conformations out of the Path. For that, right-click on the Path in the document and click on "Create conformations from paths" - this will create conformations in the document for each frame of the Path. Then you can simply double-click on a conformation in the document to restore it.

          Dmitriy,
          SAMSON Team, https://s-c.io

          1 Reply Last reply Reply Quote 1
          • L
            Luis last edited by

            Great. Thanks @DmitriyMarin

            1 Reply Last reply Reply Quote 0
            • First post
              Last post