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.11.tar.gz (28.0 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.11-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logmd-0.1.11.tar.gz
  • Upload date:
  • Size: 28.0 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.11.tar.gz
Algorithm Hash digest
SHA256 1602c72bd7ce0337bfc2e28eed2cc07dc69691760f5c029add365051410f8be8
MD5 bf644b58a9f7871622c7e4f13fab4108
BLAKE2b-256 54907d73209764279d1db57421344210f3f2457db93fc2340e04e7442b81ce9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logmd-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 27.2 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 98818832ae7c927b86451240c6784f735001f76a4e52eefba6d526ae7c8cfb6a
MD5 bcf12f2b0d9a8a4753cbb9901e8afefd
BLAKE2b-256 fbf2f16faa73a4b1026196ae9f2d0358da9971019ec69848b2bb632207d605d5

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