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)¶
Bases:
httk.atomistic.models.moments.backend.SiteMomentsBackendMoments along the unit lattice axes
â,b̂,ĉ, in Bohr magnetons.- kind = 'crystalaxis'¶
- property crystalaxis_moments: httk.core.SurdVector¶
The exact Nx3 moments along the cell’s unit lattice axes.
- property cell: httk.atomistic.models.cell.cell.Cell¶
The cell defining the crystal-axis frame.
- property cartesian_moments: httk.core.SurdVector¶
The exact Cartesian moments, using rows
moments * U.
- property precision: fractions.Fraction | None¶
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.