calphy


Namecalphy JSON
Version 1.3.7 PyPI version JSON
download
home_pagehttps://github.com/ICAMS/calphy
Summaryfree energy calculation for python
upload_time2024-03-15 07:30:32
maintainer
docs_urlNone
authorSarath Menon, Yury Lysogorskiy, Ralf Drautz
requires_python>=3.8
licenseGNU General Public License v3
keywords calphy
VCS
bugtrack_url
requirements numpy scipy pyyaml mendeleev lammps mpi4py openmpi pylammpsmpi pyscal pytest tqdm
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # calphy

`calphy`(pronounced _cal-phee_) is a Python library and command line tool for calculation of free energies. It uses [LAMMPS](https://www.lammps.org/) as the molecular dynamics driver to enable calculation of free energies using thermodynamic integration in a completely automated and efficient manner. The various methods that calphy can perform are:

- <img src="https://render.githubusercontent.com/render/math?math=F(V_i,T_i)"> and <img src="https://render.githubusercontent.com/render/math?math=G(P_i,T_i)"> for both solid and liquid phases at the given thermodynamic conditions using [non-equilibrium Hamiltonian interpolation](https://linkinghub.elsevier.com/retrieve/pii/S0927025615007089).
- <img src="https://render.githubusercontent.com/render/math?math=F(T_i \to T_f)"> and <img src="https://render.githubusercontent.com/render/math?math=G(T_i \to T_f)">, temperature dependence of Gibbs and Helmholtz free energies using the [reversible scaling](https://link.aps.org/doi/10.1103/PhysRevLett.83.3973) approach.
- Calculation of solid-solid or solid-liquid phase transition temperatures.
- Calculation of coexistence lines using [dynamic Clausius-Clapeyron integration](http://aip.scitation.org/doi/10.1063/1.1420486).
- Calculation of specific heat <img src="https://render.githubusercontent.com/render/math?math=c_P(T)"> as a function of temperature.
- Calculation of <img src="https://render.githubusercontent.com/render/math?math=F(x, T)"> and <img src="https://render.githubusercontent.com/render/math?math=G(x, T)"> for multicomponent systems using [alchemical transformations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).
- [Upsampling calculations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).

Calphy works with all [interatomic potentials implemented in LAMMPS](https://docs.lammps.org/pairs.html) and can obtain reliable results with low error bars in as low as 50 ps of simulation time with less than 3000 atoms. More information about the methods in calphy can be found in the [associated publication](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).

## Installation, examples and documentation

- Read the `calphy` installation instructions and documentation including examples [here](https://calphy.readthedocs.io/en/latest/index.html).

- For a description of the methods and algorithms implemented in `calphy`, please see the [associated publication](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).

- For a set of examples presented in the `calphy` publication, please see [here](https://github.com/srmnitc/calphy-publication-examples).
 
## Citing calphy

If you find calphy useful, please consider citing:  
Menon, Sarath, Yury Lysogorskiy, Jutta Rogal, and Ralf Drautz.   
[“Automated Free Energy Calculation from Atomistic Simulations.”](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801) 
Physical Review Materials 5(10), 2021  
DOI: 10.1103/PhysRevMaterials.5.103801  

Download bibtex [here](https://journals.aps.org/prmaterials/export/10.1103/PhysRevMaterials.5.103801?type=bibtex&download=true)


[![Anaconda-Server Badge](https://anaconda.org/conda-forge/calphy/badges/installer/conda.svg)](https://conda.anaconda.org/conda-forge)

[![PyPI version](https://badge.fury.io/py/calphy.svg)](https://badge.fury.io/py/calphy)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ICAMS/calphy",
    "name": "calphy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "calphy",
    "author": "Sarath Menon, Yury Lysogorskiy, Ralf Drautz",
    "author_email": "sarathmenon@mailbox.org",
    "download_url": "https://files.pythonhosted.org/packages/85/64/99376df7927b714cedca4375fcc0e231e29d346b6175b9b230c8d21ba670/calphy-1.3.7.tar.gz",
    "platform": null,
    "description": "# calphy\n\n`calphy`(pronounced _cal-phee_) is a Python library and command line tool for calculation of free energies. It uses [LAMMPS](https://www.lammps.org/) as the molecular dynamics driver to enable calculation of free energies using thermodynamic integration in a completely automated and efficient manner. The various methods that calphy can perform are:\n\n- <img src=\"https://render.githubusercontent.com/render/math?math=F(V_i,T_i)\"> and <img src=\"https://render.githubusercontent.com/render/math?math=G(P_i,T_i)\"> for both solid and liquid phases at the given thermodynamic conditions using [non-equilibrium Hamiltonian interpolation](https://linkinghub.elsevier.com/retrieve/pii/S0927025615007089).\n- <img src=\"https://render.githubusercontent.com/render/math?math=F(T_i \\to T_f)\"> and <img src=\"https://render.githubusercontent.com/render/math?math=G(T_i \\to T_f)\">, temperature dependence of Gibbs and Helmholtz free energies using the [reversible scaling](https://link.aps.org/doi/10.1103/PhysRevLett.83.3973) approach.\n- Calculation of solid-solid or solid-liquid phase transition temperatures.\n- Calculation of coexistence lines using [dynamic Clausius-Clapeyron integration](http://aip.scitation.org/doi/10.1063/1.1420486).\n- Calculation of specific heat <img src=\"https://render.githubusercontent.com/render/math?math=c_P(T)\"> as a function of temperature.\n- Calculation of <img src=\"https://render.githubusercontent.com/render/math?math=F(x, T)\"> and <img src=\"https://render.githubusercontent.com/render/math?math=G(x, T)\"> for multicomponent systems using [alchemical transformations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).\n- [Upsampling calculations](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).\n\nCalphy works with all [interatomic potentials implemented in LAMMPS](https://docs.lammps.org/pairs.html) and can obtain reliable results with low error bars in as low as 50 ps of simulation time with less than 3000 atoms. More information about the methods in calphy can be found in the [associated publication](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).\n\n## Installation, examples and documentation\n\n- Read the `calphy` installation instructions and documentation including examples [here](https://calphy.readthedocs.io/en/latest/index.html).\n\n- For a description of the methods and algorithms implemented in `calphy`, please see the [associated publication](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801).\n\n- For a set of examples presented in the `calphy` publication, please see [here](https://github.com/srmnitc/calphy-publication-examples).\n \n## Citing calphy\n\nIf you find calphy useful, please consider citing:  \nMenon, Sarath, Yury Lysogorskiy, Jutta Rogal, and Ralf Drautz.   \n[\u201cAutomated Free Energy Calculation from Atomistic Simulations.\u201d](https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.5.103801) \nPhysical Review Materials 5(10), 2021  \nDOI: 10.1103/PhysRevMaterials.5.103801  \n\nDownload bibtex [here](https://journals.aps.org/prmaterials/export/10.1103/PhysRevMaterials.5.103801?type=bibtex&download=true)\n\n\n[![Anaconda-Server Badge](https://anaconda.org/conda-forge/calphy/badges/installer/conda.svg)](https://conda.anaconda.org/conda-forge)\n\n[![PyPI version](https://badge.fury.io/py/calphy.svg)](https://badge.fury.io/py/calphy)\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3",
    "summary": "free energy calculation for python",
    "version": "1.3.7",
    "project_urls": {
        "Homepage": "https://github.com/ICAMS/calphy"
    },
    "split_keywords": [
        "calphy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48f9cde1c41a63aba352330c62d0db499818671f610962df5e1317a10412e091",
                "md5": "cb8ffd20994415f29d56c26d9f305748",
                "sha256": "73c3159af7e53ff80dd9f2e2ed54f30944cf5f31f0454a89ff6a5f61814d553c"
            },
            "downloads": -1,
            "filename": "calphy-1.3.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb8ffd20994415f29d56c26d9f305748",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 93933,
            "upload_time": "2024-03-15T07:30:30",
            "upload_time_iso_8601": "2024-03-15T07:30:30.295368Z",
            "url": "https://files.pythonhosted.org/packages/48/f9/cde1c41a63aba352330c62d0db499818671f610962df5e1317a10412e091/calphy-1.3.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "856499376df7927b714cedca4375fcc0e231e29d346b6175b9b230c8d21ba670",
                "md5": "d8d1c20948035ad007ff84b9555b97a9",
                "sha256": "f02f03aae3df3292afe9cc87b32d18727f5df00b925bc11537e8226f8578fac5"
            },
            "downloads": -1,
            "filename": "calphy-1.3.7.tar.gz",
            "has_sig": false,
            "md5_digest": "d8d1c20948035ad007ff84b9555b97a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 83305,
            "upload_time": "2024-03-15T07:30:32",
            "upload_time_iso_8601": "2024-03-15T07:30:32.397773Z",
            "url": "https://files.pythonhosted.org/packages/85/64/99376df7927b714cedca4375fcc0e231e29d346b6175b9b230c8d21ba670/calphy-1.3.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-15 07:30:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ICAMS",
    "github_project": "calphy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "scipy",
            "specs": []
        },
        {
            "name": "pyyaml",
            "specs": []
        },
        {
            "name": "mendeleev",
            "specs": []
        },
        {
            "name": "lammps",
            "specs": []
        },
        {
            "name": "mpi4py",
            "specs": []
        },
        {
            "name": "openmpi",
            "specs": []
        },
        {
            "name": "pylammpsmpi",
            "specs": []
        },
        {
            "name": "pyscal",
            "specs": []
        },
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "tqdm",
            "specs": []
        }
    ],
    "lcname": "calphy"
}
        
Elapsed time: 0.22604s