Difference between revisions of "Ocparse.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 
ORCA cube file parser. Extracts the normalised probability density and the associated metric information from ORCA spin density in "3D simple format" (see ORCA manual). Syntax:
 
ORCA cube file parser. Extracts the normalised probability density and the associated metric information from ORCA spin density in "3D simple format" (see ORCA manual). Syntax:
  
     [density,ext,dx,dy,dz]=ocparse(filename)
+
 
 +
     [density,ext,dx,dy,dz]=ocparse(filename,pad_factor)
  
 
Outputs:
 
Outputs:

Revision as of 15:03, 5 April 2026

ORCA cube file parser. Extracts the normalised probability density and the associated metric information from ORCA spin density in "3D simple format" (see ORCA manual). Syntax:


    [density,ext,dx,dy,dz]=ocparse(filename,pad_factor)

Outputs:

    density  - probability density cube with dimensions
               ordered as [X Y Z]

    ext      - grid extents in Angstrom, ordered as
               [xmin xmax ymin ymax zmin zmax]

    dx,dy,dz - grid steps in the three directions, Angstrom


Version 1.9, authors Elizaveta Suturina, Ilya Kuprov