Skip to content

Add ACOM and diffraction simulation tutorials - #16

Merged
cophus merged 1 commit into
mainfrom
diffraction-acom-tutorials
Oct 19, 2026
Merged

cophus merged 1 commit into
mainfrom
diffraction-acom-tutorials

Conversation

@cophus

@cophus cophus commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Adds the first two notebooks to tutorials/diffraction/, replacing the empty placeholder.

  • acom_01_orientation_phase_strain_Ti.ipynb: orientation, phase, and strain mapping of a two-phase alpha-beta titanium alloy. The steps are Bragg disk detection, descan correction, calibration with calibrate_2d, matching and refinement of both phases with CrystalMap, phase maps, inverse pole figure maps, pole figures, and projected strain. The scanning precession electron diffraction data are from MacLaren et al., J. Microsc. 295, 131 (2024). The first run downloads the 313 MB dataset from Google Drive into data/, which .gitignore already covers.
  • acom_02_diffraction_simulation.ipynb: kinematical patterns of Si and alpha Ti with three excitation error models, then Bloch wave dynamical patterns, thickness and tilt series, CBED, LACBED, and Kossel patterns.

Both notebooks need quantem 0.1.10 or later (ACOM and bloch came in with electronmicroscopy/quantem#297). Both were executed against the v0.1.10 tag with outputs kept. Results match the original runs: pixel size 0.038418 1/Å/px, and phase fractions of 0.487 alpha and 0.507 beta.

The quantem-docs diffraction pages (disk detection, calibration, orientation mapping, diffraction simulation) link to these notebooks at their main paths.

🤖 Generated with Claude Code

acom_01: orientation, phase and strain mapping of a two-phase titanium
alloy (MacLaren et al., J. Microsc. 295, 131, 2024). The first run
downloads the 313 MB dataset from Google Drive into data/.

acom_02: kinematical and Bloch-wave dynamical diffraction of Si and Ti:
excitation error models, thickness and tilt series, CBED, LACBED and
Kossel patterns.

Both executed against quantem 0.1.10. Replaces the empty placeholder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cophus
cophus merged commit a87f430 into main Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant