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.12.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.12-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logmd-0.1.12.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.12.tar.gz
Algorithm Hash digest
SHA256 49201b9a28188865b8945d112d81f443ec24525a3176c82d4a1f79dbb07783d5
MD5 aa1ee7335d55feb5be6d7e79250326fd
BLAKE2b-256 09e467555e09441eec6331dd16ecfacc14c3b527103d344abfae7aae0578b0af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logmd-0.1.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 c09e5ff09e91f55d064da7724f97d322a4b325006d300178e01c6659b7d0b668
MD5 4760c61c07488a2bea03687d9480691a
BLAKE2b-256 8c5c2b5c9cd0602226efc98ce6f6445f4db81de1a71ac65baf2cd812aea4875c

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