Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


NIST Standard Reference Database 100, Apuntes de Física

NIST Database for the Simulation of Electron Spectra for Surface Analysis (SESSA)

Tipo: Apuntes

2019/2020

Subido el 18/09/2020

antony-francesco-chura-guzman
antony-francesco-chura-guzman 🇧🇴

2 documentos

1 / 75

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
NIST Standard Reference Database 100
______________________________________________________________________
NIST Database for the Simulation of Electron Spectra for Surface
Analysis (SESSA)
Version 1.3
Users' Guide
______________________________________________________________________
Prepared by:
Wolfgang S. M. Werner and Werner Smekal
Institut für Angewandte Physik, Vienna University of Technology,
Wiedner Hauptstrasse 8-10, A-1040 Vienna, Austria
and
Cedric J. Powell
Surface and Microanalysis Science Division
National Institute of Standards and Technology
Gaithersburg, Maryland 20899
May, 2011
U.S. Department of Commerce
National Institute of Standards and Technology
Measurement Services Division
Gaithersburg, Maryland 20899
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b

Vista previa parcial del texto

¡Descarga NIST Standard Reference Database 100 y más Apuntes en PDF de Física solo en Docsity!

NIST Standard Reference Database 100

______________________________________________________________________

NIST Database for the Simulation of Electron Spectra for Surface

Analysis (SESSA)

Version 1.

Users' Guide

______________________________________________________________________

Prepared by:

Wolfgang S. M. Werner and Werner Smekal

Institut für Angewandte Physik, Vienna University of Technology,

Wiedner Hauptstrasse 8-10, A-1040 Vienna, Austria

and

Cedric J. Powell

Surface and Microanalysis Science Division

National Institute of Standards and Technology

Gaithersburg, Maryland 20899

May, 2011

U.S. Department of Commerce

National Institute of Standards and Technology

Measurement Services Division

Gaithersburg, Maryland 20899

The National Institute of Standards and Technology (NIST) uses its best efforts to

deliver a high quality copy of the database and to verify that the data contained therein

have been selected on the basis of sound scientific judgment. However, NIST makes no

warranties to that effect, and NIST shall not be liable for any damage that may result

from errors or omissions in the database.

__________________

For a literature citation, the database should be viewed as a book published by NIST.

The citation would therefore be:

W.S.M. Werner, W. Smekal, and C. J. Powell, NIST Database for the Simulation of

Electron Spectra for Surface Analysis, Version 1.3, National Institute of Standards and

Technology, Gaithersburg, Maryland (2011).

__________________

Version 1.0 of this database was released in December, 2005. Version 1.1 was

released in December, 2006 with an enhancement to the Model Calculation screen that

permits the user to display and save the zero-order partial intensities. Previously, a user

had to go to another screen to perform these operations. Version 1.2 was released in

March, 2010 with the following enhancements: an additional and more intuitive format

for specifying the composition of a material; a new capability to perform simulations with

polarized photons; the ability to save plots in additional file formats; the addition of a

chemical-shift database for selected peaks; improvements in the peak-management

software; and incorporation of a faster random number generator. In addition, an

internet SESSA forum has been established for user questions and a new SESSA bug-

tracking web page has been established. Version 1.3 was released in May, 2011 with a

new database of non-dipole photoionization cross sections that are necessary in

simulations of X-ray photoelectron intensities with X-ray energies higher than a few keV.

In addition, a description in Section 8 is given of how SESSA can be called and

controlled from an external application.

__________________

Certain trade names and other commercial designations are used in this work for the

purpose of clarity. In no case does such identification imply endorsement by the

National Institute of Standards and Technology nor does it imply that the products or

services so identified are necessarily the best available for the purpose.

Microsoft, Windows® 95, Windows® 98, Windows® 2000, Windows® NT, Windows®

XP, and Windows® Vista are registered trademarks of the Microsoft Corporation.

MacIntosh and OS X are trademarks of the Apple Corporation. Linux is a trademark of

Linus Torvalds.

ii

  • 1 INTRODUCTION...........................................................................................................................
  • 2 GETTING STARTED
    • 2.1 Packet Content
    • 2.2 System Requirements
    • 2.3 Installation..............................................................................................................................
  • 3 SPECIAL FEATURES OF SESSA...............................................................................................
    • 3.1 The graphical user interface (GUI)
    • 3.2 The command line interface (CLI)
    • 3.3 Representation of Data in SESSA
    • 3.4 Output produced by SESSA
  • 4 RUNNING SESSA
    • 4.1 The PROJECT Menu...........................................................................................................
    • 4.1.1 Synopsis of CLI Commands
    • 4.2 The PLOT Menu
      • 4.2.1 Synopsis of CLI Commands.........................................................................................
    • 4.3 The PREFERENCES Menu.................................................................................................
      • 4.3.1 Synopsis of CLI Commands.........................................................................................
    • 4.4 The SAMPLE Menu
      • 4.4.1 The SAMPLE LAYER Menu.........................................................................................
      • 4.4.2 Synopsis of CLI Commands.........................................................................................
      • 4.4.3 The SAMPLE PARAMETERS Menu............................................................................
      • 4.4.4 Synopsis of CLI Commands.........................................................................................
      • 4.4.5 The SAMPLE PEAK Menu
      • 4.4.6 Synopsis of CLI Commands.........................................................................................
    • 4.5 The SOURCE Menu
      • 4.5.1 Synopsis of CLI Commands.........................................................................................
    • 4.6 The SPECTROMETER Menu..............................................................................................
      • 4.6.1 Synopsis of CLI Commands.........................................................................................
    • 4.7 The GEOMETRY Menu
      • 4.7.1 Synopsis of CLI Commands.........................................................................................
    • 4.8 The DATABASE Menu
      • 4.8.1 Synopsis of CLI Commands.........................................................................................
    • 4.9 The SIMULATION Menu......................................................................................................
      • 4.9.1 Synopsis of CLI Commands.........................................................................................
  • 5 RETRIEVAL STRATEGY AND SIMULATION MODEL.............................................................
    • 5.1 Retrieval strategy of the expert system
    • 5.2 Algorithm for spectrum simulation
      • 5.2.1 The electron spectrum in AES/XPS
      • 5.2.2 Multiple inelastic scattering: the partial energy distributions
      • 5.2.3 Multiple elastic scattering: the partial intensities
    • 5.3 Current limitations of databases and simulation..................................................................
  • 6 PHYSICAL DATA IN SESSA
    • 6.1 Databases used in SESSA
  • 7 TUTORIALS................................................................................................................................
    • 7.1 Peak Intensities
      • Chandrasekhar's H -function 7.1.1 Angular distribution of photoelectrons emitted from a homogeneous Au sample:
      • 7.1.2 Angle-resolved XPS for a homogeneous Al sample iv
      • 7.1.3 Angle-resolved XPS for an oxidized silicon wafer with a carbon contamination layer.
      • 7.1.4 Depth distribution function (DDF) in XPS: comparison with experiment......................
      • 7.1.5 Surface morphology: influence of surface roughness..................................................
    • 7.2 Spectral Shape
      • thickness and emission angle 7.2.1 Au overlayers on a Pb substrate: Spectral shape as a function of overlayer
      • 7.2.2 Need for empirical data to realistically describe spectral shapes
      • 7.2.3 Transfer of spectral data between different spectrometers..........................................
      • 7.2.4 Handbook of simulated XPS spectra
    • 7.3 Techniques other than conventional AES/XPS
      • 7.3.1 Total Reflection XPS (TRXPS).....................................................................................
      • 7.3.2 Ion-induced Auger-electron emission...........................................................................
  • 8 CALLING SESSA FROM AN EXTERNAL APPLICATION
    • 8.1 The Program SESSA_LINUX.c
    • 8.2 The Program SESSA_WINDOWS.c....................................................................................
  • 9 GETTING HELP, TESTING AND DEBUGGING........................................................................
    • 8.1 Getting Help.........................................................................................................................
    • 8.2 General Information
    • 8.3 Testing and Debugging........................................................................................................
  • 10 CONTACTS
  • Bibliography

1 INTRODUCTION

The objective of this database is to facilitate quantitative interpretation of Auger-electron and X-ray photoelectron spectra (AES/XPS) for surface analysis and to improve the accuracy of quantification in routine analysis. For this purpose, the database contains physical data required to perform quantitative interpretation of an electron spectrum for a specimen with a given composition. Retrieval of relevant data is performed by a small expert system that queries the comprehensive databases. A simulation module [1, 16] is also available within SESSA that provides an estimate of peak intensities as well as the energy and angular distribution of the emitted electron flux (see Section 4.9). The information needed by the expert system to accomplish its task closely matches instrument settings made by an experimenter when actually performing a measurement and is complemented by an initial estimate of the sample composition.

SESSA can be used for two main applications. First, data are provided for many parameters needed in quantitative AES and XPS (differential inverse inelastic mean free paths, total inelastic mean free paths, differential elastic- scattering cross sections, total elastic-scattering cross sections, transport cross sections, photoionization cross sections, photoionization asymmetry parameters, electron-impact ionization cross sections, photoelectron lineshapes, Auger-electron lineshapes, fluorescence yields, and Auger-electron backscattering factors). Second, Auger-electron and photoelectron spectra can be simulated for layered samples. The simulated spectra, for layer compositions and thicknesses specified by the user, can be compared with measured spectra. The layer compositions and thicknesses can then be adjusted to find maximum consistency between simulated and measured spectra. The design of the software allows the user to enter the required information in a reasonably simple way. The modular structure of the user interface closely matches that of the usual control units on a real instrument. In other words, any user who is familiar with a typical electron spectrometer can perform a retrieval/simulation operation with the SESSA software in a few minutes for a specimen with a given composition.

Section 3 familiarizes the user with some special features of the software. These features include a separate window for graphical representation of a selected physical quantity that is fully controllable by the user (see Section 4.2), a popup menu showing the reference to the literature for each retrieved datum, an on-the-fly database selection popup menu and, last but not least, the fully parallel operation of the graphical user interface (GUI) and the command line interpreter (CLI).

Section 4 presents a detailed and comprehensive description of the functionality of the software. The sources for the physical data in SESSA as well as the simulation algorithm are described in Section 6, and finally, Section 7 highlights some of the key features of the software with the aid of a few tutorials that are contained in this package in the form of CLI command files.

2 GETTING STARTED

2.1 Packet Content

CD-ROM

Users' guide

2.2 System Requirements

The software has been tested to run on a personal computer with the Windows 95, Windows 98, Windows NT, Windows 2000, Windows XP, and Windows® Vista operating systems. The CD also contains MacIntosh OS X and LINUX versions of the software. These versions have been tested to run on these platforms but have not been as extensively tested as the Windows versions. They are included here as unsupported software. The authors nevertheless welcome bug-reports, suggestions and comments on this software (as described in Section 8).

The databases and software need approximately 180 MB of disk space. The minimum amount of RAM required to run the program amounts to about 15 MB. The exact amount of RAM needed depends on the type of problem under study. When a simulation is performed, the minimum required RAM increases to 30 MB. When simulations are performed for large-scale complex problems (see Section 4.9), memory usage can increase even further.

2.3 Installation

For installation on a personal computer with the Windows operating system, insert the CD-ROM into the CD-ROM drive, click on the icon titled SESSA_setup.exe and follow the instructions. For other platforms, see the installation instructions file on the CD-ROM.

Apart from the usual components of a typical GUI, SESSA also provides a graphical display of certain quantities. For example, press CTRL-3 for a graphical representation of the differential elastic cross section and differential inverse inelastic mean free path. These displays cannot be changed in any way by the user. By double clicking on any of these displays, however, an additional plot window is opened that allows full user access to the display variables by means of a right mouse click (see Section 4.2). This plot window can also be opened from within the CLI by an appropriate command.

Figure 3.2. Example of a database selection popup menu.

Two special features of SESSA are the traceability of the data and the on-the-fly selection of databases. By means of a right mouse click on a numerical value retrieved from a database, or on the corresponding graphical display, a menu pops up that offers two choices: either to activate the reference dialog or to activate the on-the-fly database selection menu (see Fig. 3.2). If the latter is selected, the user can choose between the different databases that are available for the quantity in question. Alternatively, the user can reset the choice of the database to the default database, i.e., the database that has been selected in the database defaults menu (see Section 4.8). Since not every database in SESSA is extensive, in that it contains a datum for a given quantity for any arbitrary element, energy subshell, etc., it may happen that the requested datum is not returned by the selected database. In such cases, the expert system automatically queries the other databases available for the quantity in question. In this way, at least one of the databases contains a value or a credible estimate for the requested datum. In some cases, this "backup" database will rely on a theoretical or semi-empirical expression to predict the desired quantity. In the database selection popup menu, the database selected by a user is indicated by √ while an asterisk indicates that the database was successfully queried (see Fig. 3.2).

Most quantities in SESSA that are represented by a single value can be changed by the user if desired. The database selection menu provides a quick way to retrieve any value from a database. Quantities that can only be represented by an array of values, such as the differential cross section, cannot generally be directly changed by the user.

The reference dialog is part of an implementation feature that provides full traceability of the data retrieved by SESSA: Every datum is accompanied by a reference that can be inspected at any time. In the GUI this is achieved by a right mouse click either on the numerical value of a parameter or on its graphical display window, as shown in Fig. 3.2. An example of the resulting information is given in Fig. 3.3. When fundamental physical data concerning an electron spectrum are given as outputs by the database (see Section 3.4), numbered references for all retrieved data

are written to a separate file with the ending "refs.txt", while the remarks in the lower two boxes of the reference dialog window are accordingly numbered and written to a file with the extension "rems.txt".

Figure 3.3. The reference dialog window.

3.2 The command line interface (CLI)

The CLI console can be opened by selecting the "Project/Command Line Interface" menu in the project menu or by pressing the shortcut key CTRL-9. The CLI console window is shown in Fig. 3.4. At the bottom of the CLI console, a number of buttons are seen. Clicking the "Command List" button opens a window within the CLI console that presents the structure of the commands of the CLI. Clicking on any of these commands generates a text string on the CLI corresponding to the command in question preceded by HELP. As a result, the help text corresponding to the selected command is displayed in the CLI. In Fig. 3.4 the above is illustrated for the command SAMPLE PARAMETERS SET IMFP. Any command appearing in the CLI may be edited by using the up and down arrow and the delete key etc., and can be entered by pressing return. In this way, a command generated by clicking on the command list can be used to operate the software. Thus the command list provides a most useful reference guide for the CLI syntax.

In the command line interpreter, the modularity of the software is realized by the use of different scopes, each scope allowing a user to manipulate or inspect a certain subset of the relevant data and control parameters corresponding to a window in the GUI. Table 3.2 gives a survey of the scopes presently defined in SESSA. (^1) The acronyms shown in

Table 3.2 are used frequently in SESSA, and are defined in Table 3.3.

1 In the present implementation of SESSA, there is an exception to the one-to-one correspondence between the GUI menus and the CLI scopes: the geometry, source, and spectrometer scopes have been organized as submenus of an

Table 3.2. Scopes and sub-scopes of the CLI. The acronyms are defined in Table 3.3. Further information is given in Section 6.1. 1 main 2 \ sample 3 \ \ peak 4 \ \ parameters 5 \ source 6 \ spectrometer 7 \ geometry 8 \ simulation 9 \ database 10 \ \ DIIMFP 12 \ \ IMFP 13 \ \ ECS 14 \ \ EMFP 15 \ \ TRMFP 16 \ \ PCS 17 \ \ PAP 18 \ \ EIICS 19 \ \ XPL 20 \ \ AEL 21 \ \ FY 22 \ \ ABF

Table 3.3. Acronyms for the physical quantities in the SESSA databases.

IMFP Inelastic Mean Free Path DIIMFP Differential Inverse Inelastic Mean Free Path TECS Total Elastic Cross Section TRECS Transport (Elastic) Cross Section ECS (Differential) Elastic Cross Section EMFP Elastic mean free path TRMFP Transport mean free path PAP Photoionization Asymmetry Parameter EIICS Electron Impact Ionization Cross Section ABF Auger Backscattering Factor FY Fluorescence Yield PCS Photoionization Cross Section XPL X-ray Photoelectron Lineshape AEL Auger Electron transition Lineshape

  1. directly from within any other scope: [\ DATABASE]\ sample parameters [\ SAMPLE PARAMETERS]

As an instructive example of the parallel operation of the GUI and CLI, press CTRL-5 to open the "Experiment/geometry" menu and change, say, the sample orientation azimuth (phi) to 45 degrees. Now press CTRL- 9 to open the CLI console. On the console, the command \GEOMETRY SET SAMPLE PHI 45 GEO 1 appears as it was generated by the GUI. By pressing the up, left and right arrows on the CLI console, the command can be edited and entered again, for example to set the sample azimuth to 30 degrees. Bringing the "Experiment/geometry" menu to the front again by pressing CTRL-5 gives a graphical display of the new orientation of the sample surface normal.

Scrolling through the list of commands processed by SESSA is possible by using the up and down arrow in the CLI console. Alternatively, a list of the processed CLI commands for review can be easily displayed by clicking on the "Session History" button in the CLI console. Any of the commands in this list can be processed again by double clicking on it. The session history can be cleared by pressing the corresponding button in the session history command list. This is an important feature for producing CLI command files using the "Save session" command (see below).

The great advantage of this parallel CLI/GUI interface is that a set of CLI commands can be read from or written to a text file, using the PROJECT LOAD/SAVE SESSION command or by pressing the "Load/save session" button on the CLI console. This makes it possible to process a large batch of commands. Such CLI command files can be produced in a simple way by a user without any knowledge of the CLI syntax. This can be done by a series of mouse clicks in the GUI and saving all previously entered commands by pressing the "Save session" button on the CLI console. The tutorials described in Section 7 are examples of CLI command files produced in this way. A # character at the beginning of a line in a CLI command file designates the line as a comment.

Another example of a SESSA CLI file is a file by the name of "SESSA_ini.ses" that resides in the directory where the SESSA binary code is located. This file is read whenever the software starts up and the commands contained in it are processed by the CLI. This may be advantageous for a user who commonly works on problems requiring settings that differ from the default settings in SESSA. This may concern the radiation type, the instrument settings, the sample composition, and so on.

3.3 Representation of Data in SESSA

A CLI command as well as an input field in the GUI may comprise special data types as indicated in Table 3.4. These data types are now described in turn.

  1. integer: an integer number whose range depends on the operating system (OS) of the computer.
  2. real: a real number with a range that also depends on the OS. The character e signifies exponentiation to a power of ten. For example, the expressions 0.0099, 99.0e-4 and 99e-4 are all valid expressions for the same real number.
  3. string: a string of characters. A string may contain all alphanumerical characters and special characters (%, *, etc.) in upper or lower case. If a string contains spaces, it must be enclosed in single quotes, e.g., 'Au, 1000 eV'.
  4. filename: a string of characters designating a file of the operating system with a filename valid in the operating system.
  5. DBName: a predefined string of characters designating a set of data within SESSA (see Table 3.3 and Section 4.8).
  6. material: The material specifier is a special string of characters that allows the program to recognize the elements and stoichiometry in a given material. It identifies the elements present in the sample and their chemical state, allowing the software to retrieve the relevant information.

For a user, there are two different ways to enter the material in the sample menu: one way is to enter the material specifier in the format used internally by SESSA, with a special syntax (e.g., "/SI/O2/" for silicon dioxide), as explained below. The alternative method is to enter the material in a more intuitive syntax (e.g., "SiO2" for silicon dioxide). If the material is specified in this simpler more intuitive way, SESSA will translate this into the internal syntax that will be displayed in the material field in the GUI. Since the internal syntax is more powerful than the intuitive syntax, it will be described first and then the intuitive syntax.

The internal material specifier consists either of a number of compound specifiers, or a number of constituent specifiers, or both. The constituent specifier, enclosed in forward slashes (/) consists of an element identifier (the usual abbreviation of the elemental name from the periodic table of the elements), a chemical state attribute (an arbitrary string specified by the user enclosed in square brackets ([ ]), and a real number describing the abundance of this species in a given layer of the compound or material:

< constituent specifier > = /< element identifier >[< chemical state attribute >]< abundance >/

Table 3.4: Special data types for SESSA user interaction. 1 an integer number 2 a real number 3 a string of characters 4 a string designating a file of the OS 5 a string designating a set of data within SESSA 6 a material specifier 7 a subshell specifier Here

3.4 Output produced by SESSA

Information concerning the experimental settings specified by the user, the retrieved data corresponding to these settings, and the outcome of a model calculation can be written to a number of files by selecting the "Project/Save/Output" option in the GUI or by issuing the command PROJECT SAVE OUTPUT in the CLI. As a result, a number of different files containing information in several categories are generated. For several categories, writing of the output can be (de)activated in the "Project/preferences" menu (see Section 4.3).

  1. filenames ending with: sam_lay.txt The sample structure
  2. filenames ending with sam_peak.txt, sam_par.txt Signal-electron generation and transport
  3. filenames ending with exp.txt, prefs.txt The experimental settings and preferences settings
  4. filenames ending with refs.txt, rems.txt References to works in the literature concerning the above and accompanying remarks
  5. filenames ending with .spc, .pi, .adf These files are written if a model calculation was performed and they contain the corresponding results. The output is divided into region data, corresponding to a certain energy-region setting for the spectrometer, and peak data, corresponding to a certain spectral line. The region data are written to files with names identified by the string "reg", where "" is an integer referring to the spectrometer region. The peak data are written to files identified by a peak identifier, consisting of the chemical symbol followed by the transition specifier. This is either the subshell abbreviation in case of an XPS peak (e.g., 2p3) or the Auger transition specifier (e.g., L3M23M45). The file names ending with .spc contain the energy spectra of the various peaks and regions for all selected geometries. The file names ending with .pi contain the partial intensities for each peak and all geometries. If the number of geometries is larger than one, files ending with .adf are created that contain the partial intensities for the specified peak for all specified geometrical configurations. If ncol=0 is selected in the model menu (see Section 4.9) and the number of specified geometries is larger than one, it is assumed that the angular distribution of the peak intensities (zero-order partial intensities) is of main interest. In this case, the file all.adf is created that contain the peak intensities for all peaks as a function of the specified geometrical configurations.
  6. filenames ending with _g Files that can be loaded into the program GNUPLOT (see http://www.gnuplot.info) that has proven to be convenient for further graphical post-processing of the simulation data.

An alternative quick and convenient means to produce output is to use the PLOT SHOW DATA option in the main plot window popup menu that displays the data contained in a plot in a separate read-only window (see Chapter 4.2), together with the relevant literature citation. The information in this window can be copied and pasted into another application for further processing.

4 RUNNING SESSA

This chapter describes all commands utilized by the command line interface (CLI) in some detail. Since a close correspondence exists between the CLI and the graphical user interface (GUI), no detailed description of the latter is given. In most cases, it is evident which component of the GUI provides the equivalence to a certain CLI command. In the CLI, however, it is often necessary within a command to specify which peak, which geometry, which layer, etc., one is addressing with the issued command. This situation can lead to awkward syntax such as DO SOMETHING LAYER 1 PEAK 2 REGION 3. In the GUI, the situation can be handled in a more elegant way within a submenu by means of one or more graphical selection tools. For example, there is an equivalence between the "Choose peak" and "Choose layer" selection boxes in the "Sample/parameters" menu in the GUI and the peak number and layer number in the equivalent CLI command (SAMPLE PARAMETERS PLOT ECS PEAK <PEAK #> LAYER <LAYER #>).

In the following sections concerning the CLI syntax of various scopes, < > represents a parameter of the type indicated that has to be entered by the user, while [ ] is an optional parameter that may be omitted.

The energies displayed in and accepted by both the GUI and the CLI can be specified either on a kinetic energy scale or, in the case of incoming photons, it may optionally be specified on a binding energy scale. The user can set a preference in the "Project/preferences" menu. Depending on this setting, an energy referred to in the remainder of this Section is implied to be specified either on a kinetic or a binding-energy scale.

4.1 The PROJECT Menu

The Project menu in the GUI is shown in Fig. 4.1. The CLI console, the separate plot window, and the preferences dialog can be opened from within the project menu. The plot window, the CLI console, and the preferences dialog are described below. The project menu is otherwise equivalent to the project menu in the CLI, as described in the next Section.

Figure 4.1. Graphical user interface for the PROJECT Menu.

4.1.1 Synopsis of CLI Commands

  1. PROJECT SAVE SESSION Save command history to the file . Each command typed in during your session (or generated by clicking in the GUI) is written to a text file. This file may be later executed, but it can also be edited and modified to enable processing of a batch of commands. In this way, one can generate calibration curves of various kinds, angular distributions of peak intensities, etc.
  2. PROJECT SAVE OUTPUT Save output to files beginning with the ID .
  3. PROJECT LOAD SESSION Load command history from the file .

4. PROJECT RESET

Clear all data and reset everything to the default values.

4.2 The PLOT Menu

Data can be displayed in a separate window that allows full user access to the display parameters by double clicking the window. Various quantities in SESSA can be graphically displayed. These displays cannot in any way be changed by the user. However, by double clicking on any of these windows, a separate plot window is opened providing full user access to the plot settings, as shown in Fig. 4.2 as an example. This plot window is also accessible via the "Project/Plotwindow" command in the GUI and through appropriate commands (pertaining to the quantity on display) in the CLI. A right mouse click in the plot window activates a popup menu that opens the plot settings window (see Fig. 4.2), a comprehensive menu for manipulating the settings of the display.

Alternatively, the quick axis settings menu can be activated. The latter allows a user to set the axis range, and to turn on/off an axis grid or a logarithmic scaling of the axis. Furthermore, the popup menu can be utilized to open a read- only window displaying the data contained in the plot along with the corresponding references, as indicated in Fig. 4.3.

4.2.1 Synopsis of CLI Commands

1. PLOT SET LOG X

Selects the x-axis for logarithmic scaling.

Figure 4.3. Read-only window displaying the data contained in the Plot window. The data in this window can be transferred to other software by means of copy and paste operations for further processing.

13. PLOT SET NOGRID X

Disable drawing of the grid for the x-axis.

14. PLOT SET NOGRID Y

Disable drawing of the grid for the y-axis.

15. PLOT SET LEGEND

Activate drawing of a legend in the plot.

16. PLOT SET NOLEGEND

Deactivate drawing of a legend in the plot.

  1. PLOT SET XRANGE Sets the x-axis range to . Syntax to specify the range: xlow:xhigh. Example: set xrange 1400:1500.
  1. PLOT SET YRANGE Sets the y-axis range to . Syntax to specify the range: ylow:yhigh. Example: set yrange 1400:1500.
  2. PLOT SET CURVETITLE [CURVE ] Sets the legend of the curve to , where CURVE is the number of the selected curve.
  3. PLOT SET LTYPE [CURVE ] Sets the linetype of the selected curve (0- data points; 1- solid line; 2- data points and line), where CURVE is the number of the selected curve.
  4. PLOT SET COLOR [CURVE ] Sets the color of the selected curve (integer between 0 and 35), where CURVE is the number of the selected curve.
  5. PLOT SET WIDTH [CURVE ] Sets the linewidth of the selected curve (integer between 0 and 3), where CURVE is the number of the selected curve.
  6. PLOT SET DASH [CURVE ] Sets the dash style of the selected curve (integer between 0 and 3), CURVE is the number of the selected curve.
  7. PLOT SET SYMBOL [CURVE ] Sets the symbol style of the selected curve (integer between 1 and 10), where CURVE is the number of the selected curve.
  8. PLOT SET VISIBLE CURVE Number of the selected curve.

26. PLOT SET VISIBLE ALL

Sets all curves to visible.

  1. PLOT SET INVISIBLE CURVE Number of the selected curve.
  2. PLOT SET INVISIBLE ALL Selects all curves for hiding.
  3. PLOT SET TITLE Sets the title of the plot to .
  4. PLOT SET XLABEL Sets the x-axis label of the plot to .
  5. PLOT SET YLABEL Sets the y-axis label of the plot to .
  6. PLOT SAVE DATA Save plot data of each curve to the text file .
  7. PLOT SAVE PDF [ PAGESIZE ]: Save plot as pdf to the file .
  8. PLOT SAVE PNG [ WIDTH HEIGHT ]: Save plot as png to the file .
  9. PLOT SAVE BMP [ WIDTH HEIGHT ]: Save plot as bmp to the file .
  10. PLOT SAVE JPG [ WIDTH HEIGHT ]: Save plot as JPG to the file .
  11. PLOT SAVE SVG : Save plot as svg to the file .

5. PREFERENCES SET ENERGY_SCALE KINETIC

Sets the energy scale to kinetic energy.

  1. PREFERENCES SET ENERGY_SCALE BINDING Sets the energy scale to binding energy if the excitation is with photons.
  2. PREFERENCES SET OUTPUT SAMPLE If = true, information concerning the sample composition is included in the output.
  3. PREFERENCES SET OUTPUT PARAMETERS If = true, information concerning the parameters for electron generation and transport is included in the output.
  4. PREFERENCES SET OUTPUT EXPERIMENT If = true, information concerning the experimental settings is included in the output.

10. PREFERENCES SHOW

Show the values of the parameters in the PREFERENCES menu (only available in the CLI).

4.4 The SAMPLE Menu

This menu controls the parameters specifying the structure of the sample and the physical parameters of the sample of relevance for the particular experimental conditions, as indicated in Fig. 4.5. The sample is conceived to consist of a number of non-crystalline and continuous layers each with a given composition, density and thickness. The interface between the various layers is assumed to be ideally flat, except for the vacuum-solid interface that may exhibit a certain morphology. Presently, one morphology type besides an ideally flat surface is implemented: a surface with a given roughness, specified by the relative surface area (RSA) as defined below [5]. The material in a given layer is specified by a special string describing the elemental composition (see below). All relevant parameters for a specified material are retrieved by the expert system and can be inspected and changed in the "Sample peak" menu (see Section 4.4.5) and the "Sample parameter" menu (see Section 4.4.3). A value for the density of each layer is also determined for each layer. For elemental solids, this quantity is read from a database; for most other materials, it is estimated on the basis of elemental densities of the constituents in each layer. The estimated density may be in error by more than 100 %. It is therefore recommended that the user should specify a more realistic value for the density in such cases.

4.4.1 The SAMPLE LAYER Menu

This menu (selected by the Layer tab in the Sample menu of Fig. 4.5) controls the parameters specifying the thickness, density, bandgap energy, number of valence electrons per atom or molecule, number of atoms per molecule, composition, thickness, and roughness of the surface.

4.4.2 Synopsis of CLI Commands

  1. SAMPLE ADD LAYER THICKNESS [ABOVE ] Adds a new layer above the selected layer. The material of the layer is specified by the material identifier <string

    (see Section 3.3).  THICKNESS: Specify the thickness (in Å) of the layer to be added.  ABOVE: Add the layer above the specified layer instead of above the layer that is selected in the "Choose layer" box.

  2. SAMPLE DELETE LAYER Delete the specified layer.

3. SAMPLE RESET

Reset the complete sample structure to its default (a homogeneous Si sample).

  1. SAMPLE SET ACTLAY Set the number of a given layer to which all following commands apply per default.
  2. SAMPLE SET DENSITY [LAYER ] Set the density of a given layer (in atoms/cm 3 ), where LAYER is the number of the selected layer.

Figure 4.5. Graphical user interface for the SAMPLE Menu.

  1. SAMPLE SET EGAP [LAYER ] Set the band-gap energy (in eV) of a material in a given layer, where LAYER is the number of the selected layer.
  2. SAMPLE SET NVALENCE [LAYER <int ] Set the number of valence electrons per atom or molecule of a material in a given layer, where LAYER is the number of the selected layer.
  3. SAMPLE SET NATOMS [LAYER ] Set the number of atoms per molecule of a material in a given layer, where LAYER is the number of the selected layer.
  4. SAMPLE SET MATERIAL [LAYER ] Set the material of a given layer by providing a material specifier (see Section 3.3), where LAYER is the number of the selected layer.
  5. SAMPLE SET THICKNESS [LAYER ] Set the thickness (in Å) of a given layer, where LAYER is the number of the selected layer.