Skip to main content

Log MD trajectories with `dyn.attach(LogMd()(atoms)).

Project description

LogMD: View/Share MD While It Runs

Try in Google Colab:
image

Install

pip install logmd

Try with demo.py, this colab or from terminal >logmd 1crn.pdb.

We currently only support Atomic Simulation Environment (ASE) - vote here for other backends

Doesn't solve your problem? Let us know! Like it? Buy us a coffee!

Use-cases

We built logmd for the two use-cases below. If there's a use-case we're missing, let's chat!

Case 1:

Inspect/share trajectory while simulation runs - just click/share the link logmd prints.

from logmd import LogMD
logmd = LogMD(num_workers=2)
dyn.attach(lambda: logmd(atoms), interval=4)
dyn.run(steps)

Case 2:

Document/visualize fixing of pdb before running simulation. Example: I want to simulate '1crn.pdb' but need to add missing residues, hydrogens, water, pH and so on. To document everything, I run logmd watch 1crn.pdb which stores all versions of 1crn.pdb as a trajectory.

>logmd watch 1crn.pdb # from terminal

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logmd-0.1.6.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logmd-0.1.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file logmd-0.1.6.tar.gz.

File metadata

  • Download URL: logmd-0.1.6.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for logmd-0.1.6.tar.gz
Algorithm Hash digest
SHA256 11479ac8704425aff7c861e2df18ae5efa8f3ef71250de2d2009c9a878116594
MD5 aeb9e4411a3f3a5c64f82fdbda395d08
BLAKE2b-256 f261abf4e315d4695d2c91b8eec6c0dcd27ffe4bbca80d2f937e5c6463d7c0a1

See more details on using hashes here.

File details

Details for the file logmd-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: logmd-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for logmd-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 39227a9de2c1c55dda6ab825d7c5c7c4cf11b92c3f83c49905f1f121621aff7a
MD5 af4bd212be265c82a5636d53f686e20d
BLAKE2b-256 6c2d2b9b7172bbcd8a03419f9611b5e78e6da816e54ccd6b42a6c6a31b39df82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page