SIRA calibration

Author: John Minter (jrminter at rochester dot rr dot com)

Precise calibration of electron images is greatly aided by IPLT. The following script was developed to calibrate images of the SIRA 2160 line/mm grating. The basic script was patterned after Andreas Schenk's extract subimage tutorial and the examples in the ex module. Execute the script with 'giplt analyze_sira.py' to display the main dialog.

Notice the task-bar on the right. Note that the 'Analyze Image' button is greyed out. This is because that procedure depends upon selecting an image. Press the 'Load Image' button and choose the desired image file from the dialog. The routine displays the image.

The routine displays the full image and computes the largest FFT that will fit in the image. Pressing the 'Get Spacing' dialog displays a dialog that presents a default spcaing spacing for the 2160line/mm grating and lets the user change if a different spacing was used.

Pressing the "Analyze Image" crops a region from the center of the image

and computes the power spectrum, and fits a lattice. One can normalize the display with the usual commands by drawing a region (yellow) and pressing N.

it then outputs the results to the main window and to a file with the image file name with '_ana.txt' appended

see the source code analyze_sira.py and the test image sira.tif.

Attachments