Getting started#

Download the tutorial repository#

Download the repository if it is not already done : here. We will start with the notebook named giwaxs_analysis_pyfai.ipynb. Open it in Jupyter, and check that you have all the right packages installed by running the first code cell. Install the missing packages.

import numpy as np
import matplotlib.pyplot as plt
from matplotlib.colors import SymLogNorm
import matplotlib.patches as patches
import pyFAI as pyFAI
from PIL import Image
import fabio
import os

import pyFAI.detectors
from pyFAI.method_registry import IntegrationMethod
from pyFAI.units import get_unit_fiber
from pyFAI.multi_geometry import MultiGeometry

print("Using pyFAI version: ", pyFAI.version)

This tutorial was done using pyFAI version 2025.3.0.