MD post processing tools.
Project description
ZnMDAKit
ZnTrack enabled MDAnalysis Toolkits with full parameter and result tracking capabilities.
Example
import znmdakit
project = znmdakit.Project()
with project:
system = ips.Smiles2Gromacs(
smiles=[BMIM, BF4],
density=0.5,
count=[64, 64],
labels=["Im", "BF"],
config_files=mdp_files,
fudgeLJ=1,
fudgeQQ=1,
itp_files=itps,
pdb_files=pdbs,
tolerance=1.8,
cleanup=True,
maxwarn=0,
)
universe = znmdakit.Universe(
# data_file=znflow.resolve(system.traj_file), # hotfix for https://github.com/zincware/ZnTrack/pull/875
data=system.frames,
residues={"BF": BF4, "Im": BMIM},
)
with project.group("BF4"):
znmdakit.InterRDF(
universe=universe.universe,
g1="name COM and resname BF",
g2="name COM and resname BF",
nbins=1000,
apply_com_transform=True,
)
msd = znmdakit.EinsteinMSD(
universe=universe.universe,
select="name COM and resname BF",
timestep=0.001, # ps
sampling_rate=1000, # ps
apply_com_transform=True,
)
znmdakit.SelfDiffusionFromMSD(
data=msd,
start_time=2000,
end_time=7000,
always_changed=False,
)
project.run()
rdf.load()
msd.load()
print(rdf.results)
print(msd.results)
Available Nodes
znmdakit.RDFznmdakit.EinsteinMSD
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
znmdakit-0.1.0.tar.gz
(123.0 kB
view details)
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
znmdakit-0.1.0-py3-none-any.whl
(15.7 kB
view details)
File details
Details for the file znmdakit-0.1.0.tar.gz.
File metadata
- Download URL: znmdakit-0.1.0.tar.gz
- Upload date:
- Size: 123.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
256435f9baa0d651f5563a90b3dae3a76e2da6f8a85872a6985c5e887e5b13c3
|
|
| MD5 |
a4ee5643eff2f1ae81ea73521eacd0bd
|
|
| BLAKE2b-256 |
079c6cf16a2623a6150b1b045a5c82b0e203015777a7f2301ce9765aa4f6b916
|
File details
Details for the file znmdakit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: znmdakit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bce182c76388c8ce0439339b59a02fa0b8279d3a461c3462f8bf4eca46ca89e5
|
|
| MD5 |
1da295d7a9d104f89e3a2517ec7f9f9f
|
|
| BLAKE2b-256 |
e13cfc2e5d7bc231e301a969febb96a3247cd27c7ae4e89a9885ae9cff35ab61
|