GaussParse is a python package to parse Gaussian output files.
Project description
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
pip install GaussParse
Documentation
Import GaussParse
import GaussParse as gp
Available methods
# 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,
All the Gaussian log files are saved in a folder:
# 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:
The data are saved in an excel file:
# 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)
The molecular orientation are saved in a text file (Notepad),
# Save IRC profile
# file path
plt_data = "...\\g09_exp.log"
# save IRC profile
gp.plot_irc_profile(plt_data)
IRC profile:
# 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:
Energy profile:
License
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
Authors
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
Built Distribution
File details
Details for the file gaussparse-1.2.0.tar.gz
.
File metadata
- Download URL: gaussparse-1.2.0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6be99137a717378c186923b42de89bffd3748c7b416cd45710713efc3aac046d |
|
MD5 | 38ee29e9c5cec84042857f0077ee7a23 |
|
BLAKE2b-256 | 27e3a5688c14d55b4a6e9d8bedd9a58aae2e1b3b29fbfc3765a78b5d786895f0 |
File details
Details for the file GaussParse-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: GaussParse-1.2.0-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8a0863ce258483e0c64d6e94f1671b505ef38284468b518fcf0e5dcb0b0215e |
|
MD5 | 2ccb1b6cdca2384f1b18d21be0f97e83 |
|
BLAKE2b-256 | a8ec5f006d30359c7319abf07cf8fa714a2a028cdae1ead8bdd00a67c4ac3257 |