8.1. Column output files

After doing a lot of analysis, you will eventually need to make beautiful pictures for publication. As a glance at any of the screenshots in this document will attest, the graphical output of ATHENA is adequate but far from beautiful. Fortunately, ATHENA can export your data in a variety of ways and in a format that can be imported easily into almost any other program, such as a spreadsheet or a graphics package such as Origin or Kaleidegraph.

The current data set – the one marked in red in the group list and the one whose parameters are displayed in the main window – can be saved in a number of ways. The various choices are listed under the File menu, as seen in the figure below. Note that χ(k) data can be saved with various k-weightings using the entries in the submenu.

../_images/export_single.png

Fig. 8.1 Exporting a column data file for a group.

The columns in the μ(E) output file are:

  1. energy
  2. μ(E)
  3. background
  4. pre-edge line
  5. post-edge line
  6. derivative of μ(E)
  7. second derivative of μ(E)
  8. I0

If the data group is marked as being XANES data, then the background column will be all zeros.

The columns in the norm(E) output file are:

  1. energy
  2. normalized μ(E)
  3. normalized background
  4. flattened μ(E)
  5. flattened background
  6. derivative of normalized μ(E)
  7. second derivative of normalized μ(E)

If the data group is marked as being XANES data, then the normalized and flattened background columns will be all zeros.

The columns in the χ(k) output files are:

  1. k
  2. unweighted χ(k)
  3. k-weighted χ(k)
  4. k-squared-weighted χ(k)
  5. k-cubed-weighted χ(k)
  6. Fourier transform window
  7. Energy in absolute units

The χ(R) output file contains both parts of the complex Fourier transform, as well as the magnitude and phase. That is, of course, redundant, but it's also convenient. The columns are:

  1. R
  2. real part of χ(R)
  3. imaginary part of χ(R)
  4. magnitude of χ(R)
  5. phase of χ(R)
  6. back transform window

For the sake of clarity, we use the letter “q” to represent Fourier filtered wavenumber. The χ(q) output file also contains both parts of the complex back transform, as well as the magnitude and phase.

  1. q
  2. real part of χ(q)
  3. imaginary part of χ(q)
  4. magnitude of χ(q)
  5. phase of χ(q)
  6. Fourier transform window
  7. χ(k) with the k-weighting used in the FT

In certain situations, it is much more convenient to write column data files containing data from many groups. This is done with the help of the mark buttons. The data from each of the marked groups can be saved in a variety of forms using the Save marked groups submenu, as shown below.

../_images/export_marked.png

Fig. 8.2 Exporting column data files for the set of marked groups.

The output file will contain the x-axis value (i.e. energy, k, R, or q) in the first column. The remaining columns will contain each of the marked data groups, in the order they appear in the group list.

The final column output option is to export each of the marked groups as a single data column file of the sort described above. When you select one of the output file types shown below you are prompted to select a directory. Each marked group will be exported to a file in that directory with a file name formed from the group label.

../_images/export_each.png

Fig. 8.3 Exporting column data files for each of the marked groups.

The standard folder selection dialog is used for exporting each marked group. Select a folder and each file will be recorded there.

The output files discussed on this page have a header of the form shown below. The first line identifies the version of ATHENA used to write the file.

# XDI/1.0 Athena/0.9.24
# Element.edge:                  K
# Element.symbol:                Fe
# Column.1:                      energy eV
# Column.2:                      xmu
# Column.3:                      bkg
# Column.4:                      pre_edge
# Column.5:                      post_edge
# Column.6:                      der
# Column.7:                      sec
# Column.8:                      i0
# Athena.e0:                     7105.50673
# Athena.eshift:                 0
# Athena.rbkg:                   1.0
# Athena.importance:             1
# Athena.standard:               None
# Athena.bkg_kweight:            2
# Athena.edge_step:              2.8319775
# Athena.fixed_step:             no
# Athena.pre_edge_range:         -150.000 -30.000
# Athena.pre_edge_line:          3.299290 - 0.000471541 * E
# Athena.normalization_range:    150.000 1757.437
# Athena.post_edge_polynomial:   33.632797 - 0.00697211 * E + 3.70151752e-07 * E^2 + 0 * E^3
# Athena.spline_range_energy:    0.000 1857.468
# Athena.clamps:                 0 24
# Athena.spline_range_k:         0.000 22.080
# Athena.kweight:                2
# Athena.window:                 hanning
# Athena.phase_correction:       no
# Athena.k_range:                3.000 20.080
# Athena.dk:                     1
# Athena.r_range:                1 3
# Athena.dr:                     0.0
# Athena.window:                 hanning
# Athena.plot_multiplier:        1
# Athena.y_offset:               0
# ///
#------------------------
#   e         xmu        bkg        pre_edge        post_edge        der        sec        i0



DEMETER is copyright © 2009-2016 Bruce Ravel – This document is copyright © 2016 Bruce Ravel

This document is licensed under The Creative Commons Attribution-ShareAlike License.

If DEMETER and this document are useful to you, please consider supporting The Creative Commons.