onsager-coefficients


Nameonsager-coefficients JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/jwjeffr/onsager_coefficients
Summary
upload_time2023-12-11 03:57:29
maintainer
docs_urlNone
authorJacob Jeffries
requires_python
license
keywords
VCS
bugtrack_url
requirements setuptools matplotlib numpy ovito
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. _example/: https://github.com/jwjeffr/onsager_coefficients/tree/master/example

Onsager coefficients from molecular dynamics run
################################################

This library is for calculating the Onsager coefficients in a molecular dynamics run, calculated with the generalized Einstein relation.

This code works by splicing a larger MD trajectory into N smaller subtrajetories, averaging the square displacements over those trajectories, and calculating the slope of that time series in the long time limit.

Parameters for the calculation are the LAMMPS-style dump file name, the number of subtrajectories to create, the timestep in the dump file, and the transient time.

The transient time parameter is for excluding the initial transient behavior in averaged trajectory.

With OVITO Pro, you can install this library into your OVITO interface with:

``ovitos -m pip install --user onsager_coefficients``

which adds a mean square displacement and a total displacement modifier to your interface. Or, for use in a standalone Python script:

``pip install onsager_coefficients``

An example of this repository used in a standalone script is in the `example/`_ directory.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jwjeffr/onsager_coefficients",
    "name": "onsager-coefficients",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jacob Jeffries",
    "author_email": "jwjeffr@clemson.edu",
    "download_url": "https://files.pythonhosted.org/packages/ec/fc/8d2a5036058e036a634cef41713bfca38d5c6983cf7287d2f707f605eae0/onsager_coefficients-1.0.0.tar.gz",
    "platform": null,
    "description": ".. _example/: https://github.com/jwjeffr/onsager_coefficients/tree/master/example\n\nOnsager coefficients from molecular dynamics run\n################################################\n\nThis library is for calculating the Onsager coefficients in a molecular dynamics run, calculated with the generalized Einstein relation.\n\nThis code works by splicing a larger MD trajectory into N smaller subtrajetories, averaging the square displacements over those trajectories, and calculating the slope of that time series in the long time limit.\n\nParameters for the calculation are the LAMMPS-style dump file name, the number of subtrajectories to create, the timestep in the dump file, and the transient time.\n\nThe transient time parameter is for excluding the initial transient behavior in averaged trajectory.\n\nWith OVITO Pro, you can install this library into your OVITO interface with:\n\n``ovitos -m pip install --user onsager_coefficients``\n\nwhich adds a mean square displacement and a total displacement modifier to your interface. Or, for use in a standalone Python script:\n\n``pip install onsager_coefficients``\n\nAn example of this repository used in a standalone script is in the `example/`_ directory.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/jwjeffr/onsager_coefficients"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4ef2d79b49a0a5ff9e52c00072104fe734ef39d2a5fdab258f79e6a52873ed4",
                "md5": "52da25eca86d6c47d89593205ca81c65",
                "sha256": "fa94bbf3988768e79f7823f400dc7d71516304adfe1bc100b3696e25411cecad"
            },
            "downloads": -1,
            "filename": "onsager_coefficients-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "52da25eca86d6c47d89593205ca81c65",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5052,
            "upload_time": "2023-12-11T03:57:28",
            "upload_time_iso_8601": "2023-12-11T03:57:28.483753Z",
            "url": "https://files.pythonhosted.org/packages/d4/ef/2d79b49a0a5ff9e52c00072104fe734ef39d2a5fdab258f79e6a52873ed4/onsager_coefficients-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ecfc8d2a5036058e036a634cef41713bfca38d5c6983cf7287d2f707f605eae0",
                "md5": "79e88183c7f8de43c743847c2d9a1940",
                "sha256": "fe391b3d055c2f267c0a33f3137e02417ee2b4a4a6a49bc40428f6745d1eb687"
            },
            "downloads": -1,
            "filename": "onsager_coefficients-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "79e88183c7f8de43c743847c2d9a1940",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4446,
            "upload_time": "2023-12-11T03:57:29",
            "upload_time_iso_8601": "2023-12-11T03:57:29.909630Z",
            "url": "https://files.pythonhosted.org/packages/ec/fc/8d2a5036058e036a634cef41713bfca38d5c6983cf7287d2f707f605eae0/onsager_coefficients-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-11 03:57:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jwjeffr",
    "github_project": "onsager_coefficients",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "setuptools",
            "specs": [
                [
                    "~=",
                    "57.0.0"
                ]
            ]
        },
        {
            "name": "matplotlib",
            "specs": [
                [
                    "~=",
                    "3.8.2"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "~=",
                    "1.26.2"
                ]
            ]
        },
        {
            "name": "ovito",
            "specs": [
                [
                    "~=",
                    "3.9.4"
                ]
            ]
        }
    ],
    "lcname": "onsager-coefficients"
}
        
Elapsed time: 0.18379s