GaussParse


NameGaussParse JSON
Version 1.2.1 PyPI version JSON
download
home_pageNone
SummaryGaussParse is a python package to parse Gaussian output files.
upload_time2025-01-08 23:00:34
maintainerNone
docs_urlNone
authorSina Gilassi
requires_python>=3.10
licenseMIT
keywords python gaussian software computational chemistry gaussian parser reaction energy profile
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# GaussParse



![Downloads](https://img.shields.io/pypi/dm/GaussParse) ![PyPI](https://img.shields.io/pypi/v/GaussParse) ![License](https://img.shields.io/pypi/l/GaussParse)



GaussParse is a versatile Python package designed for parsing output files generated by Gaussian software, a widely used computational chemistry tool. This package enables users to efficiently extract essential information and perform various analytical tasks directly from Gaussian output files. Whether you need to visualize energy profiles, analyze IRC (Intrinsic Reaction Coordinate) curves, retrieve summary results, or extract molecular orientations, GaussParse provides a streamlined interface to accomplish these tasks with ease.



Key Features:



* Energy Profile Plotting: Visualize and analyze energy profiles directly from Gaussian  output files.



* IRC Curve Plotting: Generate plots of IRC curves to study reaction pathways.

    

* Summary Results Extraction: Extract and summarize key computational results from Gaussian calculations.

    

* Molecular Orientation Analysis: Retrieve detailed information about molecular orientations and configurations.

    

* Publication-Ready Data: Extract molecular orientation data into a Word file formatted for publication as supplementary information.

    

* GaussParse simplifies the process of post-processing Gaussian output, making it an invaluable tool for computational chemists and researchers working in molecular dynamics, quantum chemistry, and related fields.



## Installation



Install this project



```bash

  pip install GaussParse

```

    

## Documentation



Import GaussParse



```python

import GaussParse as gp

```



Available methods



```python

# collect all files



# excel file

xls_file = r'...\\TS2-data.xlsx'

gp.collect_files_from(xls_file, sheet_name="Sheet1")



```



List all the Gaussian log files in an excel file,



![Alt text](https://drive.google.com/uc?export=view&id=1AM39B_p5YQKXObORiOvS_4jJnLwqmFsk)



All the Gaussian log files are saved in a folder:



![Alt text](https://drive.google.com/uc?export=view&id=1AJOlypBssDNATqbu4tyjszC1rUJJlqEZ)



```python

# Save result summary to Excel



# file

gaussian_log = r"...\1,2LO.txt"

# save in excel

gp.result_summary_to_excel(gaussian_log)

```



Results summary as:



![Alt Results summary](https://drive.google.com/uc?export=view&id=1A1aKcymJ9_W0m5L1Q7lnV8QqR1_igFf2)



The data are saved in an excel file:



![Alt Excel](https://drive.google.com/uc?export=view&id=1A8m0DQuJULAtnL7J3802LvmLOuasdben)



```python

# Save input orientation to txt



# folder

gaussian_log = r"...\\acetone-limonene-mechanism-1"

# save in txt

gp.input_orientation_to_txt(gaussian_log)



# Transform input orientation to xyz



# file

gaussian_log = r"...\g09_exp.log"

# save in txt

gp.txt_orientation_to_xyz(gaussian_log)



```



Gaussian log files (saved in a folder)



![Alt text](https://drive.google.com/uc?export=view&id=1AJOlypBssDNATqbu4tyjszC1rUJJlqEZ)



The molecular orientation are saved in a text file (Notepad), 



![Alt text](https://drive.google.com/uc?export=view&id=1AKZW9ZPGlUAHVguPnRrsSTnKrjB3RLO0)



```python

# Save IRC profile



# file path

plt_data = "...\\g09_exp.log"

# save IRC profile

gp.plot_irc_profile(plt_data)



```



IRC profile:



![Alt text](https://drive.google.com/uc?export=view&id=19qDj4djcjeooLGxhvWLfEK_9rgZIsOXA)



```python

# Save energy profile



# file path

plt_data = '...\\energy.xlsx'



# plot energy profile and save it

gp.plot_energy_profile(plt_data)

```   



Load data in an excel file:



![Alt text](https://drive.google.com/uc?export=view&id=19rKQlVjmXW3IPQYryzIUH-pjsCQVH-3e)



Energy profile:



![Alt text](https://drive.google.com/uc?export=view&id=19yZCJRZEzCZOJQesjXFCYAgfyz7kX5vd)



## License



[MIT](https://choosealicense.com/licenses/mit/)



## Citation



If you use this Python package in your research, please cite it as follows:



Sina Gilassi, (2024). GaussParse: A Python package for parsing Gaussian software output. GitHub repository. https://github.com/sinagilassi/GaussParse



## FAQ



For any question, contact me on [LinkedIn](https://www.linkedin.com/in/sina-gilassi/) 





## Authors



- [@sinagilassi](https://www.github.com/sinagilassi)




            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "GaussParse",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "Python, Gaussian Software, Computational Chemistry, Gaussian Parser, Reaction Energy Profile",
    "author": "Sina Gilassi",
    "author_email": "<sina.gilassi@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/65/11/41e36b17e019f2fc0bb853862cc315919900fc69547c46dbc7aa166527c4/gaussparse-1.2.1.tar.gz",
    "platform": null,
    "description": "\r\n# GaussParse\r\r\n\r\r\n![Downloads](https://img.shields.io/pypi/dm/GaussParse) ![PyPI](https://img.shields.io/pypi/v/GaussParse) ![License](https://img.shields.io/pypi/l/GaussParse)\r\r\n\r\r\nGaussParse is a versatile Python package designed for parsing output files generated by Gaussian software, a widely used computational chemistry tool. This package enables users to efficiently extract essential information and perform various analytical tasks directly from Gaussian output files. Whether you need to visualize energy profiles, analyze IRC (Intrinsic Reaction Coordinate) curves, retrieve summary results, or extract molecular orientations, GaussParse provides a streamlined interface to accomplish these tasks with ease.\r\r\n\r\r\nKey Features:\r\r\n\r\r\n* Energy Profile Plotting: Visualize and analyze energy profiles directly from Gaussian  output files.\r\r\n\r\r\n* IRC Curve Plotting: Generate plots of IRC curves to study reaction pathways.\r\r\n    \r\r\n* Summary Results Extraction: Extract and summarize key computational results from Gaussian calculations.\r\r\n    \r\r\n* Molecular Orientation Analysis: Retrieve detailed information about molecular orientations and configurations.\r\r\n    \r\r\n* Publication-Ready Data: Extract molecular orientation data into a Word file formatted for publication as supplementary information.\r\r\n    \r\r\n* GaussParse simplifies the process of post-processing Gaussian output, making it an invaluable tool for computational chemists and researchers working in molecular dynamics, quantum chemistry, and related fields.\r\r\n\r\r\n## Installation\r\r\n\r\r\nInstall this project\r\r\n\r\r\n```bash\r\r\n  pip install GaussParse\r\r\n```\r\r\n    \r\r\n## Documentation\r\r\n\r\r\nImport GaussParse\r\r\n\r\r\n```python\r\r\nimport GaussParse as gp\r\r\n```\r\r\n\r\r\nAvailable methods\r\r\n\r\r\n```python\r\r\n# collect all files\r\r\n\r\r\n# excel file\r\r\nxls_file = r'...\\\\TS2-data.xlsx'\r\r\ngp.collect_files_from(xls_file, sheet_name=\"Sheet1\")\r\r\n\r\r\n```\r\r\n\r\r\nList all the Gaussian log files in an excel file,\r\r\n\r\r\n![Alt text](https://drive.google.com/uc?export=view&id=1AM39B_p5YQKXObORiOvS_4jJnLwqmFsk)\r\r\n\r\r\nAll the Gaussian log files are saved in a folder:\r\r\n\r\r\n![Alt text](https://drive.google.com/uc?export=view&id=1AJOlypBssDNATqbu4tyjszC1rUJJlqEZ)\r\r\n\r\r\n```python\r\r\n# Save result summary to Excel\r\r\n\r\r\n# file\r\r\ngaussian_log = r\"...\\1,2LO.txt\"\r\r\n# save in excel\r\r\ngp.result_summary_to_excel(gaussian_log)\r\r\n```\r\r\n\r\r\nResults summary as:\r\r\n\r\r\n![Alt Results summary](https://drive.google.com/uc?export=view&id=1A1aKcymJ9_W0m5L1Q7lnV8QqR1_igFf2)\r\r\n\r\r\nThe data are saved in an excel file:\r\r\n\r\r\n![Alt Excel](https://drive.google.com/uc?export=view&id=1A8m0DQuJULAtnL7J3802LvmLOuasdben)\r\r\n\r\r\n```python\r\r\n# Save input orientation to txt\r\r\n\r\r\n# folder\r\r\ngaussian_log = r\"...\\\\acetone-limonene-mechanism-1\"\r\r\n# save in txt\r\r\ngp.input_orientation_to_txt(gaussian_log)\r\r\n\r\r\n# Transform input orientation to xyz\r\r\n\r\r\n# file\r\r\ngaussian_log = r\"...\\g09_exp.log\"\r\r\n# save in txt\r\r\ngp.txt_orientation_to_xyz(gaussian_log)\r\r\n\r\r\n```\r\r\n\r\r\nGaussian log files (saved in a folder)\r\r\n\r\r\n![Alt text](https://drive.google.com/uc?export=view&id=1AJOlypBssDNATqbu4tyjszC1rUJJlqEZ)\r\r\n\r\r\nThe molecular orientation are saved in a text file (Notepad), \r\r\n\r\r\n![Alt text](https://drive.google.com/uc?export=view&id=1AKZW9ZPGlUAHVguPnRrsSTnKrjB3RLO0)\r\r\n\r\r\n```python\r\r\n# Save IRC profile\r\r\n\r\r\n# file path\r\r\nplt_data = \"...\\\\g09_exp.log\"\r\r\n# save IRC profile\r\r\ngp.plot_irc_profile(plt_data)\r\r\n\r\r\n```\r\r\n\r\r\nIRC profile:\r\r\n\r\r\n![Alt text](https://drive.google.com/uc?export=view&id=19qDj4djcjeooLGxhvWLfEK_9rgZIsOXA)\r\r\n\r\r\n```python\r\r\n# Save energy profile\r\r\n\r\r\n# file path\r\r\nplt_data = '...\\\\energy.xlsx'\r\r\n\r\r\n# plot energy profile and save it\r\r\ngp.plot_energy_profile(plt_data)\r\r\n```   \r\r\n\r\r\nLoad data in an excel file:\r\r\n\r\r\n![Alt text](https://drive.google.com/uc?export=view&id=19rKQlVjmXW3IPQYryzIUH-pjsCQVH-3e)\r\r\n\r\r\nEnergy profile:\r\r\n\r\r\n![Alt text](https://drive.google.com/uc?export=view&id=19yZCJRZEzCZOJQesjXFCYAgfyz7kX5vd)\r\r\n\r\r\n## License\r\r\n\r\r\n[MIT](https://choosealicense.com/licenses/mit/)\r\r\n\r\r\n## Citation\r\r\n\r\r\nIf you use this Python package in your research, please cite it as follows:\r\r\n\r\r\nSina Gilassi, (2024). GaussParse: A Python package for parsing Gaussian software output. GitHub repository. https://github.com/sinagilassi/GaussParse\r\r\n\r\r\n## FAQ\r\r\n\r\r\nFor any question, contact me on [LinkedIn](https://www.linkedin.com/in/sina-gilassi/) \r\r\n\r\r\n\r\r\n## Authors\r\r\n\r\r\n- [@sinagilassi](https://www.github.com/sinagilassi)\r\r\n\r\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "GaussParse is a python package to parse Gaussian output files.",
    "version": "1.2.1",
    "project_urls": null,
    "split_keywords": [
        "python",
        " gaussian software",
        " computational chemistry",
        " gaussian parser",
        " reaction energy profile"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "92db7dda0dabd4f9f01a911b7ce98f3e504ef5c5d180f66ef5cd187791121a6b",
                "md5": "597617de250c863c59f36bfc03840b97",
                "sha256": "dc40742626663dadc8a3063a4f799436f2f98f221248abbc7be1b10494aa8079"
            },
            "downloads": -1,
            "filename": "GaussParse-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "597617de250c863c59f36bfc03840b97",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 27089,
            "upload_time": "2025-01-08T23:00:31",
            "upload_time_iso_8601": "2025-01-08T23:00:31.961088Z",
            "url": "https://files.pythonhosted.org/packages/92/db/7dda0dabd4f9f01a911b7ce98f3e504ef5c5d180f66ef5cd187791121a6b/GaussParse-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "651141e36b17e019f2fc0bb853862cc315919900fc69547c46dbc7aa166527c4",
                "md5": "d769ba9a84279582fc5c4e24e0be7d1c",
                "sha256": "ebf486bcaaf6470fad638cdf1b9878a028b375e6900868652a711878d3f22dcf"
            },
            "downloads": -1,
            "filename": "gaussparse-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d769ba9a84279582fc5c4e24e0be7d1c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 23051,
            "upload_time": "2025-01-08T23:00:34",
            "upload_time_iso_8601": "2025-01-08T23:00:34.999491Z",
            "url": "https://files.pythonhosted.org/packages/65/11/41e36b17e019f2fc0bb853862cc315919900fc69547c46dbc7aa166527c4/gaussparse-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-08 23:00:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gaussparse"
}
        
Elapsed time: 0.41154s