castep_outputs.utilities.datatypes#
Types produced by castep_outputs.
Module Attributes
Parser protocol |
|
CASTEP atom keys. |
|
Standard 3D vector. |
|
Complex 3D vector. |
|
Voigt notation vector. |
|
Three by three matrix. |
|
Atom properties linking unique atom to a physical property. |
|
Full bond information for all pairs. |
Classes
Band structure table information. |
|
Single-bond information from final bonding report. |
|
Information from cell block data. |
|
Character table from group theory analysis of eigenvectors. |
|
Constraints block information. |
|
Information about delocalised internal coordinates. |
|
Table of delocalised internal coordinates. |
|
Molecular dipole status. |
|
Elastic properties as measured from elastic calculation. |
|
Final configuration following optimisation. |
|
Mid-run geom opt status table. |
|
Element of mid-run geom opt status. |
|
Atom info from header. |
|
Initial spins as read from cell file. |
|
Internal constraints information. |
|
Single \(k\)-point definition. |
|
\(k\)-points list specification. |
|
\(k\)-point grid specification. |
|
Per-step MD information block. |
|
Memory estimate. |
|
Mulliken population analysis report. |
|
SCF Band occupancies report. |
|
Debugging information from pseudopotential information. |
|
Reference electronic structure detail. |
|
PS pot energy minimisation summary. |
|
Pseudopotential projector information. |
|
PS pot report from table summary. |
|
Information about pseudopotential string. |
|
Information from the PS pot table summary. |
|
Symmetry analysis report for phonon calculations. |
|
Phonon Q-Point data. |
|
Raman susceptibility report. |
|
Contributions making up total SCF state. |
|
SCF full verbosity output summary. |
|
Full SCF report summary. |
|
SCF step component. |
|
Standard header from CASTEP outputs. |
|
Symmetry block information. |
|
Symmetry operation definition. |
|
Time-dependent DFT information. |
|
Thermodynamic properties. |
|
Wavefunction minimisation report. |
- castep_outputs.utilities.datatypes.AtomIndex#
CASTEP atom keys.
- castep_outputs.utilities.datatypes.AtomPropBlock#
Atom properties linking unique atom to a physical property.
- class castep_outputs.utilities.datatypes.BandStructure[source]#
Bases:
TypedDict
Band structure table information.
- castep_outputs.utilities.datatypes.BondData#
Full bond information for all pairs.
- class castep_outputs.utilities.datatypes.BondInfo[source]#
Bases:
TypedDict
Single-bond information from final bonding report.
- class castep_outputs.utilities.datatypes.CellInfo[source]#
Bases:
TypedDict
Information from cell block data.
- cell_angles: ThreeVector#
Cell lattice angles in Degrees.
- density_amu: float#
Density of cell in atomic mass units / Ang^3.
- density_g: float#
Density of cell in grams / Ang^3
- lattice_parameters: ThreeVector#
Cell side lengths in Ang.
- real_lattice: ThreeByThreeMatrix#
Lattice parameters as 3x3 matrix.
- recip_lattice: ThreeByThreeMatrix#
Reciprocal space lattice as 3x3 matrix.
- volume: float#
Total volume of cell in Ang^3
- class castep_outputs.utilities.datatypes.CharTable[source]#
Bases:
TypedDict
Character table from group theory analysis of eigenvectors.
- castep_outputs.utilities.datatypes.ComplexThreeVector#
Complex 3D vector.
- class castep_outputs.utilities.datatypes.ConstraintsReport[source]#
Bases:
TypedDict
Constraints block information.
-
cell_constraints:
tuple
[int
,int
,int
,int
,int
,int
]# Constraints on a,b,c,:math:alpha,:math:beta,:math:gamma.
0 implies fixed, matching indices are tied.
-
cell_constraints:
- class castep_outputs.utilities.datatypes.DelocActiveSpace[source]#
Bases:
TypedDict
Information about delocalised internal coordinates.
- class castep_outputs.utilities.datatypes.DelocInternalsTable[source]#
Bases:
TypedDict
Table of delocalised internal coordinates.
- class castep_outputs.utilities.datatypes.DipoleTable[source]#
Bases:
TypedDict
Molecular dipole status.
- centre_electronic: ThreeVector#
Weighted average position of electronic charge in system in Ang.
- centre_positive: ThreeVector#
Weighted average position of positive ionic charge in system in Ang.
- dipole_direction: ThreeVector#
Direction vector of dipole.
- dipole_magnitude: float#
Magnitude of dipole moment in Debye.
- total_ionic: float#
Total charge in system in fundamental charge.
- total_valence: float#
Total valence charge in system in fundamental charge.
- class castep_outputs.utilities.datatypes.ElasticProperties[source]#
Bases:
TypedDict
Elastic properties as measured from elastic calculation.
- bulk_modulus: ThreeVector#
Bulk Modulus in GPa.
- longitudinal_waves: float#
Average longitudinal speed of sound in Ang/ps.
- poisson_ratios: SixVector#
Poisson Ratios.
- shear_modulus: ThreeVector#
Shear Modulus in GPa.
- speed_of_sound: ThreeByThreeMatrix#
Speed of sound in Ang/ps.
- transverse_waves: float#
Average transverse speed of sound in Ang/ps.
- young_s_modulus: ThreeVector#
Young’s Modulus in GPa.
- class castep_outputs.utilities.datatypes.FinalConfig[source]#
Bases:
TypedDict
Final configuration following optimisation.
- atoms: AtomPropBlock#
Positions of atoms in cell in Ang.
- cell: CellInfo#
Cell info block denoting final state.
- final_bulk_modulus: float#
Estimated bulk modulus in GPa.
- final_enthalpy: float#
Estimated enthalpy in eV.
- class castep_outputs.utilities.datatypes.GeomTable[source]#
Bases:
TypedDict
Mid-run geom opt status table.
-
de_ion:
GeomTableElem
# Energy/ion in eV.
-
dr_max:
GeomTableElem
# Maximum ion step between optimisation steps in Ang.
-
f_max:
GeomTableElem
# Maximum force in system in eV/Ang.
-
smax:
GeomTableElem
# Strain on system in GPa.
-
de_ion:
- class castep_outputs.utilities.datatypes.GeomTableElem[source]#
Bases:
TypedDict
Element of mid-run geom opt status.
- class castep_outputs.utilities.datatypes.HeaderAtomInfo[source]#
Bases:
TypedDict
Atom info from header.
- class castep_outputs.utilities.datatypes.InitialSpin[source]#
Bases:
TypedDict
Initial spins as read from cell file.
- class castep_outputs.utilities.datatypes.InternalConstraints[source]#
Bases:
TypedDict
Internal constraints information.
- class castep_outputs.utilities.datatypes.KPoint[source]#
Bases:
TypedDict
Single \(k\)-point definition.
- qpt: ThreeVector#
\(k\)-point position.
- weight: float#
\(k\)-point weighting.
- class castep_outputs.utilities.datatypes.KPointsList[source]#
Bases:
TypedDict
\(k\)-points list specification.
- class castep_outputs.utilities.datatypes.KPointsSpec[source]#
Bases:
TypedDict
\(k\)-point grid specification.
- kpoint_mp_grid: tuple[int, int, int]#
Monkhurst-Pack Grid.
- kpoint_mp_offset: ThreeVector#
Monkhurst-Pack offset in 1/Ang.
- num_kpoints: int#
Number of \(k\)-points.
- class castep_outputs.utilities.datatypes.MDInfo[source]#
Bases:
TypedDict
Per-step MD information block.
- class castep_outputs.utilities.datatypes.MullikenInfo[source]#
Bases:
TypedDict
Mulliken population analysis report.
Notes
In case of spin_sep == True, the properties: total, s, p, d and f also have spin-separated components (up and down) e.g. up_total, down_s.
- class castep_outputs.utilities.datatypes.Occupancies[source]#
Bases:
TypedDict
SCF Band occupancies report.
- class castep_outputs.utilities.datatypes.PSPotDebugInfo[source]#
Bases:
TypedDict
Debugging information from pseudopotential information.
- class castep_outputs.utilities.datatypes.PSPotElecStruct[source]#
Bases:
TypedDict
Reference electronic structure detail.
- class castep_outputs.utilities.datatypes.PSPotEnergy[source]#
Bases:
TypedDict
PS pot energy minimisation summary.
- class castep_outputs.utilities.datatypes.PSPotProj[source]#
Bases:
TypedDict
Pseudopotential projector information.
-
type:
Literal
['U'
,'UU'
,'N'
,'L'
,'G'
,'H'
,'P'
,'LG'
,'LL'
,'GG'
,'LGG'
,None
]# Pseudopotential projector handling. Type can be:
U
- a single ultrasoft projector.UU
- Two ultrasoft projectors.N
- a single norm-conserving projector.L
- use this projector as the local component.G
- an ultrasoft GIPAW Gamma projector.H
- an norm-conserving GIPAW Gamma projector.P
- Dummy: do not make a projector.LG
- Make Gammas for local channel (not done by default).
An unlabelled projector will be None
-
type:
- class castep_outputs.utilities.datatypes.PSPotReport[source]#
Bases:
TypedDict
PS pot report from table summary.
-
detail:
PSPotStrInfo
# Full breakdown of PSPot string.
-
pseudopotential_definition:
PSPotTableInfo
# Pseudopotential breakdown of projectors.
-
reference_electronic_structure:
list
[PSPotElecStruct
]# Outer electronic orbital set.
-
detail:
- class castep_outputs.utilities.datatypes.PSPotStrInfo[source]#
Bases:
TypedDict
Information about pseudopotential string.
Notes
Further info on PSPot strings:
- class castep_outputs.utilities.datatypes.PSPotTableInfo[source]#
Bases:
TypedDict
Information from the PS pot table summary.
-
scheme:
Literal
['2b'
,'es'
,'ev'
,'fh'
,'pn'
,'pv'
,'qb'
,'qc'
,'tm'
]# Pseudisation scheme.
qc
- qc tuned.tm
- Troullier-Martins pseudosation scheme.pn
- Polynomial fit.pb
- Bessel fit.es
- “extra soft” scheme.esr=val
- Extra-soft with explicit specification of r_c.nonlcc
- Do not generate of unscreen with a pseudo-core charge.schro
- Use non-relativistic schroedinger equation for AE calculation (default is scalar relativistic eqn).aug
- Explicitly turn on augmentation charges.scpsp
- Generate a self-consistent pseudopotential.
-
scheme:
- castep_outputs.utilities.datatypes.ParserFunction#
Parser protocol
- class castep_outputs.utilities.datatypes.PhononSymmetryReport[source]#
Bases:
TypedDict
Symmetry analysis report for phonon calculations.
- class castep_outputs.utilities.datatypes.QData[source]#
Bases:
TypedDict
Phonon Q-Point data.
- char_table: CharTable#
Group theory analysis at Q-point.
- frequency: tuple[float, ...]#
Frequencies
- ir_active: tuple[Literal['Y', 'N'], ...]#
IR Active.
- ir_intensity: tuple[float, ...]#
IR Intensities.
- irrep: tuple[str, ...]#
Irreducible representation.
- n: tuple[int, ...]#
IDs
- qpt: ThreeVector#
Q-Point in 1/Ang.
- raman_active: tuple[Literal['Y', 'N'], ...]#
Raman active.
- raman_intensity: tuple[float, ...]#
Raman intensities.
- class castep_outputs.utilities.datatypes.RamanReport[source]#
Bases:
TypedDict
Raman susceptibility report.
- depolarisation: float | None#
Depolarisation ratio in 0.5 A/amu.
- ii: float#
\(\sum\limits_{i} \sigma{}_{ii}^{2} -\) \(\sum\limits_{i,j} \sigma{}_{ij}\sigma{}_{ji}\)
- tensor: ThreeByThreeMatrix#
Raman susceptibility.
- trace: float#
Trace of susceptibility.
- class castep_outputs.utilities.datatypes.SCFContrib[source]#
Bases:
TypedDict
Contributions making up total SCF state.
- class castep_outputs.utilities.datatypes.SCFDebugInfo[source]#
Bases:
TypedDict
SCF full verbosity output summary.
-
contributions:
SCFContrib
# Contributions making up total state.
-
eigenvalue:
list
[SCFSection
]# SCF iterative solution.
-
contributions:
- class castep_outputs.utilities.datatypes.SCFReport[source]#
Bases:
TypedDict
Full SCF report summary.
-
debug_info:
SCFDebugInfo
# SCF Debug information at high verbosity.
-
eigenvalue:
list
[SCFSection
]# Eigenvalue breakdown of minimisation.
-
debug_info:
- castep_outputs.utilities.datatypes.SixVector#
Voigt notation vector.
- class castep_outputs.utilities.datatypes.StandardHeader[source]#
Bases:
TypedDict
Standard header from CASTEP outputs.
Includes:
phonon
phonon_dos
efield
tddft
bands
- coords: HeaderAtomInfo | dict[AtomIndex, ThreeVector]#
Atomic info.
- unit_cell: ThreeByThreeMatrix#
System box.
- class castep_outputs.utilities.datatypes.SymmetryReport[source]#
Bases:
TypedDict
Symmetry block information.
- class castep_outputs.utilities.datatypes.Symop[source]#
Bases:
TypedDict
Symmetry operation definition.
- displacement: ThreeVector#
Displacement vector for symop.
- rotation: ThreeByThreeMatrix#
Rotational transformation for symop.
List of atoms which are identical under symmetry.
- class castep_outputs.utilities.datatypes.TDDFTData[source]#
Bases:
TypedDict
Time-dependent DFT information.
- class castep_outputs.utilities.datatypes.Thermodynamics[source]#
Bases:
TypedDict
Thermodynamic properties.
Notes
See https://www.tcm.phy.cam.ac.uk/castep/documentation/WebHelp/content/modules/castep/thcastepthermo.htm for more info.
- castep_outputs.utilities.datatypes.ThreeByThreeMatrix#
Three by three matrix.
- castep_outputs.utilities.datatypes.ThreeVector#
Standard 3D vector.