Skip to content

Add an example for GPAW-based magnetic fields (magnetism.gpaw) #11

Description

@TomaSusi

Gap: abtem/magnetism/gpaw.py (GPAWMagneticField, GPAWVectorPotential) has zero documentation coverage, while the IAM magnetism counterparts are at least used in passing.

Why it matters: Spin-dependent/magnetic TEM contrast from ab initio input is an active research area, and users with GPAW calculations have no worked example to start from.

Suggested content: An example notebook (e.g. magnetic_gpaw_quickstart.ipynb) going from a small GPAW spin-polarized calculation (or a shipped/cached one, mirroring how the charge-density tutorial handles GPAW data) to a magnetic-contrast simulation, noting the requires_gpaw dependency.


From a docs coverage audit (July 2026) comparing the abTEM public API against documentation content.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions