Data analysis

The following tools are typically used to analyze MAXPEEM measurement data:

Igor Pro (athina package)

athina provides a comprehensive package for PEEM/LEEM/PES/ARPES/XMC(L)D-PEEM/STM data analysis.

Check athina’s documentation hosted at MAXIV’s intranet or publicly at gitlab. There you can find instructions on how to install athina and how to use it to process your data.

Note

You can use Igor Pro for during you beamtime and still be able to access your analysis at home even if you do not have an Igor Pro license. Save your analysis as HDF5 packed experiment file (.h5xp, which is the default option at MAXPEEM) and you will be able to access your files using any HDF5 program (Silx for example). We can also provide a python script to extract all images, image stacks, plots, and notes from the Igor Pro file.

Tip

Access to the source code outside MAXIV at gitlab.

ImageJ

Background image substraction with ImageJ

  1. Import both images

  2. Select Process > Image Calculator

  3. Choose the original image as Image1, the background as Image2, and select Subtract.

Drift correction with ImageJ

  1. Import sequence: File – Import – Image sequence

  2. Check spectra: Image – Stack – Plot z-axis profile

  3. Adjust image: Image – Adjust – Brightness/Contrast

  4. Drift correction: select a rectangle area – Plugins – Template Matching – Align slices in stack – search area 20 (100) pixels for small (large) drift

Plugins: https://sites.imagej.net/Template_Matching/plugins/

Plotting LEED with ImageJ

  1. Import data:File – Import – Raw

  2. Calculate the Offset to first image = file size in byte - 2*2048*2048

  • The size of file can be found in the Property of data file.

_images/LEED_ImageJ.png



Calculate XMCD with ImageJ

  1. Import sequence from folder(two files): circular left and circular right, e.g. named as CL, CR.

  2. Drift correction.

  3. File-Open-calculateAS.ijm (file locates at c disk - Fiji - micro) and run on the drift-corrected images. The created image represents CL/CR.

  • If user has clicked on other image, remember to click on the XMCD image before running the code.

Python with Jupyterhub

Guide’s coming soon.