{ "cells": [ { "cell_type": "markdown", "id": "88b65284-bdd1-4140-af28-526e77b9b4b6", "metadata": { "editable": true, "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "# Activity 2: Setting up the \"experiment\"\n", "\n", "To model a spectroscopy experiment, some parameters need to be correctly defined. In MsSpec, parameters are grouped in different categories (`detector_parameters`, `source_parameters`, `calculation_parameters`...). Each category is an attribute of your calculator object and contains different parameters.\n", "For example, to define the angle of the incoming light with respect to the sample normal direction, you will use\n", "\n", "```\n", "# (assuming your calculator variable is calc)\n", "# e.g: Incoming X-Ray light is 30° from the sample normal\n", "calc.source_parameters.theta = 30\n", "```\n", "\n", "\n", "## Sb-induced smooth growth of Ag on Ag(111) example\n", "\n", "To see how some parameters - not related to the cluster shape - may change the results, we will look at the effect of two parameters:\n", "\n", "1. The source direction\n", "2. The inner potential of the sample\n", "\n", "The inner potential is material specific. It will add to the photoelectron kinetic energy inside the material. When the photoelectron escapes the sample, this internal potential is missing and this will create an energy step that will act as a refraction for the photoelectron intensity. The effect will be significant for large polar angles and for small kinetic energy of the photoelectron.\n", "\n", "Let's look at the effect of those parameters on the following example.\n", "The idea is to use low energy photoelectron diffraction to see the substitution of Ag by Sb atoms on the surface plane.\n", "\n", ":::{seealso}\n", "based on this paper from H. Cruguel *et al.* [Phys. Rev. B **55** R16061](https://doi.org/10.1103/PhysRevB.55.R16061)\n", ":::\n", "\n", "### Building the cluster\n", "\n", "Let's start by building the cluster" ] }, { "cell_type": "markdown", "id": "e7e10211-80ea-49e3-99a4-c57fc3b39539", "metadata": { "editable": true, "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "```{literalinclude} SbAg.py\n", ":end-at: symbol = 'Sb' \n", ":lineno-match:\n", "```" ] }, { "cell_type": "code", "execution_count": 1, "id": "0b0a420f-7074-443b-8cb4-1f609f5b123e", "metadata": { "editable": true, "slideshow": { "slide_type": "" }, "tags": [ "remove-input" ] }, "outputs": [ { "data": { "text/html": [ "\n", "
\n", "