Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | · | 1 | ·5d0fd29ead41f0b8b1bd0e44116d9c28·118324·doc·optional·python-gsd-doc_3.0.1-3_all.deb |
2 | ·26384531379b4669278398c7d04da45c·609264·debug·optional·python3-gsd-dbgsym_3.0.1-3_i386.deb | 2 | ·26384531379b4669278398c7d04da45c·609264·debug·optional·python3-gsd-dbgsym_3.0.1-3_i386.deb |
3 | ·12f355b4aff2d1f57a92518b8f1c8c96·241148·python·optional·python3-gsd_3.0.1-3_i386.deb | 3 | ·12f355b4aff2d1f57a92518b8f1c8c96·241148·python·optional·python3-gsd_3.0.1-3_i386.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2023-08-02·12:37:21.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2023-08-02·12:37:21.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····254 | 2 | -rw-r--r--···0········0········0·····2548·2023-08-02·12:37:21.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···11558 | 3 | -rw-r--r--···0········0········0···115584·2023-08-02·12:37:21.000000·data.tar.xz |
Offset 310, 23 lines modified | Offset 310, 23 lines modified | ||
310 | <span·class="gh">Out[16]:·</span><span·class="go">5</span> | 310 | <span·class="gh">Out[16]:·</span><span·class="go">5</span> |
311 | <span·class="gp">In·[17]:·</span><span·class="n">frame</span><span·class="o">.</span><span·class="n">particles</span><span·class="o">.</span><span·class="n">N</span> | 311 | <span·class="gp">In·[17]:·</span><span·class="n">frame</span><span·class="o">.</span><span·class="n">particles</span><span·class="o">.</span><span·class="n">N</span> |
312 | <span·class="gh">Out[17]:·</span><span·class="go">9</span> | 312 | <span·class="gh">Out[17]:·</span><span·class="go">9</span> |
313 | <span·class="gp">In·[18]:·</span><span·class="n">frame</span><span·class="o">.</span><span·class="n">particles</span><span·class="o">.</span><span·class="n">position</span> | 313 | <span·class="gp">In·[18]:·</span><span·class="n">frame</span><span·class="o">.</span><span·class="n">particles</span><span·class="o">.</span><span·class="n">position</span> |
314 | <span·class="gh">Out[18]:·</span> | 314 | <span·class="gh">Out[18]:·</span> |
315 | <span·class="go">array([[0. | 315 | <span·class="go">array([[0.20781453,·0.16928509,·0.8997033·],</span> |
316 | <span·class="go">·······[0. | 316 | <span·class="go">·······[0.8284476·,·0.29613304,·0.87242985],</span> |
317 | <span·class="go">·······[0. | 317 | <span·class="go">·······[0.17311177,·0.12258673,·0.4145005·],</span> |
318 | <span·class="go">·······[0.87646186,·0.07128511,·0.7733798·],</span> | ||
319 | <span·class="go">·······[0.64408976,·0.17146893,·0.51265544],</span> | ||
320 | <span·class="go">·······[0. | 318 | <span·class="go">·······[0.32962888,·0.64138436,·0.9567195·],</span> |
321 | <span·class="go">·······[0. | 319 | <span·class="go">·······[0.26362264,·0.916135··,·0.74434936],</span> |
322 | <span·class="go">·······[0. | 320 | <span·class="go">·······[0.78148884,·0.29446086,·0.25115964],</span> |
321 | <span·class="go">·······[0.5830991·,·0.14439657,·0.38939336],</span> | ||
322 | <span·class="go">·······[0.4471222·,·0.2954397·,·0.14353435],</span> | ||
323 | <span·class="go">·······[0. | 323 | <span·class="go">·······[0.48653582,·0.80238765,·0.62429285]],·dtype=float32)</span> |
324 | </pre></div> | 324 | </pre></div> |
325 | </div> | 325 | </div> |
326 | <p><a·class="reference·internal"·href="python-module-gsd.hoomd.html#gsd.hoomd.HOOMDTrajectory"·title="gsd.hoomd.HOOMDTrajectory"><code·class="xref·any·py·py-class·docutils·literal·notranslate"><span·class="pre">gsd.hoomd.HOOMDTrajectory</span></code></a>·supports·random·indexing·of·frames·in·the·file. | 326 | <p><a·class="reference·internal"·href="python-module-gsd.hoomd.html#gsd.hoomd.HOOMDTrajectory"·title="gsd.hoomd.HOOMDTrajectory"><code·class="xref·any·py·py-class·docutils·literal·notranslate"><span·class="pre">gsd.hoomd.HOOMDTrajectory</span></code></a>·supports·random·indexing·of·frames·in·the·file. |
327 | Indexing·into·a·trajectory·returns·a·<a·class="reference·internal"·href="python-module-gsd.hoomd.html#gsd.hoomd.Frame"·title="gsd.hoomd.Frame"><code·class="xref·any·py·py-class·docutils·literal·notranslate"><span·class="pre">gsd.hoomd.Frame</span></code></a>.</p> | 327 | Indexing·into·a·trajectory·returns·a·<a·class="reference·internal"·href="python-module-gsd.hoomd.html#gsd.hoomd.Frame"·title="gsd.hoomd.Frame"><code·class="xref·any·py·py-class·docutils·literal·notranslate"><span·class="pre">gsd.hoomd.Frame</span></code></a>.</p> |
328 | </section> | 328 | </section> |
329 | <section·id="slicing-and-selection"> | 329 | <section·id="slicing-and-selection"> |
330 | <h2>Slicing·and·selection<a·class="headerlink"·href="#slicing-and-selection"·title="Link·to·this·heading">#</a></h2> | 330 | <h2>Slicing·and·selection<a·class="headerlink"·href="#slicing-and-selection"·title="Link·to·this·heading">#</a></h2> |
Offset 118, 23 lines modified | Offset 118, 23 lines modified | ||
118 | Out[16]:·5 | 118 | Out[16]:·5 |
119 | In·[17]:·frame.particles.N | 119 | In·[17]:·frame.particles.N |
120 | Out[17]:·9 | 120 | Out[17]:·9 |
121 | In·[18]:·frame.particles.position | 121 | In·[18]:·frame.particles.position |
122 | Out[18]: | 122 | Out[18]: |
123 | array([[0.7315565·,·0.98401934,·0.56817657], | ||
124 | ·······[0.71495795,·0.83997387,·0.32198852], | ||
125 | ·······[0.78511107,·0.14749815,·0.062615··], | ||
126 | ·······[0.87646186,·0.07128511,·0.7733798·], | ||
127 | ·······[0.64408976,·0.17146893,·0.51265544], | ||
128 | ·······[0.24476749,·0.87949246,·0.5649671·], | ||
129 | ·······[0.17741856,·0.00436301,·0.25358528], | ||
130 | 123 | array([[0.20781453,·0.16928509,·0.8997033·], | |
124 | ·······[0.8284476·,·0.29613304,·0.87242985], | ||
125 | ·······[0.17311177,·0.12258673,·0.4145005·], | ||
126 | ·······[0.32962888,·0.64138436,·0.9567195·], | ||
127 | ·······[0.26362264,·0.916135··,·0.74434936], | ||
128 | ·······[0.78148884,·0.29446086,·0.25115964], | ||
129 | ·······[0.5830991·,·0.14439657,·0.38939336], | ||
130 | ·······[0.4471222·,·0.2954397·,·0.14353435], | ||
131 | ·······[0. | 131 | ·······[0.48653582,·0.80238765,·0.62429285]],·dtype=float32) |
132 | gsd.hoomd.HOOMDTrajectory·supports·random·indexing·of·frames·in·the·file. | 132 | gsd.hoomd.HOOMDTrajectory·supports·random·indexing·of·frames·in·the·file. |
133 | Indexing·into·a·trajectory·returns·a·gsd.hoomd.Frame. | 133 | Indexing·into·a·trajectory·returns·a·gsd.hoomd.Frame. |
134 | *****·Slicing·and·selection#·***** | 134 | *****·Slicing·and·selection#·***** |
135 | Use·the·slicing·operator·to·select·individual·frames·or·a·subset·of·a | 135 | Use·the·slicing·operator·to·select·individual·frames·or·a·subset·of·a |
136 | trajectory. | 136 | trajectory. |
137 | In·[19]:·f·=·gsd.hoomd.open(name='example.gsd',·mode='r') | 137 | In·[19]:·f·=·gsd.hoomd.open(name='example.gsd',·mode='r') |
Offset 890, 65 lines modified | Offset 890, 65 lines modified | ||
890 | ········"create_fram":·8, | 890 | ········"create_fram":·8, |
891 | ········"step":·[8,·11,·15,·18], | 891 | ········"step":·[8,·11,·15,·18], |
892 | ········"random":·[8,·9], | 892 | ········"random":·[8,·9], |
893 | ········"extend":·[8,·15], | 893 | ········"extend":·[8,·15], |
894 | ········"rang":·[8,·14], | 894 | ········"rang":·[8,·14], |
895 | ········"similar":·8, | 895 | ········"similar":·8, |
896 | ········"express":·[8,·12], | 896 | ········"express":·[8,·12], |
897 | ········"7315565":·8, | ||
898 | ········"98401934":·8, | ||
899 | ········"56817657":·8, | ||
900 | ········"714 | 897 | ········"20781453":·8, |
898 | ········"16928509":·8, | ||
901 | ········"8 | 899 | ········"8997033":·8, |
902 | ········"32198852":·8, | ||
903 | ········"78511107":·8, | ||
904 | ········"14749815":·8, | ||
905 | ········"062615":·8, | ||
906 | ········"87646186":·8, | ||
907 | ········"07128511":·8, | ||
908 | ········"7733798":·8, | ||
909 | ········"64408976":·8, | ||
910 | ········"17146893":·8, | ||
911 | ········"51265544":·8, | ||
912 | ········"24476 | 900 | ········"8284476":·8, |
901 | ········"29613304":·8, | ||
913 | ········"87 | 902 | ········"87242985":·8, |
903 | ········"17311177":·8, | ||
904 | ········"12258673":·8, | ||
905 | ········"4145005":·8, | ||
906 | ········"32962888":·8, | ||
907 | ········"64138436":·8, | ||
914 | ········"56 | 908 | ········"9567195":·8, |
909 | ········"26362264":·8, | ||
915 | ········" | 910 | ········"916135":·8, |
911 | ········"74434936":·8, | ||
912 | ········"78148884":·8, | ||
913 | ········"29446086":·8, | ||
914 | ········"25115964":·8, | ||
916 | ········" | 915 | ········"5830991":·8, |
916 | ········"14439657":·8, | ||
917 | ········"38939336":·8, | ||
918 | ········"4471222":·8, | ||
919 | ········"2954397":·8, | ||
920 | ········"14353435":·8, | ||
917 | ········" | 921 | ········"48653582":·8, |
918 | ········"9381678":·8, | ||
919 | ········"34689146":·8, | ||
920 | ········"43564448":·8, | ||
921 | ········"7082557":·8, | ||
922 | ········" | 922 | ········"80238765":·8, |
923 | ········"6 | 923 | ········"62429285":·8, |
924 | ········"individu":·8, | 924 | ········"individu":·8, |
925 | ········"print":·[8,·16], | 925 | ········"print":·[8,·16], |
926 | ········"every_2nd_fram":·8, | 926 | ········"every_2nd_fram":·8, |
927 | ········"11246061":·8, | ||
928 | ········"00197946":·8, | ||
929 | ········"29402193":·8, | ||
930 | ········"02101304":·8, | ||
931 | ········"7145698":·8, | ||
932 | ········"4336738":·8, | ||
933 | ········"21028033":·8, | ||
934 | ········"25099355":·8, | ||
935 | ········"7915619":·8, | ||
936 | ········"67 | 927 | ········"9867958":·8, |
928 | ········"96977985":·8, | ||
929 | ········"975354":·8, | ||
930 | ········"13177831":·8, | ||
931 | ········"53126246":·8, | ||
932 | ········"77390677":·8, | ||
933 | ········"566132":·8, | ||
934 | ········"06372979":·8, | ||
935 | ········"52235454":·8, | ||
936 | ········"5762188":·8, | ||
937 | ········"59996074":·8, | ||
938 | ········"8298878":·8, | ||
939 | ········"17351997":·8, | ||
940 | ········"6193016":·8, | ||
941 | ········"8232082":·8, | ||
942 | ········"55645096":·8, | ||
943 | ········"25666964":·8, | ||
944 | ········"75711095":·8, | ||
945 | ········"43274087":·8, | ||
946 | ········"23175566":·8, | ||
937 | ········"8 | 947 | ········"8394726":·8, |
938 | ········"9972264":·8, | ||
939 | ········"11348537":·8, | ||
940 | ········"41886795":·8, | ||
941 | ········"4675539":·8, | ||
942 | ········"8082915":·8, | ||
943 | ········"45920357":·8, | ||
944 | ········"6110786":·8, | ||
945 | ········"0957502":·8, | ||
946 | ········"7615597":·8, | ||
947 | ········"36939853":·8, | ||
948 | ········"It":·[8,·13,·16,·18], | 948 | ········"It":·[8,·13,·16,·18], |
949 | ········"like":·[8,·14,·16], | 949 | ········"like":·[8,·14,·16], |
950 | ········"grid":·[8,·16], | 950 | ········"grid":·[8,·16], |
951 | ········"over":·[8,·15], | 951 | ········"over":·[8,·15], |
952 | ········"internet":·[8,·11], | 952 | ········"internet":·[8,·11], |
953 | ········"slow":·8, | 953 | ········"slow":·8, |
954 | ········"whenev":·8, | 954 | ········"whenev":·8, |