GLEqPy


NameGLEqPy JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/afarahva/gleqpy/
SummaryTools for generalized Langevin equation simulation and analysis
upload_time2023-11-02 15:05:03
maintainerArdavan Farahvash
docs_urlNone
authorArdavan Farahvash
requires_python
licenseMIT
keywords generalized-langevin-equation langevin molecular-dynamics atomic-simulation-environment python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            GLEqPy
======

*Generalized Langevin Equation with Python*

This repo contains tools for the simulation of the generalized Langevin equation (GLE) and 
the calculation of memory/friction kernels. 

The GLE is a non-Markovian counterpart to the Langevin equation,

$$ \mathbf{p} = -\frac{d W}{d \mathbf{x}}(t) - \int_0^t \mathbf{K}(t-\tau) \mathbf{p}(\tau) d\tau + \mathbf{R}(t) $$

where $\mathbf{p}$ and $\mathbf{x}$ are the momenta and positions of your system, $W$ is 
the potential of mean force, $\mathbf{K}$ is the memory kernel (generally a tensor), 
and $\mathbf{R}$ is a correlated stochastic process. 

<p align="center">
<img src="https://raw.githubusercontent.com/afarahva/gleqpy/main/examples/1D/memory.png" width="500">
</p>

The figure above compares memory kernels, one that was used as an input for a 
simulation and others that were extracted by analyzing the data from that simulation.

Pedagogical examples of how to set up, run, and analyze GLE simulations are provided in the 
**examples** directory. Examples include toy simulations, GLE for solid dynamics with ASE, 
and GLE for solution phase dynamics with LAMMPS.


Getting Started
---------------

The easiest way to install GLEqPy is by using `pip`.

`pip install gleqpy`

The memory analysis tools only require `numpy` and `scipy`.

The ase module requires the [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase/index.html)
to be installed.

The examples directory contains discusses how to use [LAMMPS](https://www.lammps.org/) to run GLE simulations.

 
Submodules
----------

**ase** - GLE integrators and helpful forcefields for Atomic Simulation Environment. 

**examples** - Helpful examples.

**memory** - Functions for calculating memory kernels, and a database for memory kernels 
calculated from prior simulations. 

**md** - Python based MD code, useful for testing purposes and building toy simulations.


Citing glepy
------------
If you use glepy, please cite: 

Farahvash A, Agrawal M, Peterson AA, Willard AP. Modeling Surface Vibrations and Their Role in Molecular Adsorption: A Generalized Langevin Approach. J Chem Theory Comput. 2023 Sep 26;19(18):6452-6460. doi: [10.1021/acs.jctc.3c00473](10.1021/acs.jctc.3c00473).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/afarahva/gleqpy/",
    "name": "GLEqPy",
    "maintainer": "Ardavan Farahvash",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "ardavanf95@gmail.com",
    "keywords": "generalized-langevin-equation,langevin,molecular-dynamics,atomic-simulation-environment,python",
    "author": "Ardavan Farahvash",
    "author_email": "ardavanf95@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7e/8f/382dd5631c05d207a214ee9065dbed7679c39399307612fc6ab9e7f5be93/GLEqPy-1.0.2.tar.gz",
    "platform": null,
    "description": "GLEqPy\n======\n\n*Generalized Langevin Equation with Python*\n\nThis repo contains tools for the simulation of the generalized Langevin equation (GLE) and \nthe calculation of memory/friction kernels. \n\nThe GLE is a non-Markovian counterpart to the Langevin equation,\n\n$$ \\mathbf{p} = -\\frac{d W}{d \\mathbf{x}}(t) - \\int_0^t \\mathbf{K}(t-\\tau) \\mathbf{p}(\\tau) d\\tau + \\mathbf{R}(t) $$\n\nwhere $\\mathbf{p}$ and $\\mathbf{x}$ are the momenta and positions of your system, $W$ is \nthe potential of mean force, $\\mathbf{K}$ is the memory kernel (generally a tensor), \nand $\\mathbf{R}$ is a correlated stochastic process. \n\n<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/afarahva/gleqpy/main/examples/1D/memory.png\" width=\"500\">\n</p>\n\nThe figure above compares memory kernels, one that was used as an input for a \nsimulation and others that were extracted by analyzing the data from that simulation.\n\nPedagogical examples of how to set up, run, and analyze GLE simulations are provided in the \n**examples** directory. Examples include toy simulations, GLE for solid dynamics with ASE, \nand GLE for solution phase dynamics with LAMMPS.\n\n\nGetting Started\n---------------\n\nThe easiest way to install GLEqPy is by using `pip`.\n\n`pip install gleqpy`\n\nThe memory analysis tools only require `numpy` and `scipy`.\n\nThe ase module requires the [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase/index.html)\nto be installed.\n\nThe examples directory contains discusses how to use [LAMMPS](https://www.lammps.org/) to run GLE simulations.\n\n \nSubmodules\n----------\n\n**ase** - GLE integrators and helpful forcefields for Atomic Simulation Environment. \n\n**examples** - Helpful examples.\n\n**memory** - Functions for calculating memory kernels, and a database for memory kernels \ncalculated from prior simulations. \n\n**md** - Python based MD code, useful for testing purposes and building toy simulations.\n\n\nCiting glepy\n------------\nIf you use glepy, please cite: \n\nFarahvash A, Agrawal M, Peterson AA, Willard AP. Modeling Surface Vibrations and Their Role in Molecular Adsorption: A Generalized Langevin Approach. J Chem Theory Comput. 2023 Sep 26;19(18):6452-6460. doi: [10.1021/acs.jctc.3c00473](10.1021/acs.jctc.3c00473).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tools for generalized Langevin equation simulation and analysis",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/afarahva/gleqpy/"
    },
    "split_keywords": [
        "generalized-langevin-equation",
        "langevin",
        "molecular-dynamics",
        "atomic-simulation-environment",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e8f382dd5631c05d207a214ee9065dbed7679c39399307612fc6ab9e7f5be93",
                "md5": "73fd2b056487772765e217bb97c1381b",
                "sha256": "a4c29f6aef24a7b15fa8b2881f8e0b308a765e8784f0f27492542842ef6967fe"
            },
            "downloads": -1,
            "filename": "GLEqPy-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "73fd2b056487772765e217bb97c1381b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 27198,
            "upload_time": "2023-11-02T15:05:03",
            "upload_time_iso_8601": "2023-11-02T15:05:03.950791Z",
            "url": "https://files.pythonhosted.org/packages/7e/8f/382dd5631c05d207a214ee9065dbed7679c39399307612fc6ab9e7f5be93/GLEqPy-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-02 15:05:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "afarahva",
    "github_project": "gleqpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gleqpy"
}
        
Elapsed time: 0.16317s