GaussianLogResult#

class GaussianLogResult(log)[fuente]#

Bases: object

Result for Gaussian™ 16 log driver.

This result allows access to selected data from the log file that is not available via the use Gaussian 16 interfacing code when using the MatrixElement file. Since this parses the text output it is subject to the format of the log file.

Parámetros:

log (Union[str, list[str]]) – The log contents conforming to Gaussian™ 16 format either as a single string containing new line characters, or as a list of strings. If the single string has no new line characters it is treated a file name and the file contents will be read (a valid log file would be multiple lines).

Muestra:

ValueError – Invalid Input

Attributes

a_to_h_numbering#

A to H numbering mapping.

Devuelve:

Dictionary mapping string A numbering such as “1”, “3a” etc from forces modes to H integer numbering

cubic_force_constants#

Cubic force constants. (3 indices, 3 values)

Devuelve:

A list of tuples each with 3 index values and 3 constant values. An empty list is returned if no such data is present in the log.

log#

The complete Gaussian log in the form of a list of strings.

quadratic_force_constants#

Quadratic force constants. (2 indices, 3 values)

Devuelve:

A list of tuples each with 2 index values and 3 constant values. An empty list is returned if no such data is present in the log.

quartic_force_constants#

Quartic force constants. (4 indices, 3 values)

Devuelve:

A list of tuples each with 4 index values and 3 constant values. An empty list is returned if no such data is present in the log.

Methods

get_watson_hamiltonian(*, normalize=True)[fuente]#

Extracts a Watson Hamiltonian from the Gaussian log.

Parámetros:

normalize (bool) – whether or not to normalize the force constants.

Devuelve:

The constructed WatsonHamiltonian.

Tipo del valor devuelto:

WatsonHamiltonian