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 os
from pathlib import Path

import fabio
import matplotlib.patches as patches
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.colors import LogNorm, SymLogNorm
from PIL import Image
from scipy.interpolate import RegularGridInterpolator
from scipy.ndimage import binary_dilation

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

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

This tutorial was done using pyFAI version 2026.9.0.