Skip to main content

A tool for calculating dynamical structure factors

Project description

dynasor is a simple tool for calculating total and partial dynamical structure factors as well as current correlation functions from molecular dynamics (MD) simulations. The main input consists of a trajectory output from a MD simulation, i.e., a file containing snapshots of the particle coordinates and optionally velocities that correspond to consecutive, equally spaced points in (simulation) time.

dynasor can by itself read and parse standard lammpsdump-style trajectories. If libgmx (a library in the gromacs package) is available, dynasor can use it to read gromacs xtc-files. If VMD is available, dynasor can use VMD’s molfileplugin to read other formats (with some limitations) as well.

dynasor is controlled via command line options, provided at command invocation. Output can be written in the form of standard matlab/octave-stype m-files and/or python pickle-files.


A full documentation can be found in the user guide.


Python 3.5+, numpy, and a C99-complient C-compiler.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dynasor, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size dynasor-1.0.tar.gz (29.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page