Skip to main content

A SEAMM plug-in for Diffusivity

Project description

SEAMM Diffusivity Plug-in

GitHub pull requests Build Status Code Coverage Code Quality Documentation Status PyPi VERSION

A SEAMM plug-in for Diffusivity

Features

  • Please edit this section!

Acknowledgements

This package was created with the molssi-seamm/cookiecutter-seamm-plugin tool, which is based on the excellent Cookiecutter.

Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under award CHE-2136142.

History

2026.1.8 – Enhancement to use atomic position and velocity trajectories
  • Add support for the atomic position and velocity trajectories for forcefields/potentials such as EAM/MEAM where there are no bonds, and hence the center-of-mass trajectories used from molecules are not allowed by LAMMPS.

2025.9.23 – Bugfix: Fixed error storing diffusion constants as properties

2024.7.30.1 – Bugfix: Reinitialization of data in loops
  • Fixed a bug where the data was not being correctly initialized if the step was in a loop. This caused the timing results to be incorrect.

  • Added actual number of samples for the MSD and length of the Helfand integral to the results.

2024.7.30 – Added optional correction for cell size
  • Added an option to use the Yeh-Hummer hydrostatic correction for the effects of the finite cell size. The viscosity is required as an input, but the correction eliminates the need to extrapolate to 1/L = 0.

  • Added control parameters and timings to the available results.

2024.7.21 – Significant improvements!
  • Simplified error analysis to safe approach of analyzing the diffusion constants over runs.

  • Improved fitting of the curves to focus on the central linear portion. There are reasonable defaults but the user can adjust as needed.

  • Provided a combined average and error bars when both the MSF approach and Helfand moments are used.

  • Capture temperature, pressure, and cell size from the MD step, providing 1/L as a result since the true diffusion constants are found by extrapolating to 1/L = 0.

  • Provided control over the number of steps for the expensive numerical integration in the Helfand moments, providing a reasonable default of 1000.

2024.7.15 – Bugfix: Significant error in Helfand Moment approach
  • Now fixed and seems to be working.

2024.7.4 – Improved fitting of curves
  • Removed weighting of the fit by the stdev since it is too biased to the beginning

  • Added control over the portion of the data to fit in order to avoid the initial curvature and poor data towards the end.

2024.6.3 – Bugfix: handling of options for subflowchart
  • Fixed a bug where the options for the subflowchart were not being parsed correctly.

2024.5.26 – Updated for new task handling
  • The new handling of running tasks such as LAMMPS required a small change in the code.

2023.9.5 – Changed default to using only MSD
  • The Helfand moments approach seems give incorrect results if the sampling time is too long. It is not dramatic, but gives increasingly incorrect results as the sampling time is increased. Thus using the Helfand moments is dangerous because the results may be wrong, but not obviously so.

2023.8.30 – Initial working version
  • A working version that has been tested somewhat. Further testing and documentation will follow

2023.5.8 – Initial development version created
  • Plug-in created using the SEAMM plug-in cookiecutter.

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

diffusivity_step-2026.1.8.tar.gz (320.1 kB view details)

Uploaded Source

Built Distribution

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

diffusivity_step-2026.1.8-py2.py3-none-any.whl (30.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file diffusivity_step-2026.1.8.tar.gz.

File metadata

  • Download URL: diffusivity_step-2026.1.8.tar.gz
  • Upload date:
  • Size: 320.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for diffusivity_step-2026.1.8.tar.gz
Algorithm Hash digest
SHA256 08b7e9f57600a10aace33578978db51485a20b1d3a748ab2893860f69d24e50a
MD5 4b46597d1daf062516018a1f6f943cc9
BLAKE2b-256 1d408bc231465115d3d0755256d30c08cc07329800d0bb0644657f6c6d60691a

See more details on using hashes here.

File details

Details for the file diffusivity_step-2026.1.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for diffusivity_step-2026.1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 59d235de92c4882f9754ca6026172712c84f1698d5bb8f176c76d66d715eea25
MD5 4b3032d72a9cc403a3463f9db4609faa
BLAKE2b-256 03a86e2006d91487d0350908c8a9b4f61e5446546ec42301bf9920156a0a9482

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