Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | · | 1 | ·faee0bca8c0cd53f26482309a3e37050·130592·doc·optional·python-gsd-doc_3.4.2-2_all.deb |
2 | ·588defdc8ec5aa497ce47a822d96febd·366332·debug·optional·python3-gsd-dbgsym_3.4.2-2_amd64.deb | 2 | ·588defdc8ec5aa497ce47a822d96febd·366332·debug·optional·python3-gsd-dbgsym_3.4.2-2_amd64.deb |
3 | ·0506e5b14c0c780f001a28c661ba4d1a·209288·python·optional·python3-gsd_3.4.2-2_amd64.deb | 3 | ·0506e5b14c0c780f001a28c661ba4d1a·209288·python·optional·python3-gsd_3.4.2-2_amd64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-02-13·09:32:12.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-02-13·09:32:12.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····2700·2025-02-13·09:32:12.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····2700·2025-02-13·09:32:12.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···127 | 3 | -rw-r--r--···0········0········0···127700·2025-02-13·09:32:12.000000·data.tar.xz |
Offset 57, 29 lines modified | Offset 57, 29 lines modified | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)····19878·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/cli.html | 57 | -rw-r--r--···0·root·········(0)·root·········(0)····19878·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/cli.html |
58 | -rw-r--r--···0·root·········(0)·root·········(0)····18486·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/community.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)····18486·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/community.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)····26275·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/contributing.html | 59 | -rw-r--r--···0·root·········(0)·root·········(0)····26275·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/contributing.html |
60 | -rw-r--r--···0·root·········(0)·root·········(0)····18030·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/credits.html | 60 | -rw-r--r--···0·root·········(0)·root·········(0)····18030·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/credits.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)····34396·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/file-layer.html | 61 | -rw-r--r--···0·root·········(0)·root·········(0)····34396·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/file-layer.html |
62 | -rw-r--r--···0·root·········(0)·root·········(0)····52292·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/fl-examples.html | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····52292·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/fl-examples.html |
63 | -rw-r--r--···0·root·········(0)·root·········(0)····56825·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/genindex.html | 63 | -rw-r--r--···0·root·········(0)·root·········(0)····56825·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/genindex.html |
64 | -rw-r--r--···0·root·········(0)·root·········(0)····5 | 64 | -rw-r--r--···0·root·········(0)·root·········(0)····54080·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/hoomd-examples.html |
65 | -rw-r--r--···0·root·········(0)·root·········(0)····20677·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/index.html | 65 | -rw-r--r--···0·root·········(0)·root·········(0)····20677·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/index.html |
66 | -rw-r--r--···0·root·········(0)·root·········(0)····17144·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/indices.html | 66 | -rw-r--r--···0·root·········(0)·root·········(0)····17144·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/indices.html |
67 | -rw-r--r--···0·root·········(0)·root·········(0)····33586·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/installation.html | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····33586·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/installation.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)····24155·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/license.html | 68 | -rw-r--r--···0·root·········(0)·root·········(0)····24155·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/license.html |
69 | -rw-r--r--···0·root·········(0)·root·········(0)·····5784·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/objects.inv | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····5784·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/objects.inv |
70 | -rw-r--r--···0·root·········(0)·root·········(0)····18126·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/py-modindex.html | 70 | -rw-r--r--···0·root·········(0)·root·········(0)····18126·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/py-modindex.html |
71 | -rw-r--r--···0·root·········(0)·root·········(0)····23394·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-api.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)····23394·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-api.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)····87525·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.fl.html | 72 | -rw-r--r--···0·root·········(0)·root·········(0)····87525·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.fl.html |
73 | -rw-r--r--···0·root·········(0)·root·········(0)····95444·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.hoomd.html | 73 | -rw-r--r--···0·root·········(0)·root·········(0)····95444·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.hoomd.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)····49306·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.pygsd.html | 74 | -rw-r--r--···0·root·········(0)·root·········(0)····49306·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.pygsd.html |
75 | -rw-r--r--···0·root·········(0)·root·········(0)····18756·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.version.html | 75 | -rw-r--r--···0·root·········(0)·root·········(0)····18756·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/python-module-gsd.version.html |
76 | -rw-r--r--···0·root·········(0)·root·········(0)···107555·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/schema-hoomd.html | 76 | -rw-r--r--···0·root·········(0)·root·········(0)···107555·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/schema-hoomd.html |
77 | -rw-r--r--···0·root·········(0)·root·········(0)····16660·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/search.html | 77 | -rw-r--r--···0·root·········(0)·root·········(0)····16660·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/search.html |
78 | -rw-r--r--···0·root·········(0)·root·········(0)····8 | 78 | -rw-r--r--···0·root·········(0)·root·········(0)····83018·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/searchindex.js |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····32666·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/shapes.html | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····32666·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/shapes.html |
80 | -rw-r--r--···0·root·········(0)·root·········(0)····20931·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/specification.html | 80 | -rw-r--r--···0·root·········(0)·root·········(0)····20931·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/specification.html |
81 | -rw-r--r--···0·root·········(0)·root·········(0)····24988·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/style.html | 81 | -rw-r--r--···0·root·········(0)·root·········(0)····24988·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/style.html |
82 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-13·09:32:12.000000·./usr/share/doc-base/ | 82 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-13·09:32:12.000000·./usr/share/doc-base/ |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······331·2025-02-13·09:32:12.000000·./usr/share/doc-base/python-gsd-doc.python-gsd | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······331·2025-02-13·09:32:12.000000·./usr/share/doc-base/python-gsd-doc.python-gsd |
84 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js | 84 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js |
85 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/_static/language_data.js·->·../../../../javascript/sphinxdoc/1.0/language_data.js | 85 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-13·09:32:12.000000·./usr/share/doc/python-gsd-doc/html/_static/language_data.js·->·../../../../javascript/sphinxdoc/1.0/language_data.js |
Offset 355, 23 lines modified | Offset 355, 23 lines modified | ||
355 | <span·class="gh">Out[16]:·</span><span·class="go">np.uint64(5)</span> | 355 | <span·class="gh">Out[16]:·</span><span·class="go">np.uint64(5)</span> |
356 | <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> | 356 | <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> |
357 | <span·class="gh">Out[17]:·</span><span·class="go">np.uint32(9)</span> | 357 | <span·class="gh">Out[17]:·</span><span·class="go">np.uint32(9)</span> |
358 | <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> | 358 | <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> |
359 | <span·class="gh">Out[18]:·</span> | 359 | <span·class="gh">Out[18]:·</span> |
360 | <span·class="go">array([[0.12185122,·0.57280153,·0.42863393],</span> | ||
361 | <span·class="go">·······[0.91708016,·0.32139122,·0.26458454],</span> | ||
362 | <span·class="go">·······[0.90587056,·0.8419029·,·0.6727576·],</span> | ||
363 | <span·class="go">·······[0.12869208,·0.13665837,·0.822214··],</span> | ||
364 | <span·class="go">·······[0.7690379·,·0.23437722,·0.77307165],</span> | ||
365 | <span·class="go">·······[0.7869729·,·0.7195856·,·0.37128893],</span> | ||
366 | <span·class="go">·······[0.3155205·,·0.46465775,·0.19996744],</span> | ||
367 | <span·class="go">·······[0.55769265,·0.5152297·,·0.8033872·],</span> | ||
368 | <span·class="go"> | 360 | <span·class="go">array([[7.9173702e-01,·4.7918576e-01,·3.3700210e-01],</span> |
361 | <span·class="go">·······[6.9188081e-02,·7.0462573e-01,·1.5922382e-01],</span> | ||
362 | <span·class="go">·······[6.9437623e-01,·3.7668768e-01,·3.7479711e-01],</span> | ||
363 | <span·class="go">·······[2.6676232e-01,·1.7014258e-01,·8.1140071e-01],</span> | ||
364 | <span·class="go">·······[7.9655832e-01,·8.3319819e-01,·5.0843340e-01],</span> | ||
365 | <span·class="go">·······[4.8872375e-01,·4.3517411e-01,·4.5696652e-01],</span> | ||
366 | <span·class="go">·······[9.7742178e-02,·3.2063684e-01,·8.5555720e-01],</span> | ||
367 | <span·class="go">·······[1.5533215e-01,·1.9010235e-01,·6.7112374e-01],</span> | ||
368 | <span·class="go">·······[6.6364676e-01,·8.9358677e-05,·2.1204147e-01]],·dtype=float32)</span> | ||
369 | </pre></div> | 369 | </pre></div> |
370 | </div> | 370 | </div> |
371 | <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. | 371 | <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. |
372 | 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> | 372 | 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> |
373 | </section> | 373 | </section> |
374 | <section·id="slicing-and-selection"> | 374 | <section·id="slicing-and-selection"> |
375 | <h2>Slicing·and·selection<a·class="headerlink"·href="#slicing-and-selection"·title="Link·to·this·heading">¶</a></h2> | 375 | <h2>Slicing·and·selection<a·class="headerlink"·href="#slicing-and-selection"·title="Link·to·this·heading">¶</a></h2> |
Offset 398, 21 lines modified | Offset 398, 21 lines modified | ||
398 | <h2>Pure·python·reader<a·class="headerlink"·href="#pure-python-reader"·title="Link·to·this·heading">¶</a></h2> | 398 | <h2>Pure·python·reader<a·class="headerlink"·href="#pure-python-reader"·title="Link·to·this·heading">¶</a></h2> |
399 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[23]:·</span><span·class="n">f</span>·<span·class="o">=</span>·<span·class="n">gsd</span><span·class="o">.</span><span·class="n">pygsd</span><span·class="o">.</span><span·class="n">GSDFile</span><span·class="p">(</span><span·class="nb">open</span><span·class="p">(</span><span·class="s1">'example.gsd'</span><span·class="p">,</span>·<span·class="s1">'rb'</span><span·class="p">))</span> | 399 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[23]:·</span><span·class="n">f</span>·<span·class="o">=</span>·<span·class="n">gsd</span><span·class="o">.</span><span·class="n">pygsd</span><span·class="o">.</span><span·class="n">GSDFile</span><span·class="p">(</span><span·class="nb">open</span><span·class="p">(</span><span·class="s1">'example.gsd'</span><span·class="p">,</span>·<span·class="s1">'rb'</span><span·class="p">))</span> |
400 | <span·class="gp">In·[24]:·</span><span·class="n">trajectory</span>·<span·class="o">=</span>·<span·class="n">gsd</span><span·class="o">.</span><span·class="n">hoomd</span><span·class="o">.</span><span·class="n">HOOMDTrajectory</span><span·class="p">(</span><span·class="n">f</span><span·class="p">);</span> | 400 | <span·class="gp">In·[24]:·</span><span·class="n">trajectory</span>·<span·class="o">=</span>·<span·class="n">gsd</span><span·class="o">.</span><span·class="n">hoomd</span><span·class="o">.</span><span·class="n">HOOMDTrajectory</span><span·class="p">(</span><span·class="n">f</span><span·class="p">);</span> |
401 | <span·class="gp">In·[25]:·</span><span·class="n">trajectory</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">particles</span><span·class="o">.</span><span·class="n">position</span> | 401 | <span·class="gp">In·[25]:·</span><span·class="n">trajectory</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">particles</span><span·class="o">.</span><span·class="n">position</span> |
402 | <span·class="gh">Out[25]:·</span> | 402 | <span·class="gh">Out[25]:·</span> |
403 | <span·class="go">array([[0.7442341·,·0.7024596·,·0.24918586],</span> | ||
403 | <span·class="go">array([[0.24144034,·0.5588845·,·0.6844934·],</span> | ||
404 | <span·class="go">·······[0.03970447,·0.07645058,·0.91972566],</span> | ||
405 | <span·class="go">·······[0. | 404 | <span·class="go">·······[0.9067364·,·0.8341892·,·0.8881459·],</span> |
406 | <span·class="go">·······[0.7185526·,·0.02111572,·0.22750808],</span> | ||
407 | <span·class="go">·······[0.2 | 405 | <span·class="go">·······[0.2809104·,·0.9754816·,·0.09817833],</span> |
406 | <span·class="go">·······[0.5564434·,·0.8087387·,·0.28974345],</span> | ||
407 | <span·class="go">·······[0.07561684,·0.32808083,·0.24839371],</span> | ||
408 | <span·class="go">·······[0. | 408 | <span·class="go">·······[0.00532265,·0.6347386·,·0.13768294],</span> |
409 | <span·class="go">·······[0. | 409 | <span·class="go">·······[0.11115912,·0.92678034,·0.6684798·]],·dtype=float32)</span> |
410 | </pre></div> | 410 | </pre></div> |
411 | </div> | 411 | </div> |
412 | <p>You·can·use·<strong>GSD</strong>·without·needing·to·compile·C·code·to·read·<strong>GSD</strong>·files | 412 | <p>You·can·use·<strong>GSD</strong>·without·needing·to·compile·C·code·to·read·<strong>GSD</strong>·files |
413 | using·<a·class="reference·internal"·href="python-module-gsd.pygsd.html#gsd.pygsd.GSDFile"·title="gsd.pygsd.GSDFile"><code·class="xref·any·py·py-class·docutils·literal·notranslate"><span·class="pre">gsd.pygsd.GSDFile</span></code></a>·in·combination·with·<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>.·It | 413 | using·<a·class="reference·internal"·href="python-module-gsd.pygsd.html#gsd.pygsd.GSDFile"·title="gsd.pygsd.GSDFile"><code·class="xref·any·py·py-class·docutils·literal·notranslate"><span·class="pre">gsd.pygsd.GSDFile</span></code></a>·in·combination·with·<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>.·It |
414 | only·supports·the·<code·class="docutils·literal·notranslate"><span·class="pre">rb</span></code>·mode·and·does·not·read·files·as·fast·as·the·C | 414 | only·supports·the·<code·class="docutils·literal·notranslate"><span·class="pre">rb</span></code>·mode·and·does·not·read·files·as·fast·as·the·C |
415 | implementation.·It·takes·in·a·python·file-like·object,·so·it·can·be·used·with | 415 | implementation.·It·takes·in·a·python·file-like·object,·so·it·can·be·used·with |
416 | in-memory·IO·classes,·and·grid·file·classes·that·access·data·over·the·internet.</p> | 416 | in-memory·IO·classes,·and·grid·file·classes·that·access·data·over·the·internet.</p> |
Offset 95, 23 lines modified | Offset 95, 23 lines modified | ||
95 | Out[16]:·np.uint64(5) | 95 | Out[16]:·np.uint64(5) |
96 | In·[17]:·frame.particles.N | 96 | In·[17]:·frame.particles.N |
97 | Out[17]:·np.uint32(9) | 97 | Out[17]:·np.uint32(9) |
98 | In·[18]:·frame.particles.position | 98 | In·[18]:·frame.particles.position |
99 | Out[18]: | 99 | Out[18]: |
100 | array([[0.12185122,·0.57280153,·0.42863393], | ||
101 | ·······[0.91708016,·0.32139122,·0.26458454], | ||
102 | ·······[0.90587056,·0.8419029·,·0.6727576·], | ||
103 | ·······[0.12869208,·0.13665837,·0.822214··], | ||
104 | ·······[0.7690379·,·0.23437722,·0.77307165], | ||
105 | ·······[0.7869729·,·0.7195856·,·0.37128893], | ||
106 | ·······[0.3155205·,·0.46465775,·0.19996744], | ||
107 | ·······[0.55769265,·0.5152297·,·0.8033872·], | ||
108 | 100 | array([[7.9173702e-01,·4.7918576e-01,·3.3700210e-01], | |
101 | ·······[6.9188081e-02,·7.0462573e-01,·1.5922382e-01], | ||
102 | ·······[6.9437623e-01,·3.7668768e-01,·3.7479711e-01], | ||
103 | ·······[2.6676232e-01,·1.7014258e-01,·8.1140071e-01], | ||
104 | ·······[7.9655832e-01,·8.3319819e-01,·5.0843340e-01], | ||
105 | ·······[4.8872375e-01,·4.3517411e-01,·4.5696652e-01], | ||
106 | ·······[9.7742178e-02,·3.2063684e-01,·8.5555720e-01], | ||
107 | ·······[1.5533215e-01,·1.9010235e-01,·6.7112374e-01], | ||
108 | ·······[6.6364676e-01,·8.9358677e-05,·2.1204147e-01]],·dtype=float32) | ||
109 | _\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8H_\x8O_\x8O_\x8M_\x8D_\x8T_\x8r_\x8a_\x8j_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y·supports·random·indexing·of·frames·in·the·file. | 109 | _\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8H_\x8O_\x8O_\x8M_\x8D_\x8T_\x8r_\x8a_\x8j_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y·supports·random·indexing·of·frames·in·the·file. |
110 | Indexing·into·a·trajectory·returns·a·_\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8F_\x8r_\x8a_\x8m_\x8e. | 110 | Indexing·into·a·trajectory·returns·a·_\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8F_\x8r_\x8a_\x8m_\x8e. |
111 | *\x8**\x8**\x8**\x8**\x8*·S\x8Sl\x8li\x8ic\x8ci\x8in\x8ng\x8g·a\x8an\x8nd\x8d·s\x8se\x8el\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* | 111 | *\x8**\x8**\x8**\x8**\x8*·S\x8Sl\x8li\x8ic\x8ci\x8in\x8ng\x8g·a\x8an\x8nd\x8d·s\x8se\x8el\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* |
112 | Use·the·slicing·operator·to·select·individual·frames·or·a·subset·of·a | 112 | Use·the·slicing·operator·to·select·individual·frames·or·a·subset·of·a |
113 | trajectory. | 113 | trajectory. |
114 | In·[19]:·f·=·gsd.hoomd.open(name='example.gsd',·mode='r') | 114 | In·[19]:·f·=·gsd.hoomd.open(name='example.gsd',·mode='r') |
Offset 130, 21 lines modified | Offset 130, 21 lines modified | ||
130 | *\x8**\x8**\x8**\x8**\x8*·P\x8Pu\x8ur\x8re\x8e·p\x8py\x8yt\x8th\x8ho\x8on\x8n·r\x8re\x8ea\x8ad\x8de\x8er\x8r_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* | 130 | *\x8**\x8**\x8**\x8**\x8*·P\x8Pu\x8ur\x8re\x8e·p\x8py\x8yt\x8th\x8ho\x8on\x8n·r\x8re\x8ea\x8ad\x8de\x8er\x8r_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* |
131 | In·[23]:·f·=·gsd.pygsd.GSDFile(open('example.gsd',·'rb')) | 131 | In·[23]:·f·=·gsd.pygsd.GSDFile(open('example.gsd',·'rb')) |
132 | In·[24]:·trajectory·=·gsd.hoomd.HOOMDTrajectory(f); | 132 | In·[24]:·trajectory·=·gsd.hoomd.HOOMDTrajectory(f); |
133 | In·[25]:·trajectory[3].particles.position | 133 | In·[25]:·trajectory[3].particles.position |
134 | Out[25]: | 134 | Out[25]: |
135 | array([[0.24144034,·0.5588845·,·0.6844934·], | ||
136 | ·······[0.03970447,·0.07645058,·0.91972566], | ||
137 | ·······[0.35066858,·0.32147667,·0.7282168·], | ||
138 | ·······[0.7185526·,·0.02111572,·0.22750808], | ||
139 | ·······[0.200911··,·0.29521355,·0.28611565], | ||
140 | ·······[0.90440637,·0.52226174,·0.43758374], | ||
141 | 135 | array([[0.7442341·,·0.7024596·,·0.24918586], | |
136 | ·······[0.9067364·,·0.8341892·,·0.8881459·], | ||
137 | ·······[0.2809104·,·0.9754816·,·0.09817833], | ||
138 | ·······[0.5564434·,·0.8087387·,·0.28974345], | ||
139 | ·······[0.07561684,·0.32808083,·0.24839371], | ||
140 | ·······[0.00532265,·0.6347386·,·0.13768294], | ||
141 | ·······[0.11115912,·0.92678034,·0.6684798·]],·dtype=float32) | ||
142 | You·can·use·G\x8GS\x8SD\x8D·without·needing·to·compile·C·code·to·read·G\x8GS\x8SD\x8D·files·using | 142 | You·can·use·G\x8GS\x8SD\x8D·without·needing·to·compile·C·code·to·read·G\x8GS\x8SD\x8D·files·using |
143 | _\x8g_\x8s_\x8d_\x8._\x8p_\x8y_\x8g_\x8s_\x8d_\x8._\x8G_\x8S_\x8D_\x8F_\x8i_\x8l_\x8e·in·combination·with·_\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8H_\x8O_\x8O_\x8M_\x8D_\x8T_\x8r_\x8a_\x8j_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y.·It·only | 143 | _\x8g_\x8s_\x8d_\x8._\x8p_\x8y_\x8g_\x8s_\x8d_\x8._\x8G_\x8S_\x8D_\x8F_\x8i_\x8l_\x8e·in·combination·with·_\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8H_\x8O_\x8O_\x8M_\x8D_\x8T_\x8r_\x8a_\x8j_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y.·It·only |
144 | supports·the·rb·mode·and·does·not·read·files·as·fast·as·the·C·implementation. | 144 | supports·the·rb·mode·and·does·not·read·files·as·fast·as·the·C·implementation. |
145 | It·takes·in·a·python·file-like·object,·so·it·can·be·used·with·in-memory·IO | 145 | It·takes·in·a·python·file-like·object,·so·it·can·be·used·with·in-memory·IO |
146 | classes,·and·grid·file·classes·that·access·data·over·the·internet. | 146 | classes,·and·grid·file·classes·that·access·data·over·the·internet. |
147 | Warning | 147 | Warning |
148 | _\x8g_\x8s_\x8d_\x8._\x8p_\x8y_\x8g_\x8s_\x8d·is·s\x8sl\x8lo\x8ow\x8w.·Use·_\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8o_\x8p_\x8e_\x8n·whenever·possible. | 148 | _\x8g_\x8s_\x8d_\x8._\x8p_\x8y_\x8g_\x8s_\x8d·is·s\x8sl\x8lo\x8ow\x8w.·Use·_\x8g_\x8s_\x8d_\x8._\x8h_\x8o_\x8o_\x8m_\x8d_\x8._\x8o_\x8p_\x8e_\x8n·whenever·possible. |
Offset 1893, 177 lines modified | Offset 1893, 180 lines modified | ||
1893 | ········"12":·"py:property", | 1893 | ········"12":·"py:property", |
1894 | ········"13":·"std:chunk", | 1894 | ········"13":·"std:chunk", |
1895 | ········"14":·"std:cmdoption" | 1895 | ········"14":·"std:cmdoption" |
1896 | ····}, | 1896 | ····}, |
1897 | ····"terms":·{ | 1897 | ····"terms":·{ |
1898 | ········"":·[1,·2,·3,·8,·11,·13,·14,·18,·21], | 1898 | ········"":·[1,·2,·3,·8,·11,·13,·14,·18,·21], |
1899 | ········"0":·[0,·6,·7,·8,·11,·14,·15,·16,·18,·19], | 1899 | ········"0":·[0,·6,·7,·8,·11,·14,·15,·16,·18,·19], |
1900 | ········"0 | 1900 | ········"00532265":·8, |
1901 | ········"03970447":·8, | ||
1902 | ········"07645058":·8, | ||
1903 | ········"0 | 1901 | ········"01":·8, |
1902 | ········"02":·8, | ||
1903 | ········"0462573e":·8, | ||
1904 | ········"05":·8, | ||
1905 | ········"07561684":·8, | ||
1906 | ········"0843340e":·8, | ||
1907 | ········"09817833":·8, | ||
1904 | ········"0x65df65df65df65df":·6, | 1908 | ········"0x65df65df65df65df":·6, |
1905 | ········"0xaaaabbbb":·6, | 1909 | ········"0xaaaabbbb":·6, |
1906 | ········"1":·[0,·7,·8,·12,·14,·15,·16,·18,·19,·20], | 1910 | ········"1":·[0,·7,·8,·12,·14,·15,·16,·18,·19,·20], |
1907 | ········"10":·[7,·8,·11,·14,·15], | 1911 | ········"10":·[7,·8,·11,·14,·15], |
1908 | ········"100":·[8,·15,·21], | 1912 | ········"100":·[8,·15,·21], |
1909 | ········"11":·[7,·8,·14,·21], | 1913 | ········"11":·[7,·8,·14,·21], |
1914 | ········"11115912":·8, | ||
1915 | ········"1140071e":·8, | ||
1910 | ········"12":·[7,·8,·14], | 1916 | ········"12":·[7,·8,·14], |
1911 | ········"12 | 1917 | ········"1204147e":·8, |
1912 | ········"127":·1, | 1918 | ········"127":·1, |
1913 | ········"12869208":·8, | ||
1914 | ········"13":·[7,·8,·14], | 1919 | ········"13":·[7,·8,·14], |
1915 | ········"13 | 1920 | ········"13768294":·8, |
1916 | ········"13_gsd":·[7,·8,·14], | 1921 | ········"13_gsd":·[7,·8,·14], |
1917 | ········"14":·[7,·8,·11,·14], | 1922 | ········"14":·[7,·8,·11,·14], |
1918 | ········"15":·[7,·8,·14], | 1923 | ········"15":·[7,·8,·14], |
1919 | ········"16":·[0,·6,·7,·8,·14], | 1924 | ········"16":·[0,·6,·7,·8,·14], |
1920 | ········"17":·[7,·8,·14], | 1925 | ········"17":·[7,·8,·14], |
1921 | ········"18":·[7,·8,·11], | 1926 | ········"18":·[7,·8,·11], |
1922 | ········"19":·[7,·8,·14], | 1927 | ········"19":·[7,·8,·14], |
1923 | ········"19996744":·8, | ||
1924 | ········"1d":·[14,·16], | 1928 | ········"1d":·[14,·16], |
1925 | ········"1x1":·[18,·19], | 1929 | ········"1x1":·[18,·19], |
1926 | ········"2":·[0,·7,·8,·11,·12,·14,·15,·16,·18,·19,·20], | 1930 | ········"2":·[0,·7,·8,·11,·12,·14,·15,·16,·18,·19,·20], |
1927 | ········"20":·[7,·8], | 1931 | ········"20":·[7,·8], |
1928 | ········"200":·[8,·15], | 1932 | ········"200":·[8,·15], |
1929 | ········"200911":·8, | ||
1930 | ········"2016":·12, | 1933 | ········"2016":·12, |
1931 | ········"2019":·11, | 1934 | ········"2019":·11, |
1932 | ········"2022":·11, | 1935 | ········"2022":·11, |
1933 | ········"2024":·12, | 1936 | ········"2024":·12, |
1937 | ········"2063684e":·8, | ||
1934 | ········"21":·[7,·8], | 1938 | ········"21":·[7,·8], |
1935 | ········"22":·[7,·8,·11], | 1939 | ········"22":·[7,·8,·11], |
1936 | ········"22750808":·8, | ||
1937 | ········"23":·[7,·8], | 1940 | ········"23":·[7,·8], |
1938 | ········"23437722":·8, | ||
1939 | ········"235":·1, | 1941 | ········"235":·1, |
1940 | ········"237":·1, | 1942 | ········"237":·1, |
1941 | ········"238":·1, | 1943 | ········"238":·1, |
1942 | ········"24":·[7,·8], | 1944 | ········"24":·[7,·8], |
1943 | ········"24 | 1945 | ········"24839371":·8, |
1944 | ········"249":·1, | 1946 | ········"249":·1, |
1947 | ········"24918586":·8, | ||
1945 | ········"25":·[7,·8], | 1948 | ········"25":·[7,·8], |
1946 | ········"255":·1, | 1949 | ········"255":·1, |
1947 | ········"256":·[0,·6], | 1950 | ········"256":·[0,·6], |
1948 | ········"257":·1, | 1951 | ········"257":·1, |
1949 | ········"26":·[7,·8], | 1952 | ········"26":·[7,·8], |
1950 | ········"26458454":·8, | ||
1951 | ········"266":·1, | 1953 | ········"266":·1, |
1952 | ········"267":·1, | 1954 | ········"267":·1, |
1953 | ········"27":·[7,·8], | 1955 | ········"27":·[7,·8], |
1954 | ········"270":·1, | 1956 | ········"270":·1, |
1955 | ········"28":·[7,·8], | 1957 | ········"28":·[7,·8], |
1958 | ········"2809104":·8, | ||
1956 | ········"283":·1, | 1959 | ········"283":·1, |
1957 | ········"28 | 1960 | ········"28974345":·8, |
1958 | ········"29":·[7,·8], | 1961 | ········"29":·[7,·8], |
1959 | ········"29521355":·8, | ||
1960 | ········"2d":·[14,·16,·18,·19], | 1962 | ········"2d":·[14,·16,·18,·19], |
1961 | ········"2gib":·1, | 1963 | ········"2gib":·1, |
1962 | ········"3":·[7,·8,·11,·14,·15,·16,·18,·19], | 1964 | ········"3":·[7,·8,·11,·14,·15,·16,·18,·19], |
1963 | ········"30":·[7,·8], | 1965 | ········"30":·[7,·8], |
1964 | ········"300":·[8,·15], | 1966 | ········"300":·[8,·15], |
1965 | ········"308":·1, | 1967 | ········"308":·1, |
1966 | ········"31":·[7,·8], | 1968 | ········"31":·[7,·8], |
1967 | ········"3155205":·8, | ||
1968 | ········"317":·1, | 1969 | ········"317":·1, |
1969 | ········"319":·1, | 1970 | ········"319":·1, |
1970 | ········"32":·[0,·6,·7,·18], | 1971 | ········"32":·[0,·6,·7,·18], |
1971 | ········"32139122":·8, | ||
1972 | ········"32147667":·8, | ||
1973 | ········"322":·1, | 1972 | ········"322":·1, |
1974 | ········"323":·1, | 1973 | ········"323":·1, |
1975 | ········"324":·1, | 1974 | ········"324":·1, |
1976 | ········"325":·1, | 1975 | ········"325":·1, |
1976 | ········"32808083":·8, | ||
1977 | ········"33":·7, | 1977 | ········"33":·7, |
1978 | ········"3319819e":·8, | ||
1978 | ········"34":·7, | 1979 | ········"34":·7, |
1979 | ········"35":·7, | 1980 | ········"35":·7, |
1980 | ········"35 | 1981 | ········"3517411e":·8, |
1981 | ········"36":·7, | 1982 | ········"36":·7, |
1982 | ········"3636272":·8, | ||
1983 | ········"365":·1, | 1983 | ········"365":·1, |
1984 | ········"36631727":·8, | ||
1985 | ········"367":·1, | 1984 | ········"367":·1, |
1986 | ········"37":·7, | 1985 | ········"37":·7, |
1987 | ········"37 | 1986 | ········"3700210e":·8, |
1988 | ········"376":·1, | 1987 | ········"376":·1, |
1989 | ········"38":·7, | 1988 | ········"38":·7, |
1990 | ········"388":·1, | 1989 | ········"388":·1, |
1991 | ········"39":·7, | 1990 | ········"39":·7, |
1992 | ········"391":·1, | 1991 | ········"391":·1, |
1993 | ········"3d":·20, | 1992 | ········"3d":·20, |
1994 | ········"4":·[7,·8,·14,·15,·18,·21], | 1993 | ········"4":·[7,·8,·14,·15,·18,·21], |
1995 | ········"40":·7, | 1994 | ········"40":·7, |
1996 | ········"400":·[8,·15], | 1995 | ········"400":·[8,·15], |
1997 | ········"405":·1, | 1996 | ········"405":·1, |
1998 | ········"41":·7, | 1997 | ········"41":·7, |
1999 | ········"42863393":·8, | ||
2000 | ········"43":·7, | 1998 | ········"43":·7, |
2001 | ········"43758374":·8, | ||
2002 | ········"44":·7, | 1999 | ········"44":·7, |
2003 | ········"45":·7, | 2000 | ········"45":·7, |
2004 | ········"46":·7, | 2001 | ········"46":·7, |
2005 | ········"46465775":·8, | ||
2006 | ········"47":·7, | 2002 | ········"47":·7, |
Max diff block lines reached; 2150/5416 bytes (39.70%) of diff not shown. |