Skip to main content

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

Project description

LogMD: View/Share MD While It Runs

Open In Colab

image

Install

pip install logmd

Try with

logmd 1crn.pdb`.

We currently support Atomic Simulation Environment (ASE) and OpenMM

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.19.tar.gz (20.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.19-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logmd-0.1.19.tar.gz
  • Upload date:
  • Size: 20.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.19.tar.gz
Algorithm Hash digest
SHA256 f3205ff9d1064200db609322c24fa949eba2206c7a78dbd8b8135c05d7d88459
MD5 e3caed95c3b83308aec6aefe86ee0586
BLAKE2b-256 f2272f874dc613f2f93af55fd1d1bf42a665e4d8813d11d8909b58f395d68e21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logmd-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 21.1 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 5fedf2d5a164b111d2fb67d1d4a29786c25a0c4ab0584b5e4346c98849105939
MD5 854ec43f5160c3432e9ed3ba50f0c832
BLAKE2b-256 0cc52d4ba14b70ec82ed4b7c7a16089d6b2051605721d8ba6c484a42bbeaef76

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