Ocparse.m

From Spinach Documentation Wiki
Revision as of 12:05, 1 January 2017 by Admin (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)

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