Tutorials
Welcome to the QEM tutorials! These step-by-step guides will help you learn how to use QEM for various electron microscopy analysis tasks.
- Basic Analysis Tutorial
- Learning Objectives
- Core QEM Components
- Prerequisites
- Step 1: Import Libraries and Load Data
- Step 2: Visualize the Raw Data
- Step 3: Initialize ImageFitting
- Step 4: Find Atomic Column Positions
- Step 5: Initialize Model Parameters
- Step 6: Perform the Fit
- Step 7: Analyze Results
- Step 8: Visualize Results
- Step 9: Quality Assessment
- Step 10: Save Results
- Advanced Tips
- Next Steps
- Common Issues
Getting Started
If you’re new to QEM, start with the Basic Analysis Tutorial tutorial to learn the fundamentals.
Tutorial Overview
Basic Tutorials:
Basic Analysis Tutorial - Load data, find peaks, and perform basic fitting
advanced_fitting - Advanced fitting techniques and optimization
multi_element - Analyzing multi-element samples
Advanced Topics:
strain_analysis - Strain and displacement mapping
batch_processing - Processing multiple images efficiently
Examples:
examples - Real-world case studies and example datasets
Prerequisites
Before starting the tutorials, make sure you have:
QEM installed (see Installation)
Basic knowledge of Python and NumPy
Understanding of electron microscopy concepts
Jupyter notebook environment (recommended)
Sample Data
Many tutorials use sample datasets that can be downloaded from:
Individual datasets linked in each tutorial
Jupyter Notebooks
All tutorials are available as Jupyter notebooks in the examples/
directory of the QEM repository. You can run them interactively:
git clone https://github.com/zezhong-zhang/qem.git
cd qem/examples
jupyter lab
Feedback and Questions
If you have questions about the tutorials or suggestions for improvement:
Open an issue on GitHub
Contact the developers: zhangzz@aisi.ac.cn
Check the discussion forum