A module for parse ORCA output files including hessians (.hess) files
Project description
ORCA-Parser
A python module to parse data out of ORCA output files
This module is availible at: https://pypi.org/project/orca-parser/ and can be installed via
pip install orca-parser
The module use as:
import orca_parser
Optimization = orca_parser.ORCAParse("Test-cases/Phenol/Opt.out")
print("ORCA exited normally:", Optimization.valid)
print("Job took:", Optimization.seconds(), "seconds")
print("Job input line:", Optimization.parse_input())
Optimization.parse_coords()
print("Atoms:", Optimization.atoms)
print("Final coordinates:")
print(Optimization.coords[-1])
Requirements:
ase, numpy, pandas
Orca parser contains two classes:
ORCAParse
Reads orca output streams (.out/.log/etc) Can read frequencies, atoms, coordinates, IR spectra, free energy (broken down into its components as well) Can also tell you how the job finished, if it converged etc
HessianTools
Reads orca Hessian (.hess) outputs Can parse the atoms and coordinates, normal modes, IR spectra. From this .xyz trajectories of normal modes can be written
parse_engrad
Reads orca engrad (.engrad) outputs returns the number of atoms, the energy (Ha), the atomic numbers, coordinates and forces coordinates and forces are returned as (N,3) matrices
Usage:
Example usage can be found in Usage.py, along with example ORCA output files in the "Test-cases" folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file orca_parser-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: orca_parser-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bf21f2d75fd57b5980b32d5fceddb290dad1b89f57d2d4f0e64ac8b16c46418 |
|
MD5 | f39c2ffadb0a84d00fc53c6f11ca9a77 |
|
BLAKE2b-256 | 0125b78693395057634d83691c007dee77b890c046e9f98c3590ae4c5d0c3ca5 |