Skip to main content

MD post processing tools.

Project description

ZnTrack zincware

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.RDF
  • znmdakit.EinsteinMSD

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

znmdakit-0.1.1.tar.gz (156.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

znmdakit-0.1.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file znmdakit-0.1.1.tar.gz.

File metadata

  • Download URL: znmdakit-0.1.1.tar.gz
  • Upload date:
  • Size: 156.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.29

File hashes

Hashes for znmdakit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7ca3c4a9e0bf821b715c243780975a1a14e0d92868fee91faa11be95061dbe7
MD5 760aa75a39d4ed231f9f5bf07d0cb19e
BLAKE2b-256 136461ceb6c0572efa43807f522aa794f9c7fc18c00f7e3db342c8f6c7a51dcc

See more details on using hashes here.

File details

Details for the file znmdakit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: znmdakit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.29

File hashes

Hashes for znmdakit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00d7c2ede53626a007e6c1040f19c1b8a500ff0d411700ac10f38a2054eeb1f0
MD5 dc48b84c5cf1bc1921e3947da7ac346d
BLAKE2b-256 c68c2d94b72be1dba0a06f282b962009835c1f4c48b01d305957064c531fdd07

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