httk.atomistic.models.moments.crystalaxis¶
Crystal-axis per-site magnetic-moment backend and exact frame conversions.
Classes¶
Moments along the unit lattice axes |
Module Contents¶
- class httk.atomistic.models.moments.crystalaxis.CrystalAxisSiteMoments(moments, cell, precision=None)[source]¶
Bases:
httk.atomistic.models.moments.backend.SiteMomentsBackendMoments along the unit lattice axes
â,b̂,ĉ, in Bohr magnetons.- property crystalaxis_moments: httk.core.SurdVector[source]¶
The exact Nx3 moments along the cell’s unit lattice axes.
- property cell: httk.atomistic.models.cell.cell.Cell[source]¶
The cell defining the crystal-axis frame.
- property cartesian_moments: httk.core.SurdVector[source]¶
The exact Cartesian moments, using rows
moments * U.
- property precision: fractions.Fraction | None[source]¶
How precisely the moments were stated, in Bohr magnetons, or
None.Concrete rather than abstract, so a backend with no source of precision inherits
Noneinstead of breaking.