Difference between revisions of "Oparse.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Polish opening prose above Syntax section)
(Update function See also links and function index membership)
 
Line 40: Line 40:
  
 
==See also==
 
==See also==
[[gparse.m]], [[g2spinach.m]]
+
[[gparse.m]], [[g2spinach.m]], [[c2spinach.m]], [[cyprinol.m]], [[fatty_acid.m]], [[gissmo2spinach.m]], [[karplus_fit.m]], [[killcross.m]], [[killdiag.m]], [[merge_inp.m]], [[methyl_group.m]], [[nuclacid.m]], [[ocparse.m]], [[parsexml.m]], [[protein.m]], [[read_bmrb.m]], [[read_pdb_nuc.m]], [[read_pdb_pro.m]], [[v2spinach.m]], [[weblab2nqi.m]], [[x2spinach.m]], [[Import,_export,_and_visualisation]]
  
 
''Version 1.9, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''
 
''Version 1.9, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''

Latest revision as of 19:39, 6 June 2026

Parser for ORCA calculation logs that extracts all potentially useful information from an ORCA log.

Syntax

    props=oparse(filename)

Parameters

    filename - the name of the file to be parsed, a character string

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

Examples

None at the moment.

Notes

  1. Chemical shielding is not the same as chemical shift.
  2. This function parses ORCA logs. Use g2spinach.m to convert that information into Spinach input structures.
  3. 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, c2spinach.m, cyprinol.m, fatty_acid.m, gissmo2spinach.m, karplus_fit.m, killcross.m, killdiag.m, merge_inp.m, methyl_group.m, nuclacid.m, ocparse.m, parsexml.m, protein.m, read_bmrb.m, read_pdb_nuc.m, read_pdb_pro.m, v2spinach.m, weblab2nqi.m, x2spinach.m, Import,_export,_and_visualisation

Version 1.9, authors: Ilya Kuprov, Elizaveta Suturina