Log MD trajectories with `dyn.attach(LogMd()(atoms)).
Project description
LogMD: View/Share MD While It Runs
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file logmd-0.1.7.tar.gz.
File metadata
- Download URL: logmd-0.1.7.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d9d721f2d7334a57cf420e9ae01db64bec361c033b171ff3f6e843bc6efc2f2
|
|
| MD5 |
843570a48ad0233f24b93aea3f06d5ed
|
|
| BLAKE2b-256 |
82bb042c44962751144f88a2077683182c0c00123ff46070b45cd66487ef2ab5
|
File details
Details for the file logmd-0.1.7-py3-none-any.whl.
File metadata
- Download URL: logmd-0.1.7-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64a04102a5be96dd50dd29918a3425ca83579f2278016534dcb3ae85971742be
|
|
| MD5 |
a41e3d5d01f710f29aec6d07c90c8a13
|
|
| BLAKE2b-256 |
8e348ae483aa6a55a508140e3bf6d9863ce6d7c92e5391ccc134282739dd8848
|