15.3 KB
/srv/reproducible-results/rbuild-debian/r-b-build.Aqcrdeu7/b1/mdtraj_1.9.5-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.Aqcrdeu7/b2/mdtraj_1.9.5-1_arm64.changes
395 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·4409a1f85572d82e8fb7aa86adf9772f·867024·doc·optional·python-mdtraj-doc_1.9.5-1_all.deb1 ·21b6c392c6a08b16f7c816e0fa2075c7·867024·doc·optional·python-mdtraj-doc_1.9.5-1_all.deb
2 ·e9383a358d6c6f4eb340d2d3784d956e·5119256·debug·optional·python3-mdtraj-dbgsym_1.9.5-1_arm64.deb2 ·e9383a358d6c6f4eb340d2d3784d956e·5119256·debug·optional·python3-mdtraj-dbgsym_1.9.5-1_arm64.deb
3 ·7ef386b3906894ef89f3eea928e72c2b·950508·python·optional·python3-mdtraj_1.9.5-1_arm64.deb3 ·7ef386b3906894ef89f3eea928e72c2b·950508·python·optional·python3-mdtraj_1.9.5-1_arm64.deb
14.7 KB
python-mdtraj-doc_1.9.5-1_all.deb
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
14.6 KB
data.tar.xz
14.5 KB
data.tar
5.16 KB
file list
    
Offset 343, 15 lines modifiedOffset 343, 15 lines modified
343 -rw-r--r--···0·root·········(0)·root·········(0)·····1397·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/ramachandran-plot/ramachandran-plot.py343 -rw-r--r--···0·root·········(0)·root·········(0)·····1397·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/ramachandran-plot/ramachandran-plot.py
344 -rw-r--r--···0·root·········(0)·root·········(0)·····2714·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/ramachandran-plot/ramachandran-plot_eval.ipynb344 -rw-r--r--···0·root·········(0)·root·········(0)·····2714·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/ramachandran-plot/ramachandran-plot_eval.ipynb
345 -rw-r--r--···0·root·········(0)·root·········(0)····21072·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/ramachandran-plot.html345 -rw-r--r--···0·root·········(0)·root·········(0)····21072·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/ramachandran-plot.html
346 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/346 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/
347 -rw-r--r--···0·root·········(0)·root·········(0)·····3943·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/rmsd-benchmark.ipynb347 -rw-r--r--···0·root·········(0)·root·········(0)·····3943·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/rmsd-benchmark.ipynb
348 -rw-r--r--···0·root·········(0)·root·········(0)·····2182·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/rmsd-benchmark.py348 -rw-r--r--···0·root·········(0)·root·········(0)·····2182·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/rmsd-benchmark.py
349 -rw-r--r--···0·root·········(0)·root·········(0)·····3943·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/rmsd-benchmark_eval.ipynb349 -rw-r--r--···0·root·········(0)·root·········(0)·····3943·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark/rmsd-benchmark_eval.ipynb
350 -rw-r--r--···0·root·········(0)·root·········(0)····20274·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark.html350 -rw-r--r--···0·root·········(0)·root·········(0)····20270·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark.html
351 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/351 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/
352 -rw-r--r--···0·root·········(0)·root·········(0)·····4008·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/simulation-with-openmm.ipynb352 -rw-r--r--···0·root·········(0)·root·········(0)·····4008·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/simulation-with-openmm.ipynb
353 -rw-r--r--···0·root·········(0)·root·········(0)·····2181·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/simulation-with-openmm.py353 -rw-r--r--···0·root·········(0)·root·········(0)·····2181·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/simulation-with-openmm.py
354 -rw-r--r--···0·root·········(0)·root·········(0)·····4008·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/simulation-with-openmm_eval.ipynb354 -rw-r--r--···0·root·········(0)·root·········(0)·····4008·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/simulation-with-openmm/simulation-with-openmm_eval.ipynb
355 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/solvent-accessible-surface-area/355 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/solvent-accessible-surface-area/
356 -rw-r--r--···0·root·········(0)·root·········(0)·····3547·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/solvent-accessible-surface-area/solvent-accessible-surface-area.ipynb356 -rw-r--r--···0·root·········(0)·root·········(0)·····3547·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/solvent-accessible-surface-area/solvent-accessible-surface-area.ipynb
357 -rw-r--r--···0·root·········(0)·root·········(0)·····1804·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/solvent-accessible-surface-area/solvent-accessible-surface-area.py357 -rw-r--r--···0·root·········(0)·root·········(0)·····1804·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/examples/solvent-accessible-surface-area/solvent-accessible-surface-area.py
Offset 368, 15 lines modifiedOffset 368, 15 lines modified
368 -rw-r--r--···0·root·········(0)·root·········(0)····13790·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/index.html368 -rw-r--r--···0·root·········(0)·root·········(0)····13790·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/index.html
369 -rw-r--r--···0·root·········(0)·root·········(0)····10537·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/installation.html369 -rw-r--r--···0·root·········(0)·root·········(0)····10537·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/installation.html
370 -rw-r--r--···0·root·········(0)·root·········(0)····20690·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/load_functions.html370 -rw-r--r--···0·root·········(0)·root·········(0)····20690·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/load_functions.html
371 -rw-r--r--···0·root·········(0)·root·········(0)····11361·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/mdconvert.html371 -rw-r--r--···0·root·········(0)·root·········(0)····11361·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/mdconvert.html
372 -rw-r--r--···0·root·········(0)·root·········(0)····14005·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/new_to_python.html372 -rw-r--r--···0·root·········(0)·root·········(0)····14005·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/new_to_python.html
373 -rw-r--r--···0·root·········(0)·root·········(0)·····3639·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/objects.inv373 -rw-r--r--···0·root·········(0)·root·········(0)·····3639·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/objects.inv
374 -rw-r--r--···0·root·········(0)·root·········(0)·····6039·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/search.html374 -rw-r--r--···0·root·········(0)·root·········(0)·····6039·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/search.html
375 -rw-r--r--···0·root·········(0)·root·········(0)····79555·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/searchindex.js375 -rw-r--r--···0·root·········(0)·root·········(0)····79551·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/searchindex.js
376 -rw-r--r--···0·root·········(0)·root·········(0)····44366·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/whatsnew.html376 -rw-r--r--···0·root·········(0)·root·········(0)····44366·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/whatsnew.html
377 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc-base/377 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc-base/
378 -rw-r--r--···0·root·········(0)·root·········(0)······313·2021-01-18·05:30:54.000000·./usr/share/doc-base/mdtraj378 -rw-r--r--···0·root·········(0)·root·········(0)······313·2021-01-18·05:30:54.000000·./usr/share/doc-base/mdtraj
379 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/css/badge_only.css·->·../../../../../sphinx_rtd_theme/static/css/badge_only.css379 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/css/badge_only.css·->·../../../../../sphinx_rtd_theme/static/css/badge_only.css
380 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/css/theme.css·->·../../../../../sphinx_rtd_theme/static/css/theme.css380 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/css/theme.css·->·../../../../../sphinx_rtd_theme/static/css/theme.css
381 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js381 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js
382 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/fonts/Lato-Bold.ttf·->·../../../../../sphinx_rtd_theme/static/fonts/Lato-Bold.ttf382 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-01-18·05:30:54.000000·./usr/share/doc/python-mdtraj-doc/html/_static/fonts/Lato-Bold.ttf·->·../../../../../sphinx_rtd_theme/static/fonts/Lato-Bold.ttf
1.99 KB
./usr/share/doc/python-mdtraj-doc/html/examples/pca.html
    
Offset 250, 15 lines modifiedOffset 250, 15 lines modified
250 <div·class="jupyter·output">250 <div·class="jupyter·output">
  
  
251 <div·class="jupyter·output_area"><div·class="jupyter·prompt·output_prompt">Out[2]:</div>251 <div·class="jupyter·output_area"><div·class="jupyter·prompt·output_prompt">Out[2]:</div>
  
  
252 <div·class="jupyter·output_text·output_subarea·output_execute_result">252 <div·class="jupyter·output_text·output_subarea·output_execute_result">
253 <pre>&lt;mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at·0xffff999e5370&gt;</pre>253 <pre>&lt;mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at·0xffff951213d0&gt;</pre>
254 </div>254 </div>
  
255 </div>255 </div>
  
256 </div>256 </div>
257 </div>257 </div>
  
Offset 292, 15 lines modifiedOffset 292, 15 lines modified
292 <div·class="jupyter·output">292 <div·class="jupyter·output">
  
  
293 <div·class="jupyter·output_area"><div·class="jupyter·prompt·output_prompt">Out[3]:</div>293 <div·class="jupyter·output_area"><div·class="jupyter·prompt·output_prompt">Out[3]:</div>
  
  
294 <div·class="jupyter·output_text·output_subarea·output_execute_result">294 <div·class="jupyter·output_text·output_subarea·output_execute_result">
295 <pre>&lt;mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at·0xffff999e5370&gt;</pre>295 <pre>&lt;mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at·0xffff951213d0&gt;</pre>
296 </div>296 </div>
  
297 </div>297 </div>
  
298 </div>298 </div>
299 </div>299 </div>
  
958 B
html2text {}
    
Offset 52, 24 lines modifiedOffset 52, 24 lines modified
52 Lets·load·up·our·trajectory.·This·is·the·trajectory·that·we·generated·in·the52 Lets·load·up·our·trajectory.·This·is·the·trajectory·that·we·generated·in·the
53 "Running·a·simulation·in·OpenMM·and·analyzing·the·results·with·mdtraj"·example.53 "Running·a·simulation·in·OpenMM·and·analyzing·the·results·with·mdtraj"·example.
54 In [2]:54 In [2]:
55 traj·=·md.load('ala2.h5')55 traj·=·md.load('ala2.h5')
56 traj56 traj
57 Out[2]:57 Out[2]:
58 <mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at58 <mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at
59 0xffff999e5370>59 0xffff951213d0>
60 Create·a·two·component·PCA·model,·and·project·our·data·down·into·this·reduced60 Create·a·two·component·PCA·model,·and·project·our·data·down·into·this·reduced
61 dimensional·space.·Using·just·the·cartesian·coordinates·as·input·to·PCA,·it's61 dimensional·space.·Using·just·the·cartesian·coordinates·as·input·to·PCA,·it's
62 important·to·start·with·some·kind·of·alignment.62 important·to·start·with·some·kind·of·alignment.
63 In [3]:63 In [3]:
64 pca1·=·PCA(n_components=2)64 pca1·=·PCA(n_components=2)
65 traj.superpose(traj,·0)65 traj.superpose(traj,·0)
66 Out[3]:66 Out[3]:
67 <mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at67 <mdtraj.Trajectory·with·100·frames,·22·atoms,·3·residues,·without·unitcells·at
68 0xffff999e5370>68 0xffff951213d0>
69 In [4]:69 In [4]:
70 reduced_cartesian·=·pca1.fit_transform(traj.xyz.reshape(traj.n_frames,70 reduced_cartesian·=·pca1.fit_transform(traj.xyz.reshape(traj.n_frames,
71 traj.n_atoms·*·3))71 traj.n_atoms·*·3))
72 print(reduced_cartesian.shape)72 print(reduced_cartesian.shape)
73 (100,·2)73 (100,·2)
74 Now·we·can·plot·the·data·on·this·projection.74 Now·we·can·plot·the·data·on·this·projection.
75 In [5]:75 In [5]:
3.15 KB
./usr/share/doc/python-mdtraj-doc/html/examples/rmsd-benchmark.html
    
Offset 281, 15 lines modifiedOffset 281, 15 lines modified
  
281 <div·class="jupyter·output_wrapper">281 <div·class="jupyter·output_wrapper">
282 <div·class="jupyter·output">282 <div·class="jupyter·output">
  
  
283 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>283 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>
284 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">284 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">
285 <pre>md.rmsd():·276734.84·rmsds·/·s285 <pre>md.rmsd():·30880.44·rmsds·/·s
286 </pre>286 </pre>
287 </div>287 </div>
288 </div>288 </div>
  
289 </div>289 </div>
290 </div>290 </div>
  
Offset 330, 15 lines modifiedOffset 330, 15 lines modified
  
330 <div·class="jupyter·output_wrapper">330 <div·class="jupyter·output_wrapper">
331 <div·class="jupyter·output">331 <div·class="jupyter·output">
  
  
332 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>332 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>
333 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">333 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">
334 <pre>md.rmsd(precentered=True):·1022681.70·rmsds·/·s334 <pre>md.rmsd(precentered=True):·61870.09·rmsds·/·s
335 </pre>335 </pre>
336 </div>336 </div>
337 </div>337 </div>
  
338 </div>338 </div>
339 </div>339 </div>
  
Offset 375, 15 lines modifiedOffset 375, 15 lines modified
  
375 <div·class="jupyter·output_wrapper">375 <div·class="jupyter·output_wrapper">
376 <div·class="jupyter·output">376 <div·class="jupyter·output">
  
  
377 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>377 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>
378 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">378 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">
379 <pre>pure·numpy·rmsd_qcp():·2056.56·rmsds·/·s379 <pre>pure·numpy·rmsd_qcp():·815.07·rmsds·/·s
380 </pre>380 </pre>
381 </div>381 </div>
382 </div>382 </div>
  
383 </div>383 </div>
384 </div>384 </div>
  
1.91 KB
html2text {}
    
Offset 59, 15 lines modifiedOffset 59, 15 lines modified
59 start·=·time.time()59 start·=·time.time()
  
60 for·i·in·range(100):60 for·i·in·range(100):
61 ····md.rmsd(t,·t,·0)61 ····md.rmsd(t,·t,·0)
  
62 print('md.rmsd():·%.2f·rmsds·/·s'·%·((t.n_frames·*·100)·/·(time.time()·-62 print('md.rmsd():·%.2f·rmsds·/·s'·%·((t.n_frames·*·100)·/·(time.time()·-
63 start)))63 start)))
64 md.rmsd():·276734.84·rmsds·/·s64 md.rmsd():·30880.44·rmsds·/·s
65 But·for·some·applications·like·clustering,·we·want·to·run·many·rmsd()65 But·for·some·applications·like·clustering,·we·want·to·run·many·rmsd()
66 calculations·per·trajectory·frame.·Under·these·circumstances,·the·centering·of66 calculations·per·trajectory·frame.·Under·these·circumstances,·the·centering·of
67 the·trajectories·is·going·to·be·done·many·times,·which·leads·to·a·slight67 the·trajectories·is·going·to·be·done·many·times,·which·leads·to·a·slight
68 slowdown.·If·we·manually·center·the·trajectory·and·then·inform·the·rmsd()68 slowdown.·If·we·manually·center·the·trajectory·and·then·inform·the·rmsd()
69 function·that·the·centering·has·been·precentered,·we·can·achieve·~2x·speedup,69 function·that·the·centering·has·been·precentered,·we·can·achieve·~2x·speedup,
70 depending·on·your·machine·and·the·number·of·atoms.70 depending·on·your·machine·and·the·number·of·atoms.
71 In [4]:71 In [4]:
Offset 75, 28 lines modifiedOffset 75, 28 lines modified
75 start·=·time.time()75 start·=·time.time()
  
76 for·i·in·range(100):76 for·i·in·range(100):
77 ····md.rmsd(t,·t,·0,·precentered=True)77 ····md.rmsd(t,·t,·0,·precentered=True)
  
78 print('md.rmsd(precentered=True):·%.2f·rmsds·/·s'·%·((t.n_frames·*·100)·/78 print('md.rmsd(precentered=True):·%.2f·rmsds·/·s'·%·((t.n_frames·*·100)·/
79 (time.time()·-·start)))79 (time.time()·-·start)))
80 md.rmsd(precentered=True):·1022681.70·rmsds·/·s80 md.rmsd(precentered=True):·61870.09·rmsds·/·s
81 Just·for·fun,·let's·compare·this·code·to·the·straightforward·numpy81 Just·for·fun,·let's·compare·this·code·to·the·straightforward·numpy
82 implementation·of·the·same·algorithm,·which·mdtraj·has·(mostly·for·testing)·in82 implementation·of·the·same·algorithm,·which·mdtraj·has·(mostly·for·testing)·in
83 the·mdtraj.geometry.alignment·subpackage83 the·mdtraj.geometry.alignment·subpackage
84 In [5]:84 In [5]:
85 from·mdtraj.geometry.alignment·import·rmsd_qcp85 from·mdtraj.geometry.alignment·import·rmsd_qcp
  
86 start·=·time.time()86 start·=·time.time()
87 for·k·in·range(t.n_frames):87 for·k·in·range(t.n_frames):
88 ····rmsd_qcp(t.xyz[0],·t.xyz[k])88 ····rmsd_qcp(t.xyz[0],·t.xyz[k])
  
89 print('pure·numpy·rmsd_qcp():·%.2f·rmsds·/·s'·%·(t.n_frames·/·(time.time()·-89 print('pure·numpy·rmsd_qcp():·%.2f·rmsds·/·s'·%·(t.n_frames·/·(time.time()·-
90 start)))90 start)))
91 pure·numpy·rmsd_qcp():·2056.56·rmsds·/·s91 pure·numpy·rmsd_qcp():·815.07·rmsds·/·s
92 md.rmsd()·code·is·a·lot·faster.·If·you·go·look·at·the·rmsd_qcp·source·code,92 md.rmsd()·code·is·a·lot·faster.·If·you·go·look·at·the·rmsd_qcp·source·code,
93 you'll·see·that·it's·not·because·that·code·is·particularly·slow·or·unoptimized.93 you'll·see·that·it's·not·because·that·code·is·particularly·slow·or·unoptimized.
94 It's·about·as·good·as·you·can·do·with·numpy.·The·reason·for·the·speed94 It's·about·as·good·as·you·can·do·with·numpy.·The·reason·for·the·speed
95 difference·is·that·an·inordinate·amount·of·time·was·put·into·hand-optimizing·an95 difference·is·that·an·inordinate·amount·of·time·was·put·into·hand-optimizing·an
96 SSE3·implementation·in·C·for·the·md.rmsd()·code.96 SSE3·implementation·in·C·for·the·md.rmsd()·code.
97 (rmsd-benchmark.ipynb.gz;·rmsd-benchmark_eval.ipynb.gz;·rmsd-benchmark.py)97 (rmsd-benchmark.ipynb.gz;·rmsd-benchmark_eval.ipynb.gz;·rmsd-benchmark.py)
98 Next·Previous98 Next·Previous
1.74 KB
./usr/share/doc/python-mdtraj-doc/html/examples/two-pass-clustering.html
    
Offset 458, 17 lines modifiedOffset 458, 17 lines modified
  
458 <div·class="jupyter·output_wrapper">458 <div·class="jupyter·output_wrapper">
459 <div·class="jupyter·output">459 <div·class="jupyter·output">
  
  
460 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>460 <div·class="jupyter·output_area"><div·class="jupyter·prompt"></div>
461 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">461 <div·class="jupyter·output_subarea·output_stream·output_stdout·output_text">
462 <pre>[2·2·2·3·2·3·3·3·2·2·3·3·3·2·3·3·3·2·3·1·1·1·1·1·1·1·1·1·1·1·3·3·3·3·2·2·2462 <pre>[2·2·3·3·3·3·3·2·3·3·3·3·2·2·3·3·3·2·3·1·1·1·1·1·1·1·1·1·2·1·3·3·3·2·2·2·2
463 ·1·1·1·1·1·1·1·1·3·3·3·3·3·3·3·2·2·2·3·3·3·3·2·3·3·3·3·2·2·3·3·3·3·3·3·3·2 
464 ·3·3·3·2·2·3·2·3·3·2·3·2·3·3·3·1·1·1·1·1·1·1·1·1·1·1]463 ·2·1·1·1·1·1·1·1·2·2·2·3·2·3·3·2·2·2·3·3·2·2·2·3·3·3·2·2·2·2·3·2·2·2·3·3·2
 464 ·3·2·3·2·2·3·2·3·3·3·2·2·3·2·2·1·1·1·1·1·1·1·1·1·1·1]
465 (100,)465 (100,)
466 </pre>466 </pre>
467 </div>467 </div>
468 </div>468 </div>
  
469 </div>469 </div>
470 </div>470 </div>
920 B
html2text {}
    
Offset 120, 17 lines modifiedOffset 120, 17 lines modified
120 labels·=·[]120 labels·=·[]
121 for·frame·in·md.iterload('ala2.h5',·chunk=1):121 for·frame·in·md.iterload('ala2.h5',·chunk=1):
122 ····labels.append(leader_labels[np.argmin(md.rmsd(leaders,·frame,·0))])122 ····labels.append(leader_labels[np.argmin(md.rmsd(leaders,·frame,·0))])
123 labels·=·np.array(labels)123 labels·=·np.array(labels)
  
124 print(labels)124 print(labels)
125 print(labels.shape)125 print(labels.shape)
126 [2·2·2·3·2·3·3·3·2·2·3·3·3·2·3·3·3·2·3·1·1·1·1·1·1·1·1·1·1·1·3·3·3·3·2·2·2126 [2·2·3·3·3·3·3·2·3·3·3·3·2·2·3·3·3·2·3·1·1·1·1·1·1·1·1·1·2·1·3·3·3·2·2·2·2
127 ·1·1·1·1·1·1·1·1·3·3·3·3·3·3·3·2·2·2·3·3·3·3·2·3·3·3·3·2·2·3·3·3·3·3·3·3·2 
128 ·3·3·3·2·2·3·2·3·3·2·3·2·3·3·3·1·1·1·1·1·1·1·1·1·1·1]127 ·2·1·1·1·1·1·1·1·2·2·2·3·2·3·3·2·2·2·3·3·2·2·2·3·3·3·2·2·2·2·3·2·2·2·3·3·2
 128 ·3·2·3·2·2·3·2·3·3·3·2·2·3·2·2·1·1·1·1·1·1·1·1·1·1·1]
129 (100,)129 (100,)
130 (two-pass-clustering.ipynb.gz;·two-pass-clustering_eval.ipynb.gz;·two-pass-130 (two-pass-clustering.ipynb.gz;·two-pass-clustering_eval.ipynb.gz;·two-pass-
131 clustering.py)131 clustering.py)
132 Next·Previous132 Next·Previous
133 ===============================================================================133 ===============================================================================
134 ©·Copyright·2021,·Stanford·University·and·the·Authors.134 ©·Copyright·2021,·Stanford·University·and·the·Authors.
135 ··1.9.5135 ··1.9.5
2.48 KB
./usr/share/doc/python-mdtraj-doc/html/searchindex.js
2.38 KB
js-beautify {}
    
Offset 252, 28 lines modifiedOffset 252, 27 lines modified
252 ········"0x105a98e90":·1,252 ········"0x105a98e90":·1,
253 ········"0x109b91310":·109,253 ········"0x109b91310":·109,
254 ········"0x109b97810":·109,254 ········"0x109b97810":·109,
255 ········"0x109f0a3d0":·109,255 ········"0x109f0a3d0":·109,
256 ········"0x110740a90":·[55,·58,·60,·61,·62,·64,·69,·71,·73],256 ········"0x110740a90":·[55,·58,·60,·61,·62,·64,·69,·71,·73],
257 ········"0x11136e410":·[58,·60,·61,·64],257 ········"0x11136e410":·[58,·60,·61,·64],
258 ········"0x18236e4a0":·58,258 ········"0x18236e4a0":·58,
259 ········"0xffff999e5370":·114,259 ········"0xffff951213d0":·114,
260 ········"100":·[2,·29,·40,·50,·51,·55,·80,·81,·82,·104,·105,·109,·110,·114,·116,·117,·118],260 ········"100":·[2,·29,·40,·50,·51,·55,·80,·81,·82,·104,·105,·109,·110,·114,·116,·117,·118],
261 ········"1000":·[2,·69,·99,·116,·124,·126],261 ········"1000":·[2,·69,·99,·116,·124,·126],
262 ········"10000":·[80,·81,·82,·99],262 ········"10000":·[80,·81,·82,·99],
263 ········"1000000":·93,263 ········"1000000":·93,
264 ········"1000x":·[22,·23],264 ········"1000x":·[22,·23],
265 ········"1002":·[25,·57,·126],265 ········"1002":·[25,·57,·126],
266 ········"100k":·126,266 ········"100k":·126,
267 ········"101":·110,267 ········"101":·110,
268 ········"1013":·126,268 ········"1013":·126,
269 ········"1016":·121,269 ········"1016":·121,
270 ········"102":·110,270 ········"102":·110,
271 ········"1021":·[24,·86],271 ········"1021":·[24,·86],
272 ········"1022681":·116, 
273 ········"1030":·126,272 ········"1030":·126,
274 ········"1038":·126,273 ········"1038":·126,
275 ········"1039":·126,274 ········"1039":·126,
276 ········"1057":·126,275 ········"1057":·126,
277 ········"1058":·126,276 ········"1058":·126,
278 ········"1061":·126,277 ········"1061":·126,
279 ········"1063":·86,278 ········"1063":·86,
Offset 427, 35 lines modifiedOffset 426, 34 lines modified
427 ········"2007":·12,426 ········"2007":·12,
428 ········"2008":·[85,·117],427 ········"2008":·[85,·117],
429 ········"2010":·[9,·62],428 ········"2010":·[9,·62],
430 ········"2011":·8,429 ········"2011":·8,
431 ········"2012":·[7,·24,·54,·85,·87,·117],430 ········"2012":·[7,·24,·54,·85,·87,·117],
432 ········"2013":·111,431 ········"2013":·111,
433 ········"2015":·121,432 ········"2015":·121,
434 ········"2056":·116, 
435 ········"20nm":·19,433 ········"20nm":·19,
436 ········"20x":·13,434 ········"20x":·13,
437 ········"231":·[6,·98,·114],435 ········"231":·[6,·98,·114],
438 ········"24364147":·[83,·84],436 ········"24364147":·[83,·84],
439 ········"250":·[58,·60,·61,·64],437 ········"250":·[58,·60,·61,·64],
440 ········"257":·7,438 ········"257":·7,
441 ········"2577":·[25,·57],439 ········"2577":·[25,·57],
442 ········"265":·[6,·98],440 ········"265":·[6,·98],
443 ········"275":·112,441 ········"275":·112,
444 ········"276":·112,442 ········"276":·112,
445 ········"276734":·116, 
446 ········"277":·112,443 ········"277":·112,
447 ········"278":·112,444 ········"278":·112,
448 ········"279":·112,445 ········"279":·112,
449 ········"298":·8,446 ········"298":·8,
450 ········"2eqq":·[69,·107],447 ········"2eqq":·[69,·107],
451 ········"2mi7":·111,448 ········"2mi7":·111,
452 ········"300":·99,449 ········"300":·99,
453 ········"304":·98,450 ········"304":·98,
454 ········"308":·110,451 ········"308":·110,
 452 ········"30880":·116,
455 ········"309":·110,453 ········"309":·110,
456 ········"310":·110,454 ········"310":·110,
457 ········"311":·110,455 ········"311":·110,
458 ········"312":·110,456 ········"312":·110,
459 ········"31m":·[110,·112,·113],457 ········"31m":·[110,·112,·113],
460 ········"31mmodulenotfounderror":·113,458 ········"31mmodulenotfounderror":·113,
461 ········"31moserror":·[110,·112],459 ········"31moserror":·[110,·112],
Offset 482, 18 lines modifiedOffset 480, 20 lines modified
482 ········"36m_assert_files_exist":·110,480 ········"36m_assert_files_exist":·110,
483 ········"36mchemical_shifts_spartaplu":·112,481 ········"36mchemical_shifts_spartaplu":·112,
484 ········"36mload_fram":·110,482 ········"36mload_fram":·110,
485 ········"3x3":·95,483 ········"3x3":·95,
486 ········"423":·[55,·58,·60,·61,·62,·64,·69,·71,·73,·107],484 ········"423":·[55,·58,·60,·61,·62,·64,·69,·71,·73,·107],
487 ········"500":·[58,·60,·61,·62,·64,·71,·73],485 ········"500":·[58,·60,·61,·62,·64,·71,·73],
488 ········"526":·111,486 ········"526":·111,
 487 ········"61870":·116,
489 ········"6360":·[10,·11,·12],488 ········"6360":·[10,·11,·12],
490 ········"6368":·[10,·11,·12],489 ········"6368":·[10,·11,·12],
491 ········"637":·[25,·57],490 ········"637":·[25,·57],
492 ········"69715095":·104,491 ········"69715095":·104,
 492 ········"815":·116,
493 ········"861":·126,493 ········"861":·126,
494 ········"871":·126,494 ········"871":·126,
495 ········"87260383":·104,495 ········"87260383":·104,
496 ········"878":·126,496 ········"878":·126,
497 ········"885":·126,497 ········"885":·126,
498 ········"891":·126,498 ········"891":·126,
499 ········"893":·126,499 ········"893":·126,