Pupa Gilbert (née Gelsomina De Stasio)
Research Group

GG Macros

The Gilbert Group Macros (GG Macros) were developed by Benjamin Gilbert (bgilbert@lbl.gov) with extensive interaction and feedback from Pupa Gilbert. The GG Macros run on Mac and PC, are ready-to-use, free of charge, and are recommended to analyze synchrotron spectromicroscopy data, that is, images stacked as a function of photon energy.

1. Download Igor Pro 6.1 from http://www.wavemetrics.com/
2. Download both the GG Macros Manual 7 and GG Macros 7.
3. Follow the instructions in the manual to place the macros in the correct folders on your computer.
4. Contact Pupa Gilbert at pupa@physics.wisc.edu if you have any questions.


In a nutshell, the GG macros enable you to:

Extract spectra from mouse-drawn ROIs

Extract spectra from a single pixel

Extract spectra from pixels along a line

Peak fitting of extracted spectra

Display the spatial distribution of individual components with known spectra

The individual components and their relative concentrations can then be combined (in Adobe Photoshop ® ) in separate channels and displayed at once.