Difference between revisions of "Oparse.m"
(→See also) |
(Sync syntax/arguments/outputs with current Spinach source) |
||
| Line 1: | Line 1: | ||
| + | {{DISPLAYTITLE:oparse.m}} __NOTOC__ | ||
| + | |||
A parser for ORCA calculation logs. | A parser for ORCA calculation logs. | ||
==Syntax== | ==Syntax== | ||
| − | + | props=oparse(file_name) | |
| + | |||
| + | ==Arguments== | ||
| + | |||
| + | filename - the name of the file to be parsed, a character string | ||
| + | |||
| + | ==Examples== | ||
| + | |||
| + | None at the moment. | ||
| + | |||
| + | ==Notes== | ||
| + | |||
| + | # Chemical shielding is ''not'' the same as chemical shift. | ||
| + | # This function parses ORCA logs. Use [[g2spinach.m]] to convert that information into ''Spinach'' input structures. | ||
| + | # The parser is a bit old-school. If you are proficient with regular expressoins, we would really appreciate a hand. | ||
| + | |||
| + | ==See also== | ||
| + | |||
| + | [[gparse.m]], [[g2spinach.m]] | ||
| + | |||
| + | |||
| + | ''Version 1.9, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]'' | ||
==Description== | ==Description== | ||
| + | |||
The function extracts all potentially useful information from the ORCA log. | The function extracts all potentially useful information from the ORCA log. | ||
| − | == | + | ==Returns== |
| − | |||
| − | |||
| − | |||
The following output fields are returned, ''if the corresponding information is present in the log file'': | The following output fields are returned, ''if the corresponding information is present in the log file'': | ||
| Line 32: | Line 53: | ||
props.filename - log file name, a character string | props.filename - log file name, a character string | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 14:03, 5 April 2026
A parser for ORCA calculation logs.
Syntax
props=oparse(file_name)
Arguments
filename - the name of the file to be parsed, a character string
Examples
None at the moment.
Notes
- Chemical shielding is not the same as chemical shift.
- This function parses ORCA logs. Use g2spinach.m to convert that information into Spinach input structures.
- The parser is a bit old-school. If you are proficient with regular expressoins, we would really appreciate a hand.
See also
Version 1.9, authors: Ilya Kuprov, Elizaveta Suturina
Description
The function extracts all potentially useful information from the ORCA log.
Returns
The following output fields are returned, if the corresponding information is present in the log file:
props.std_geom - standard geometry, natoms x 3 array, Angstrom
props.natoms - number of atoms, an integer
props.hfc.full.eigvals - HFC eigenvalues, natoms x 1 cell array of 3x1 vectors, Gauss
props.hfc.full.eigvecs - HFC eigenvectors, natoms x 1 cell array of 3x3 matrices
props.hfc.full.matrix - HFC tensors, natoms x 1 cell array of 3x3 matrices, Gauss
props.g_tensor.matrix - g-tensor, 3x3 matrix, Bohr magneton units
props.efg - electric field gradient tensors, a.u.^-3
props.symbols - atomic symbols, nspins x 1 cell array of character strings
props.filename - log file name, a character string