Five Reproducible Examples
Single spectrum, family, transmission, fluorescence and a ratio with one missing sample.
Example files
The five files were generated with deterministic formulas for this guide. Use a test Session. For each file, use Acquisition → Instruments / Spectroscopy → XAS spectra import with the specified settings. After acquiring the Dataset, use Viewers → Spectroscopy & Signals → XAS Spectra. Choose its ID from XAS source Dataset and press Open persistent XAS graph. The editor shows the variant ID to select in Plots. See the walkthrough for the viewer for each window.
1. Read a single processed spectrum
- Download singolo.csv and extract it from the ZIP.
- Set
processed_single,commaandpresent. Keep Header row at 1 and the initial skipped rows at 0. Use energy column 1 ineVand μ(E) column 2. - Acquire as
xas_singolowith contractspectrum.scientific. The Dataset contains 251 pairs. At 7112 eV the value is approximately 0.85358. - In the viewer, choose
xas_singoloand press Open persistent XAS graph. In Plots, check that the horizontal axis is Energy [eV].

2. Plot a family of four spectra
- Download famiglia.dat and extract it from the ZIP.
- Set
processed_family,whitespaceandabsent, with energy column 1 inkeV. Keep 2 as the first spectral column and 0 as the last. - Acquire
xas_famigliawith contractspectrum.family. Each member has 251 points. The family coordinate runs from 1 to 4 and represents column order. - In the viewer, choose
xas_famigliaand press Open persistent XAS graph. One XAS spectral family row in the Series editor produces four curves, each labeled separately in the legend.

3. Calculate μ(E) from incident and transmitted intensities
- Download trasmissione.tsv and extract it from the ZIP. The first line is a comment and the second is the tab-separated header.
- Set
raw_transmission,tab,present, Header row 1 and Physical rows before header/data 1. Use energy column 1 in eV, numerator2for I0 and denominator3for It. - Acquire
xas_trasmissione. From XAS source Dataset, open it with Open persistent XAS graph. At 7112 eV,ln(I0/It)is approximately 0.85358. Compare with example 1 to verify that the logarithm recovers the original synthetic value.

4. Sum three fluorescence channels
- Download fluorescenza.csv and extract it from the ZIP. The CSV uses semicolons.
- Set
raw_fluorescence,semicolonandpresent. Use energy column 1 in eV, numerator3;4;5and denominator2. - Acquire
xas_fluorescenza, select it in XAS Spectra and open the plot with Open persistent XAS graph. At 7112 eV, the sum of the three signals divided by I0 is approximately 0.138883.

5. Handle a zero denominator
- Download rapporto.dat and extract it from the ZIP.
- Set
raw_ratio,whitespaceandabsent, with energy column 1 in eV. Enter2;3as the numerator and4as the denominator. - Acquire as
xas_rapportowithomit_samples. The row at 7120 eV has a zero denominator, leaving 250 samples in the Dataset. - Open
xas_rapportofrom the viewer. The line plot connects the points on either side of the missing sample. Check the table to identify it. - To see the acquisition fail, return to Acquisition and repeat with a different ID and
error.
