httk.atomistic.models.moments.collinear¶
Collinear per-site magnetic-moment backend.
Classes¶
Signed per-site scalar moments with no assigned Cartesian axis. |
Module Contents¶
- class httk.atomistic.models.moments.collinear.CollinearSiteMoments(moments, precision=None)¶
Bases:
httk.atomistic.models.moments.backend.SiteMomentsBackendSigned per-site scalar moments with no assigned Cartesian axis.
- kind = 'collinear'¶
- property collinear_moments: httk.core.FracVector¶
The exact signed scalar moment for each site.
- property cartesian_moments: httk.core.SurdVector¶
- 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.