Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

orca_parser-0.2.6-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file orca_parser-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: orca_parser-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.14

File hashes

Hashes for orca_parser-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 69d386cda80340425e4a166806ab33bb07868859d276153c4c4c619343f054d9
MD5 5b4f83b217041a26616a238eb4624e6e
BLAKE2b-256 3ef1414e2d0d110ddafa0e7b9e94c8af01aa89d6280a4617883b8b4b5d14b8c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page