exatomic.core.field module
Atomic Field
Essentially a Field3D
used for storing cube file data
(see cube
). Cube files values are written in a
csv-like structure with the outer loop going over the x dimension, the middle
loop going over the y dimension, and the inner loop going over the z dimension.
- class exatomic.core.field.AtomicField(*args, **kwargs)[source]
Bases:
Field
Class for storing exatomic cube data (scalar field of 3D space). Note that this class follows the pattern established by the cube file format.
Note
Supports any shape “cube”.
- property nfields
- compute_dv()[source]
Compute the volume element for each field.
Volume of a parallelpiped whose dimensions are \(\mathbf{a}\), \(\mathbf{b}\), \(\mathbf{c}\) is given by:
\[v = \left|\mathbf{a}\cdot\left(\mathbf{b}\times\mathbf{c}\right)\right|\]
- integrate()[source]
Check that field values are normalized.
Computes the integral of the field values. For normalized fields (e.g orbitals), the result should be 1.
\[\int\left|\phi_{i}\right|^{2}dV \equiv 1\]