--- /srv/reproducible-results/rbuild-debian/r-b-build.7unZG8bI/b1/python-gsd_2.7.0-2_armhf.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.7unZG8bI/b2/python-gsd_2.7.0-2_armhf.changes ├── Files │ @@ -1,4 +1,4 @@ │ │ - 81da724e4b519ff7d9c94382571cc876 90964 doc optional python-gsd-doc_2.7.0-2_all.deb │ + 469b7833e4fbb06b249d8307d30ce122 90952 doc optional python-gsd-doc_2.7.0-2_all.deb │ 4b9559e8ba2771067e5606da16c1effd 245008 debug optional python3-gsd-dbgsym_2.7.0-2_armhf.deb │ 07de2ab82375f4a3c80a99e3001dedc8 78076 python optional python3-gsd_2.7.0-2_armhf.deb ├── python-gsd-doc_2.7.0-2_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2023-01-17 16:37:42.000000 debian-binary │ │ -rw-r--r-- 0 0 0 2376 2023-01-17 16:37:42.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 88396 2023-01-17 16:37:42.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 88384 2023-01-17 16:37:42.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -46,28 +46,28 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 9044 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/cli.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7459 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/community.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 15558 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/contributing.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6982 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/credits.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 23206 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/file-layer.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 45188 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/fl-examples.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 37490 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/genindex.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 48447 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/hoomd-examples.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 48384 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/hoomd-examples.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 9848 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6371 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/indices.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 23713 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/installation.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13274 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/license.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2736 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/objects.inv │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7101 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/py-modindex.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 32745 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/python-api.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 74465 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/python-module-gsd.fl.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 66497 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/python-module-gsd.hoomd.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 35551 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/python-module-gsd.pygsd.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 97149 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/schema-hoomd.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5908 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/search.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 68859 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/searchindex.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 68818 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/searchindex.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 21656 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/shapes.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 10113 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/specification.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13964 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/style.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-17 16:37:42.000000 ./usr/share/doc-base/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 331 2023-01-17 16:37:42.000000 ./usr/share/doc-base/python-gsd-doc.python-gsd │ │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/_static/_sphinx_javascript_frameworks_compat.js -> ../../../../javascript/sphinxdoc/1.0/_sphinx_javascript_frameworks_compat.js │ │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-01-17 16:37:42.000000 ./usr/share/doc/python-gsd-doc/html/_static/css/badge_only.css -> ../../../../../sphinx_rtd_theme/static/css/badge_only.css │ │ │ ├── ./usr/share/doc/python-gsd-doc/html/hoomd-examples.html │ │ │ │ @@ -193,23 +193,23 @@ │ │ │ │ Out[16]: 5 │ │ │ │ │ │ │ │ In [17]: snap.particles.N │ │ │ │ Out[17]: 9 │ │ │ │ │ │ │ │ In [18]: snap.particles.position │ │ │ │ Out[18]: │ │ │ │ -array([[0.9223388 , 0.22633724, 0.07840342], │ │ │ │ - [0.6045313 , 0.13220368, 0.44016424], │ │ │ │ - [0.4006521 , 0.411183 , 0.3869858 ], │ │ │ │ - [0.6653195 , 0.40534142, 0.89931124], │ │ │ │ - [0.09279376, 0.57808363, 0.6925787 ], │ │ │ │ - [0.34779903, 0.69938034, 0.3338973 ], │ │ │ │ - [0.11514353, 0.2545868 , 0.20324644], │ │ │ │ - [0.16607866, 0.16386276, 0.9034168 ], │ │ │ │ - [0.75765216, 0.41146037, 0.8036861 ]], dtype=float32) │ │ │ │ +array([[0.19622535, 0.10364336, 0.73504 ], │ │ │ │ + [0.42037013, 0.12902392, 0.12509118], │ │ │ │ + [0.85473853, 0.4855717 , 0.2546638 ], │ │ │ │ + [0.03070883, 0.9847538 , 0.9913866 ], │ │ │ │ + [0.36848673, 0.88404053, 0.8322486 ], │ │ │ │ + [0.26584858, 0.26227 , 0.3523023 ], │ │ │ │ + [0.5500672 , 0.7017762 , 0.21717823], │ │ │ │ + [0.0484382 , 0.25592637, 0.83795255], │ │ │ │ + [0.31152233, 0.53387904, 0.95502675]], dtype=float32) │ │ │ │ │ │ │ │ │ │ │ │
gsd.hoomd.HOOMDTrajectory
supports random indexing of frames in the file.
│ │ │ │ Indexing into a trajectory returns a gsd.hoomd.Snapshot
.
In [23]: f = gsd.pygsd.GSDFile(open('test.gsd', 'rb'))
│ │ │ │
│ │ │ │ In [24]: t = gsd.hoomd.HOOMDTrajectory(f);
│ │ │ │
│ │ │ │ In [25]: t[3].particles.position
│ │ │ │ Out[25]:
│ │ │ │ -array([[2.7918157e-01, 1.8956065e-01, 4.3768886e-01],
│ │ │ │ - [7.6041305e-01, 8.9359033e-01, 3.1214675e-01],
│ │ │ │ - [4.8658469e-01, 8.3486205e-01, 9.3346763e-01],
│ │ │ │ - [9.6316226e-02, 3.5347688e-01, 3.0949745e-01],
│ │ │ │ - [7.7243263e-01, 7.8227520e-01, 6.0253316e-01],
│ │ │ │ - [8.9934774e-02, 5.6932104e-01, 4.4514567e-01],
│ │ │ │ - [6.0456316e-04, 4.2078674e-01, 3.7701246e-01]], dtype=float32)
│ │ │ │ +array([[0.23688282, 0.9630058 , 0.6336629 ],
│ │ │ │ + [0.07506042, 0.25881794, 0.2790243 ],
│ │ │ │ + [0.7146926 , 0.37712127, 0.8139112 ],
│ │ │ │ + [0.76515955, 0.8881079 , 0.290039 ],
│ │ │ │ + [0.9350002 , 0.7703131 , 0.98512655],
│ │ │ │ + [0.52404183, 0.5848071 , 0.93785363],
│ │ │ │ + [0.11575463, 0.48285633, 0.03564102]], dtype=float32)
│ │ │ │
You can use GSD without needing to compile C code to read GSD files
│ │ │ │ using gsd.pygsd.GSDFile
in combination with gsd.hoomd.HOOMDTrajectory
. It
│ │ │ │ only supports the rb
mode and does not read files as fast as the C
│ │ │ │ implementation. It takes in a python file-like object, so it can be used with
│ │ │ │ in-memory IO classes, and grid file classes that access data over the internet.