# XANES Normalization

A bunch of XANES spectra can be normalized using XAID/EXODUS.

This application calls the IDL function XANES_NORMALIZE.

## Module characteristics

- Goal: to normalize XANES spectra
- Method: Removes a liner fit from the pre-edge. Then, the normalization can be done using two methods: ii) constant normalization using the "jump" value, and ii) polynomial normalization by fitting a polynomial to the postedge.
- Input: Spectra loaded into EXODUS
- Output: Normalized spectra stored in EXODUS

## Example of Use

1. Start EXODUS from the main XAID window and load the Gezeo.* files from the Example directory, as described in XAID/EXODUS help.
2. In the EXODUS right panel, select the spectra to normalize. Select in EXODUS window: Operations->do on each set->XANES Normalization:
3. A new window appear to define the normalization parameters:
   Note that by default the Eo is calculated using the inflexion point (maximum of the derivative). The start and end values define the limits of the preedge and portedge fits, in the following way:

1. The preedge is fitted from Emin+start to Eo-end (by default Emin+5 eV to Eo-20 eV )
2. The postedge is fitted from Eo+end to Emax (by default Eo+20 eV to Emax)

4. This is a resulting plot (where spectra are shifted for clarity, using the button in the plot window and selecting a shift value 0.1: