diff --git a/msspecbook/_build/.doctrees/Activity05/Activity05.doctree b/msspecbook/_build/.doctrees/Activity05/Activity05.doctree index cd5da2f..061335d 100644 Binary files a/msspecbook/_build/.doctrees/Activity05/Activity05.doctree and b/msspecbook/_build/.doctrees/Activity05/Activity05.doctree differ diff --git a/msspecbook/_build/.doctrees/Activity07/Activity07.doctree b/msspecbook/_build/.doctrees/Activity07/Activity07.doctree index 2dc8629..be09c4b 100644 Binary files a/msspecbook/_build/.doctrees/Activity07/Activity07.doctree and b/msspecbook/_build/.doctrees/Activity07/Activity07.doctree differ diff --git a/msspecbook/_build/.doctrees/environment.pickle b/msspecbook/_build/.doctrees/environment.pickle index 3665b66..428499f 100644 Binary files a/msspecbook/_build/.doctrees/environment.pickle and b/msspecbook/_build/.doctrees/environment.pickle differ diff --git a/msspecbook/_build/html/.buildinfo b/msspecbook/_build/html/.buildinfo index 556b4d6..a78a743 100644 --- a/msspecbook/_build/html/.buildinfo +++ b/msspecbook/_build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: d64285b76259d47aa1d35d9bc7e7829a +config: 0b896abf2c995b3493312dcbe0e8b47f tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/msspecbook/_build/html/Activity05/Activity05.html b/msspecbook/_build/html/Activity05/Activity05.html index 28cc2b8..a4bc40f 100644 --- a/msspecbook/_build/html/Activity05/Activity05.html +++ b/msspecbook/_build/html/Activity05/Activity05.html @@ -516,7 +516,7 @@ document.write(` - + @@ -884,7 +884,7 @@ document.write(` - + @@ -892,7 +892,7 @@ document.write(` - + @@ -948,7 +948,7 @@ document.write(` - + @@ -956,7 +956,7 @@ document.write(` - + @@ -1004,7 +1004,7 @@ document.write(` - + diff --git a/msspecbook/_build/html/Activity07/Activity07.html b/msspecbook/_build/html/Activity07/Activity07.html index 7690d89..cccde8f 100644 --- a/msspecbook/_build/html/Activity07/Activity07.html +++ b/msspecbook/_build/html/Activity07/Activity07.html @@ -418,7 +418,8 @@ document.write(`

Application to a deep plane in a Si(001) sample#

-

The following script will compute contribution of all the planes of a Si(001) substrate to get the total photoelectron intensity of a Si(2s) polar scan.

+

The following script will compute the contribution of a Si(2p) atom in the 4th plane of a Si(001) cluster at scattering order 3.

+

Taking into account all scattering paths took 15 minutes to compute.

See also

based on this paper from S. Tricot et al. @@ -428,8 +429,139 @@ document.write(`

-

The script is almost completed, try to define path filtering options and compare results with and without filtering for emitter in plane n° 3 at scattering order 2.

-

Compute the contribution of plane n° 7

+

The following script is almost completed, try to define path filtering options (no backscattering, accept all paths with forward angles < 40° and reject paths longer than the diameter of the cluster).

+
 1# coding: utf8
+ 2
+ 3import numpy as np
+ 4from ase.build import bulk
+ 5
+ 6from msspec.calculator import MSSPEC, XRaySource
+ 7from msspec.iodata import Data
+ 8from msspec.utils import hemispherical_cluster, get_atom_index
+ 9
+10
+11# Create the cluster
+12a = 5.43
+13Si = bulk('Si', a=a, cubic=True)
+14cluster = hemispherical_cluster(Si,
+15                                diameter=30, planes=4,
+16                                emitter_plane=3,
+17                                shape = 'cylindrical',
+18                                )
+19for atom in cluster:
+20    atom.set('mean_square_vibration', 0.006)
+21    atom.set('mt_radius', 1.1)
+22cluster.emitter = get_atom_index(cluster, 0, 0, 0)
+23
+24# Create a calculator and set parameters
+25calc = MSSPEC(spectroscopy='PED', algorithm='expansion')
+26
+27calc.source_parameters.energy = XRaySource.AL_KALPHA
+28calc.source_parameters.theta  = -54.7
+29calc.source_parameters.phi    = 90
+30calc.spectroscopy_parameters.final_state = 1
+31
+32calc.calculation_parameters.scattering_order = 3
+33calc.tmatrix_parameters.tl_threshold = 1e-4
+34calc.calculation_parameters.vibrational_damping = 'averaged_tl'
+35calc.calculation_parameters.RA_cutoff = 2
+36 
+37# Define path filtering options such that you only
+38# accept scattering paths with a forward cone <= 40°
+39# and whose length are <= cluster diameter
+40#
+41#
+42
+43calc.set_atoms(cluster)
+44
+45# Compute and add previous data for comparison
+46data = calc.get_theta_scan(level='2p',
+47                            theta=np.arange(-30., 80., 0.5),
+48                            phi=0,
+49                            kinetic_energy=1382.28)
+50no_filters = Data.load('path_filtering.hdf5')
+51data[0].add_columns(**{'no_filters': no_filters[0].cross_section})
+52view = data[0].views[0]
+53view.select('theta', 'cross_section', index=0, legend="With path filtering")
+54view.select('theta', 'no_filters', legend="Without path filtering")
+55
+56data.view()
+
+
+
    +
  1. How long was your calculation ?

  2. +
  3. How does it compare to the calculation with all scattering paths up to order 3 ?

  4. +
  5. What is the proportion of scattering paths of order 3 that were actually taken into account ?

  6. +
+
+
+
+

The calculation took few seconds and the result is very close to the calculation with all scattering paths.

+

Only 0.01% of 3rd order paths were actually taken into account

+
+Si polar scan + +
+

Fig. 18 Si(2p) polar scan (contribution of an emitter in the 4th plane with all 7 114 945 scattering paths taken into account (orange curve), and for only 1525 filtered paths (blue curve).#

+
+
+
 1# coding: utf8
+ 2
+ 3import numpy as np
+ 4from ase.build import bulk
+ 5
+ 6from msspec.calculator import MSSPEC, XRaySource
+ 7from msspec.iodata import Data
+ 8from msspec.utils import hemispherical_cluster, get_atom_index
+ 9
+10
+11# Create the cluster
+12a = 5.43
+13Si = bulk('Si', a=a, cubic=True)
+14cluster = hemispherical_cluster(Si,
+15                                diameter=30, planes=4,
+16                                emitter_plane=3,
+17                                shape = 'cylindrical',
+18                                )
+19for atom in cluster:
+20    atom.set('mean_square_vibration', 0.006)
+21    atom.set('mt_radius', 1.1)
+22cluster.emitter = get_atom_index(cluster, 0, 0, 0)
+23
+24# Create a calculator and set parameters
+25calc = MSSPEC(spectroscopy='PED', algorithm='expansion')
+26
+27calc.source_parameters.energy = XRaySource.AL_KALPHA
+28calc.source_parameters.theta  = -54.7
+29calc.source_parameters.phi    = 90
+30calc.spectroscopy_parameters.final_state = 1
+31
+32calc.calculation_parameters.scattering_order = 3
+33calc.tmatrix_parameters.tl_threshold = 1e-4
+34calc.calculation_parameters.vibrational_damping = 'averaged_tl'
+35calc.calculation_parameters.RA_cutoff = 2
+36
+37my_filters = ('forward_scattering', 'distance_cutoff')
+38calc.calculation_parameters.path_filtering = my_filters
+39calc.calculation_parameters.distance = 30
+40calc.calculation_parameters.off_cone_events = 0
+41[a.set('forward_angle', 40) for a in cluster]
+42
+43calc.set_atoms(cluster)
+44
+45# Compute and add previous data for comparison
+46data = calc.get_theta_scan(level='2p',
+47                            theta=np.arange(-30., 80., 0.5),
+48                            phi=0,
+49                            kinetic_energy=1382.28)
+50no_filters = Data.load('path_filtering.hdf5')
+51data[0].add_columns(**{'no_filters': no_filters[0].cross_section})
+52view = data[0].views[0]
+53view.select('theta', 'cross_section', index=0, legend="With path filtering")
+54view.select('theta', 'no_filters', legend="Without path filtering")
+55
+56data.view()
+
diff --git a/msspecbook/_build/html/_images/results.png b/msspecbook/_build/html/_images/results.png new file mode 100644 index 0000000..2dbf754 Binary files /dev/null and b/msspecbook/_build/html/_images/results.png differ diff --git a/msspecbook/_build/html/_sources/Activity05/Activity05.ipynb b/msspecbook/_build/html/_sources/Activity05/Activity05.ipynb index ca3f110..a7fe237 100644 --- a/msspecbook/_build/html/_sources/Activity05/Activity05.ipynb +++ b/msspecbook/_build/html/_sources/Activity05/Activity05.ipynb @@ -878,7 +878,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.11.13" } }, "nbformat": 4, diff --git a/msspecbook/_build/html/_sources/Activity06/Activity06.ipynb b/msspecbook/_build/html/_sources/Activity06/Activity06.ipynb index f114ebd..a95699d 100644 --- a/msspecbook/_build/html/_sources/Activity06/Activity06.ipynb +++ b/msspecbook/_build/html/_sources/Activity06/Activity06.ipynb @@ -133,7 +133,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.11.13" } }, "nbformat": 4, diff --git a/msspecbook/_build/html/_sources/Activity07/Activity07.ipynb b/msspecbook/_build/html/_sources/Activity07/Activity07.ipynb index 9f612ce..1e99041 100644 --- a/msspecbook/_build/html/_sources/Activity07/Activity07.ipynb +++ b/msspecbook/_build/html/_sources/Activity07/Activity07.ipynb @@ -103,7 +103,8 @@ ":::{figure-md} filters-fig\n", "\"path\n", "\n", - "Some examples of scattering paths with `forward_scattering`, `backward_scattering` and `distance` filters selected. The accepted forward angle is 45°, the accepted backscattering angle is 20° and the threshold distance is $6a_0$ where $a_0$ is the lattice parameter. Note that the yellow path is rejected but if the `off_cone_events` option is set to a value > 1, then it could have been accepted." + "Some examples of scattering paths with `forward_scattering`, `backward_scattering` and `distance` filters selected. The accepted forward angle is 45°, the accepted backscattering angle is 20° and the threshold distance is $6a_0$ where $a_0$ is the lattice parameter. Note that the yellow path is rejected but if the `off_cone_events` option is set to a value > 1, then it could have been accepted.\n", + ":::" ] }, { @@ -113,7 +114,9 @@ "source": [ "## Application to a deep plane in a Si(001) sample\n", "\n", - "The following script will compute contribution of all the planes of a Si(001) substrate to get the total photoelectron intensity of a Si(2s) polar scan. \n", + "The following script will compute the contribution of a Si(2p) atom in the 4{sup}`th` plane of a Si(001) cluster at scattering order 3.\n", + "\n", + "Taking into account all scattering paths took 15 minutes to compute.\n", "\n", "(msd-paper)=\n", ":::{seealso}\n", @@ -126,14 +129,46 @@ "\n", ":::{tab-item} Quiz\n", "\n", - "The script is almost completed, try to define path filtering options and compare results with and without filtering for emitter in plane n° 3 at scattering order 2.\n", + "The following script is almost completed, try to define path filtering options (no backscattering, accept all paths with forward angles < 40° and reject paths longer than the diameter of the cluster).\n", "\n", - "Compute the contribution of plane n° 7\n", + "```{literalinclude} Si001.py\n", + ":lineno-match:\n", + ":emphasize-lines: 37-41\n", + "```\n", + "\n", + "1. How long was your calculation ?\n", + "2. How does it compare to the calculation with **all** scattering paths up to order 3 ?\n", + "3. What is the proportion of scattering paths of order 3 that were actually taken into account ?\n", "\n", ":::\n", "\n", "::::" ] + }, + { + "cell_type": "markdown", + "id": "19fbd486-b0c1-450c-a00d-79984945aefd", + "metadata": {}, + "source": [ + "```{toggle}\n", + "The calculation took few seconds and the result is very close to the calculation with all scattering paths.\n", + "\n", + "Only 0.01% of 3{sup}`rd` order paths were actually taken into account\n", + "\n", + ":::{figure-md} si-fig\n", + "\"Si\n", + "\n", + "Si(2p) polar scan (contribution of an emitter in the 4{sup}`th` plane with all 7 114 945 scattering paths taken into account (orange curve), and for only 1525 filtered paths (blue curve).\n", + "\n", + ":::\n", + "\n", + ":::{literalinclude} Si001_completed.py\n", + ":lineno-match:\n", + ":emphasize-lines: 37-41\n", + ":::\n", + "\n", + "``` " + ] } ], "metadata": { @@ -152,7 +187,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.11.13" } }, "nbformat": 4, diff --git a/msspecbook/_build/html/objects.inv b/msspecbook/_build/html/objects.inv index fce4965..a1f28f0 100644 Binary files a/msspecbook/_build/html/objects.inv and b/msspecbook/_build/html/objects.inv differ diff --git a/msspecbook/_build/html/searchindex.js b/msspecbook/_build/html/searchindex.js index 655704c..90862c4 100644 --- a/msspecbook/_build/html/searchindex.js +++ b/msspecbook/_build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Activity 10: Auger Electron Diffraction": [[9, null]], "Activity 11: Spectral radius and convergence": [[10, null]], "Activity 1: Getting started": [[0, null]], "Activity 2: Setting up the \u201cexperiment\u201d": [[1, null]], "Activity 3: Adsorbates and the single scattering approach": [[2, null]], "Activity 4: From single scattering to multiple scattering": [[3, null]], "Activity 5: Multiple scattering in the forward scattering regime": [[4, null]], "Activity 6: Effect of the temperature": [[5, null]], "Activity 7: Large clusters and path filtering": [[6, null]], "Activity 8: Inequivalent emitters and the XPD of a substrate": [[7, null]], "Activity 9: Comparing simulation and experiment with R-factors": [[8, null]], "Application to a deep plane in a Si(001) sample": [[6, "application-to-a-deep-plane-in-a-si-001-sample"]], "Barebone script for MsSpec": [[0, "barebone-script-for-msspec"]], "Building atomic systems": [[0, "building-atomic-systems"]], "Building the cluster": [[1, "building-the-cluster"]], "Compute an azimuthal scan": [[1, "compute-an-azimuthal-scan"]], "Computing the scattering factor": [[2, "computing-the-scattering-factor"]], "Creating the TiSe2 cluster": [[4, "creating-the-tise2-cluster"]], "Effect of the scattering order": [[4, "effect-of-the-scattering-order"]], "Final word": [[11, null]], "Future developpements": [[11, "future-developpements"]], "How to install MsSpec": [[11, "how-to-install-msspec"]], "Interferences due to backscattering": [[2, "interferences-due-to-backscattering"]], "Our work": [[11, "our-work"]], "Oxygen on Rh(001)": [[2, "oxygen-on-rh-001"]], "PED of the 1T-TiSe2 surface": [[4, "ped-of-the-1t-tise2-surface"]], "PED polar scan for Cu(001)": [[0, "ped-polar-scan-for-cu-001"]], "Paths filtering in MsSpec": [[6, "paths-filtering-in-msspec"]], "Sb-induced smooth growth of Ag on Ag(111) example": [[1, "sb-induced-smooth-growth-of-ag-on-ag-111-example"]], "Shaping a cluster": [[0, "shaping-a-cluster"]], "Surface and bulk effects of the temperature": [[5, "surface-and-bulk-effects-of-the-temperature"]], "The number of scattering paths": [[6, "the-number-of-scattering-paths"]], "The script": [[5, "the-script"]], "Welcome to this small MsSpec tour": [[12, null]]}, "docnames": ["Activity01/Activity01", "Activity02/Activity02", "Activity03/Activity03", "Activity04/Activity04", "Activity05/Activity05", "Activity06/Activity06", "Activity07/Activity07", "Activity08/Activity08", "Activity09/Activity09", "Activity10/Activity10", "Activity11/Activity11", "backmatter", "intro"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinxcontrib.bibtex": 9}, "filenames": ["Activity01/Activity01.ipynb", "Activity02/Activity02.ipynb", "Activity03/Activity03.ipynb", "Activity04/Activity04.ipynb", "Activity05/Activity05.ipynb", "Activity06/Activity06.ipynb", "Activity07/Activity07.ipynb", "Activity08/Activity08.ipynb", "Activity09/Activity09.ipynb", "Activity10/Activity10.ipynb", "Activity11/Activity11.ipynb", "backmatter.md", "intro.md"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [1, 4, 5, 6], "0": [0, 1, 2, 3, 4, 5, 6], "001": 5, "004": 4, "02": 2, "05": 2, "0f": 5, "1": [1, 2, 3, 4, 5, 6, 12], "10": [0, 1, 2, 12], "100": 5, "1000": [3, 5], "1000k": 5, "1010": [], "1030": 4, "11": 12, "111": 2, "11h": [], "121": 1, "14": 5, "147176": 6, "15": [1, 4], "170\u00b5": [], "171": [], "1986": 5, "1989": 3, "1998": 2, "1e": [], "1e12": 4, "2": [0, 2, 3, 5, 6, 12], "20": [1, 6], "2012": [4, 5], "2022": 6, "22": 1, "240": 1, "25": 4, "256": 6, "27": 5, "298k": 5, "2d": 4, "2f": 2, "2p": [0, 4, 5], "2p3": 0, "3": [0, 3, 4, 5, 6, 12], "30": 1, "300": 5, "31557600": [], "31902333327338293": [], "337": [], "34": 5, "343": 5, "3600": [], "39": 3, "3f": 4, "3rd": 0, "4": [0, 1, 2, 4, 5, 12], "40": [1, 6], "400": 5, "45": [1, 3, 5, 6], "450": 4, "499": 3, "4d": 1, "5": [1, 3, 5, 6, 12], "51": 5, "535": 4, "55": 1, "554": 4, "560": 5, "564": [], "5th": 3, "6": [1, 4, 6, 12], "60": 4, "606": 4, "64": 4, "65": 2, "685": 4, "6a_0": 6, "7": [5, 12], "70": 4, "723": 2, "739": 6, "8": [1, 2, 3, 4, 12], "80": 3, "81": 2, "83": 5, "86400": [], "9": [5, 12], "900": 4, "98": 5, "A": [2, 3, 5], "AED": 0, "ASE": [0, 1, 2, 4], "As": [0, 2, 4, 6], "But": 4, "By": 2, "For": [1, 4, 5, 6], "If": 6, "In": [0, 1, 2, 4, 5, 6], "It": [1, 4], "Not": 0, "On": 2, "One": 6, "Or": 0, "The": [0, 1, 2, 3, 4], "There": 0, "To": [0, 1, 2, 4, 5, 6], "With": 5, "_": [], "__main__": 5, "__name__": 5, "_plotopt": 5, "a_0": [4, 6], "abl": 6, "about": [2, 4], "abov": [0, 2, 4, 5, 6], "absolut": 3, "absorb": [3, 5], "accept": 6, "accordingli": 3, "account": [0, 4, 6], "accur": [2, 4], "accuraci": 2, "act": 1, "activ": 12, "actual": [3, 5], "ad": 2, "add": [1, 2, 5], "add_adsorb": 2, "add_column": [1, 5], "add_dset": 5, "add_view": 5, "adsorb": 12, "adsorpt": 2, "advantag": 2, "after": 4, "agit": 5, "agreement": 1, "al": [1, 2, 3, 4, 6], "al_kalpha": 5, "alber": [4, 6], "algorithm": [0, 2, 4, 5, 6], "align": [1, 4], "all": [0, 2, 3, 5, 6, 12], "all_data": 3, "all_t": 5, "all_theta": 5, "all_z": 2, "allow": [0, 6], "almost": [4, 6], "along": 3, "alreadi": 4, "also": [4, 5], "altern": 6, "although": 1, "altitud": 2, "an": [0, 2, 3, 4, 5, 6], "analysi": 5, "analyz": 0, "angl": [1, 5, 6], "angstrom": [2, 3], "angstr\u00f6m": 4, "angular_accept": [1, 5], "ani": 2, "anisotropi": 5, "anisotropy_dset": 5, "anisotropy_view": 5, "annular": 2, "anoth": 4, "answer": 3, "apart": 2, "apec": 0, "apertur": 6, "append": 5, "approach": [0, 4, 12], "approxim": [2, 4], "ar": [0, 1, 2, 4, 5, 6], "arang": [2, 3, 5], "arbitrarili": 5, "around": 4, "arrai": 5, "arrang": 6, "articl": 5, "ase": [0, 1, 2, 3, 4, 5], "assum": [1, 6], "atom": [1, 2, 3, 4, 5, 6], "atomist": 0, "attach": 2, "attempt": 5, "attribut": 1, "auger": 12, "autoscal": 5, "avail": [0, 4], "averag": 5, "average_sampl": [1, 5], "averaged_tl": 5, "axi": [3, 4], "azimut": 5, "azimuth": 5, "b": [1, 3, 5], "b_0": 4, "backascatt": [], "backscatt": 6, "backward_scatt": 6, "base": [0, 1, 2, 3, 4, 5, 6], "basi": 0, "beamlin": 1, "becaus": 6, "becom": [2, 6], "been": 6, "begin": 2, "being": [2, 5], "below": [2, 3, 4, 5, 6], "better": 1, "between": [0, 1, 2, 3, 4, 5], "bewteen": 3, "big": [], "bit": 4, "blue": 1, "boltzmann": 5, "bond": 2, "both": [2, 5], "bright": 2, "bring": 12, "build": [2, 3, 4, 5], "bulk": [0, 1, 6], "c": [4, 5], "c_0": 4, "calc": [0, 1, 2, 3, 4, 5], "calcul": [0, 1, 2, 3, 4, 5, 6], "calculation_paramet": [1, 2, 3, 4, 5], "calculationparamet": 5, "can": [0, 2, 3, 5, 6], "cannot": 4, "carri": 2, "case": 2, "categori": 1, "cell": [1, 4], "center": [2, 4], "chain": [2, 3], "chain_length": 3, "chang": [1, 2, 3, 5], "chosen": 5, "cif": 0, "circl": 2, "cite": 5, "class": 2, "clear": 5, "cluster": [2, 5, 12], "cnr": 0, "code": [0, 2, 3, 4], "col_nam": 5, "col_valu": 5, "column": 4, "com": 2, "come": [2, 5], "comment": 2, "common": [5, 6], "compar": [1, 6, 12], "comparison": [0, 1], "complet": [2, 4, 5, 6], "complex": 4, "compon": 0, "comput": [0, 3, 4, 5, 6], "computation": 2, "concept": [0, 12], "conclud": [0, 4], "cone": 6, "configur": [1, 6], "consid": 2, "constant": [3, 4, 5], "construct": 2, "consumpt": 2, "contain": [0, 1, 4, 5], "contribut": [0, 6], "control": 5, "converg": [1, 4, 12], "convers": [], "copper": [0, 4, 5], "correctli": 1, "correspond": [4, 6], "could": 6, "cover": 0, "creat": [0, 1, 2, 6], "create_clust": 5, "cross_sect": [1, 3, 5], "cruguel": 1, "crystallin": 2, "cu": 5, "cubic": [0, 1, 5], "custom": 3, "cut_plan": 1, "cylindr": 5, "d": [0, 2, 3, 4, 5], "dai": [], "damp": 5, "dark": 2, "data": [0, 1, 2, 3, 4, 5], "dataset": [1, 3, 5], "datetim": [], "deby": 5, "debye_temperatur": 5, "decreas": 5, "deep": [], "deeper": 4, "deepest": [0, 5], "def": 5, "default": 3, "defin": [1, 2, 3, 4, 5, 6], "degre": [2, 3, 5], "delta": 5, "demonstr": 2, "dens": 4, "depth": 5, "der": 4, "describ": 4, "detail": 5, "detector_paramet": [1, 5], "deviat": 4, "diamet": [1, 5, 6], "dichalcogenid": 4, "dict": 5, "differ": [0, 1, 2, 5, 6], "differnt": 3, "difficulti": 12, "diffract": [0, 1, 2, 4, 5, 12], "diffus": 3, "direct": [1, 2, 4, 6], "directli": 0, "disord": 5, "displac": 5, "displai": [0, 3], "distanc": [2, 3, 6], "distinguish": 5, "do": [0, 4, 5], "document": [2, 5], "doubl": 4, "drastic": 6, "dset": [1, 2, 3, 5], "due": 5, "e": 1, "e_0": 2, "each": [1, 3, 4, 5, 6], "eas": 1, "edit": 0, "effect": [1, 2, 6, 12], "either": 5, "eject": 2, "electron": [0, 2, 4, 6, 12], "element": 4, "els": 5, "emiss": [2, 5], "emit": 2, "emitt": [0, 1, 2, 4, 5, 6, 12], "emitter_plan": [0, 1, 4, 5], "emitter_tag": 4, "empti": 3, "end": 3, "energi": [1, 2, 4, 5, 6], "enlarg": 3, "enumer": 2, "environ": 0, "equal": 0, "equat": 5, "escap": 1, "estim": 5, "et": [1, 2, 3, 4, 6], "ev": [1, 2, 4, 5], "evalu": [4, 6], "event": 4, "exact": 2, "exaf": 0, "exampl": [5, 6], "exchange_correl": 5, "exp": 1, "expand": 4, "expans": [2, 4, 5, 6], "expect": [5, 6], "experi": 12, "experiment": [1, 2], "explain": 5, "explor": [4, 5, 6, 12], "extra": 5, "extrem": 2, "f": [4, 5], "factor": [4, 12], "fadlei": 5, "far": 6, "fast": 2, "fcc": [2, 4], "fcc111": 2, "featur": [0, 1, 12], "fewer": 0, "figur": [2, 3, 4, 5, 6], "file": [0, 1], "fill": 2, "filter": [5, 12], "final": [1, 12], "find": 3, "first": [2, 3, 4, 6], "fix": 6, "flexibl": 0, "float": 5, "focu": [0, 12], "folder": 3, "follow": [0, 1, 5, 6], "format": [2, 3, 5], "former": 1, "formula": [4, 6], "forthcom": 0, "fortran": 0, "forward": [6, 12], "forward_scatt": 6, "fr": 0, "frac": 5, "free": [4, 5], "fring": 2, "from": [0, 1, 2, 4, 5, 6, 12], "fromkei": 5, "fulli": 0, "function": [3, 4, 5], "fundament": 0, "g": 1, "gap": 4, "gener": [1, 4, 6], "geometri": 1, "gerber": 2, "get": [3, 5, 6, 12], "get_atom_index": [0, 1, 4, 5], "get_paramet": 5, "get_phi_scan": [1, 5], "get_scattering_factor": 2, "get_theta_phi_scan": [2, 4], "get_theta_scan": [0, 3], "give": 2, "given": [1, 5], "graphic": 3, "graze": 5, "great": 2, "greater": 4, "greatli": 0, "greber": 2, "group": 1, "grow": [4, 12], "gui": [0, 1], "h": 1, "h2o": 0, "ha": [4, 6], "half": 5, "hand": 2, "harmon": [0, 4], "have": [2, 6], "hbar": 5, "height": 2, "help": [4, 5], "hemispher": [0, 4], "hemispherical_clust": [0, 1, 4, 5], "here": [2, 3], "high": [2, 4, 6], "hilight": 5, "how": [1, 2, 3, 4, 5, 6, 12], "howev": 0, "http": 0, "i": [0, 1, 2, 3, 4, 5, 6], "i_": 5, "idea": [1, 5, 6], "identifi": 1, "ignor": 6, "illustr": [2, 6], "imax": 5, "imin": 5, "impact": 0, "import": [0, 1, 2, 3, 4, 5], "imposs": 6, "improv": 3, "incid": 5, "includ": [0, 2], "incom": 1, "increas": [2, 4, 5, 6], "incres": 5, "index": 0, "indic": 2, "inequival": [4, 12], "info": 5, "inform": [2, 5], "inner": 1, "inner_potenti": 1, "insid": 1, "int": 4, "intens": [0, 1, 2, 4, 5, 6], "intentis": 4, "interact": 0, "interfac": 0, "intern": 1, "interplai": 0, "interstitial_potenti": [1, 5], "introduc": 5, "invers": [0, 2, 4, 6], "io": 0, "iter": 3, "its": [2, 3], "itself": 4, "j": 6, "join": [], "k": 5, "k_b": 5, "keep": 3, "kind": [3, 4, 5], "kinet": [1, 2, 4, 6], "kinetic_energi": [1, 2, 3, 4, 5], "known": 4, "kuznetsov": 4, "l": 3, "l_": 4, "lambda_": 5, "larg": [1, 2, 4, 5, 12], "larger": 4, "last": [2, 3], "later": 2, "latter": 5, "lattic": [4, 6], "layer": [1, 5], "lead": [2, 6], "learn": 12, "least": 6, "leed": 0, "left": 4, "legend": [1, 5], "len": [2, 5], "length": [2, 3], "let": [1, 2, 4], "lett": 2, "level": [0, 1, 2, 3, 4, 5], "light": 1, "like": [0, 4], "line": [1, 2, 3, 4, 5], "linspac": [1, 5], "list": 2, "littl": 6, "ll": 2, "lmax": 4, "loadtxt": 1, "locat": 0, "long": 6, "longer": 6, "look": [1, 5], "loop": [2, 3], "loss": 5, "low": [1, 5], "lower": 5, "lure": 1, "m": [3, 4, 5, 6], "magnitud": 5, "mai": [1, 6], "mani": 6, "manipul": 0, "manual": 5, "marker": 5, "mass": 5, "match": 1, "materi": [1, 4], "mathr": 2, "matplotlib": [0, 1], "matrix": [2, 4, 6], "matter": 0, "max": [1, 3, 4, 5], "max_c": 3, "maxima": 2, "maximum": 3, "mean": [4, 5], "mean_free_path": 5, "measur": 4, "memori": [0, 1, 2, 4, 6], "metal": 4, "method": 2, "metrial": 1, "mfp": 4, "middl": 0, "min": [1, 3, 5], "min_c": 3, "minim": 0, "minimum": 3, "miss": 1, "model": [1, 4, 5, 12], "modul": [0, 5], "molecul": [0, 2], "moment": 0, "more": [0, 4, 5], "most": [0, 1, 2, 6], "msd": 5, "msspec": [1, 2, 3, 4, 5], "mt_radiu": 3, "much": [0, 1, 4, 5], "muffin": 3, "muffintin_paramet": [1, 5], "multi": 4, "multipl": [0, 2, 5, 6, 12], "mutlipl": 3, "mx2": 4, "n": [3, 4, 6], "natoli": 0, "nd": [4, 6], "ndif": 4, "need": [1, 3, 4, 5, 6, 12], "nest": 3, "new": [0, 3], "ni": 3, "none": [2, 3, 4, 5], "normal": 1, "note": 6, "now": 1, "np": [1, 2, 3, 4, 5], "npath": [], "nplane": 5, "number": [0, 2, 4, 5], "numer": 2, "numpi": [1, 2, 3, 4, 5], "o": [2, 5], "object": [1, 5], "observ": 4, "off_cone_ev": 6, "offer": [6, 12], "one": [3, 5, 6], "ones": 5, "onli": [0, 2, 3, 6], "option": [3, 5, 6], "orang": 1, "order": [2, 3, 5, 6], "orient": [1, 2], "other": [0, 2], "our": [2, 5], "out": 6, "over": [2, 3, 5], "p": 6, "p1654": 2, "p1760": 4, "p6784": 5, "p6785": 5, "p6791": 5, "p8275": 3, "packag": 2, "paper": [1, 2, 3, 4, 5, 6], "paragraph": 5, "paramet": [1, 4, 5, 6], "path": [2, 4, 5, 12], "pattern": 4, "peak": 4, "ped": [2, 3, 5], "perform": [5, 12], "phagen": 0, "phase": [0, 5], "phenom": 6, "phi": [1, 2, 4, 5], "photodiffract": 2, "photoelectron": [0, 1, 2, 4, 5, 6, 12], "phy": [1, 2, 3, 5], "physic": 5, "pi": 4, "planck": 5, "plane": [0, 1, 4, 5], "plot": [0, 3, 5], "plt": [0, 1], "pm": 2, "point": 1, "polar": [1, 2, 3, 5, 6], "pop": [2, 3], "popup": [1, 2], "posit": [2, 3], "possibl": [2, 6], "potenti": [1, 5], "practic": 5, "precis": 4, "preiou": 4, "pretti": 0, "previou": [0, 6], "previous": 2, "print": 4, "probe": 2, "problem": 2, "process": [0, 6], "produc": 2, "program": 0, "project": 2, "pronounc": 5, "propag": 0, "propos": [2, 5], "provid": 4, "publish": [2, 5], "put": 2, "pyplot": [0, 1], "python": [0, 5], "qualit": 5, "quantit": 2, "question": [3, 6], "quit": 2, "quiz": [0, 1, 2, 3, 4, 5, 6], "r": [0, 4, 5, 12], "r16061": 1, "radian": 3, "radiu": [3, 4, 12], "rai": [1, 5], "rang": [3, 4, 5], "rather": 2, "rd": 0, "read": 0, "real": 5, "realli": 0, "recent": 0, "red": 2, "reduc": [5, 6], "ref": 1, "refer": 1, "refract": 1, "regardless": 5, "regim": [6, 12], "rehr": [4, 6], "reject": 6, "rel": 5, "relat": [1, 6], "rememb": 6, "remov": [0, 1, 3], "repres": [2, 5], "represent": 2, "reproduc": 5, "requir": 6, "respect": [1, 2, 3], "result": [0, 1, 2, 3, 5, 6], "retriev": 5, "return": 5, "rev": [1, 2, 3, 5], "rhodium": 2, "right": 4, "rotat": [1, 3, 4], "rotate_cel": [1, 4], "roughli": 5, "row": 4, "run": [0, 3], "sa73": 1, "same": [0, 3, 6], "sampl": [1, 4, 5], "satisfactori": [1, 2], "save": 0, "scale": 3, "scan": [2, 3, 4, 5, 6], "scatter": [0, 5, 12], "scattering_ord": [2, 3, 4, 5], "sci": 4, "script": [2, 3, 6], "se": 4, "second": [4, 5], "section": 5, "see": [1, 2, 5, 6], "seen": 6, "select": [1, 5, 6], "sensit": 2, "sequenti": 6, "seri": [4, 6], "serial": 6, "set": [0, 3, 5, 6, 12], "set_atom": [0, 2, 3, 4, 5], "set_plot_opt": [3, 5], "sever": 6, "shape": [1, 2, 5], "shift": [0, 5], "should": [1, 4], "show": 0, "shutdown": [1, 3, 5], "si": [], "signal": [0, 2, 5, 6], "signific": 1, "significantli": 6, "silver": 1, "sim": 5, "similar": 6, "simpl": [3, 5], "simplist": 2, "simul": [0, 2, 12], "sin": 5, "sinc": [0, 4, 5, 6, 12], "singl": [4, 5, 6, 12], "sinl": 2, "site": 2, "size": [1, 2, 4, 6], "small": [1, 2, 4, 5], "smaller": 1, "snipet": 4, "so": [2, 6], "softwar": 12, "some": [0, 1, 2, 3, 4, 5, 6], "soon": 2, "sourc": 1, "source_paramet": [1, 5], "spec": 0, "speci": 2, "specif": 1, "spectral": 12, "spectrosc": 6, "spectroscopi": [0, 1, 2, 3, 4, 5, 12], "spheric": [0, 4], "sqrt": 3, "squar": 5, "stack": 3, "start": [1, 2, 3, 4, 12], "step": [0, 1], "stereograph": 2, "store": [3, 4, 5], "straightforward": 0, "strongli": 4, "structur": [0, 4, 5], "studi": 2, "substitut": 1, "substrat": [5, 6, 12], "subsurfac": 6, "suit": 0, "sum": 5, "sum_": 6, "surf": 4, "surfac": [1, 2], "symbol": [1, 3], "synchrotron": 1, "s\u00e9billeau": 0, "t": [1, 2, 3, 5], "tag": 4, "take": [0, 1, 4, 6], "tb": 4, "td": [], "techniqu": [0, 12], "temp": 1, "temperatur": 12, "temporari": 3, "th": [3, 6], "than": [1, 5, 6], "thank": 2, "thei": [2, 5], "them": 0, "theori": 12, "thermal": 5, "theses": 6, "theta": [1, 2, 3, 4, 5], "theta_d": 5, "thi": [0, 1, 2, 3, 4, 5, 6], "thick": 4, "those": [0, 1], "threshold": 6, "through": 12, "ti": 4, "ti2p": 4, "time": [0, 4, 6], "timedelta": [], "tin": 3, "titl": [2, 3, 5], "tmatrix_paramet": 5, "togeth": 12, "too": [1, 2, 4, 6], "tool": 0, "top": [1, 2], "total": [0, 5, 6], "toward": 2, "transit": 4, "treat": 6, "trehan": 5, "tricot": 6, "trilay": 4, "true": [0, 1, 4, 5], "try": [1, 2, 4, 6], "tweak": 3, "two": [0, 1, 2, 5, 6], "txt": 1, "type": 4, "typic": [0, 4, 5], "u": 4, "u0000212b": [], "u_j": 5, "underli": 2, "unit": 4, "up": [0, 3, 6, 12], "updat": 5, "us": [0, 1, 2, 3, 4, 5, 6, 12], "use_debye_model": 5, "useful": 4, "usual": 4, "utf": 3, "util": [0, 1, 4, 5], "v": [3, 4], "vacuum": 4, "valu": [2, 4, 5, 6], "van": 4, "vari": [2, 5], "variabl": [1, 3], "variat": [2, 5], "variou": [2, 12], "veri": [2, 6], "version": 0, "versu": 5, "vibrat": 5, "vibration_sc": 5, "vibrational_damp": 5, "view": [0, 1, 2, 3, 4, 5], "visual": [0, 1, 2, 4], "volum": 4, "waal": 4, "wai": 5, "waller": 5, "want": [3, 5], "water": 0, "wave": [0, 2, 4], "we": [0, 1, 2, 3, 4, 5, 6, 12], "well": [0, 3, 4, 5], "were": 6, "what": [0, 2, 4], "when": [1, 5, 6], "where": [2, 3, 4, 5, 6], "which": [2, 6], "while": 3, "why": 6, "wide": 2, "window": 3, "within": 6, "without": [0, 6], "word": 12, "work": [0, 5], "would": [1, 4, 6], "written": 0, "x": [1, 3, 5], "x_alpha_r": 5, "xlabel": 5, "xpd": [4, 12], "xraysourc": 5, "xu": 3, "y": [1, 3], "year": [], "yellow": 6, "ylabel": 5, "ylim": 3, "you": [0, 1, 2, 3, 4, 5, 6, 12], "your": [1, 2, 3, 5], "z": [1, 2, 3, 4], "z0": 2, "z_0": 2, "zi": 2, "zip": [], "\u00b5": 6, "\u00e5": [2, 4, 6]}, "titles": ["Activity 1: Getting started", "Activity 2: Setting up the \u201cexperiment\u201d", "Activity 3: Adsorbates and the single scattering approach", "Activity 4: From single scattering to multiple scattering", "Activity 5: Multiple scattering in the forward scattering regime", "Activity 6: Effect of the temperature", "Activity 7: Large clusters and path filtering", "Activity 8: Inequivalent emitters and the XPD of a substrate", "Activity 9: Comparing simulation and experiment with R-factors", "Activity 10: Auger Electron Diffraction", "Activity 11: Spectral radius and convergence", "Final word", "Welcome to this small MsSpec tour"], "titleterms": {"001": [0, 2, 6], "1": 0, "10": 9, "11": 10, "111": 1, "1t": 4, "2": [1, 4], "3": 2, "4": 3, "5": 4, "6": 5, "7": 6, "8": 7, "9": 8, "The": [5, 6], "activ": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "adsorb": 2, "ag": 1, "an": 1, "applic": 6, "approach": 2, "atom": 0, "auger": 9, "azimuth": 1, "backscatt": 2, "barebon": 0, "build": [0, 1], "bulk": 5, "cluster": [0, 1, 4, 6], "compar": 8, "comput": [1, 2], "converg": 10, "creat": 4, "cu": 0, "deep": 6, "developp": 11, "diffract": 9, "due": 2, "effect": [4, 5], "electron": 9, "emitt": 7, "exampl": 1, "experi": [1, 8], "factor": [2, 8], "filter": 6, "final": 11, "forward": 4, "from": 3, "futur": 11, "get": 0, "growth": 1, "how": 11, "induc": 1, "inequival": 7, "instal": 11, "interfer": 2, "larg": 6, "msspec": [0, 6, 11, 12], "multipl": [3, 4], "number": 6, "order": 4, "our": 11, "oxygen": 2, "path": 6, "ped": [0, 4], "plane": 6, "polar": 0, "r": 8, "radiu": 10, "regim": 4, "rh": 2, "sampl": 6, "sb": 1, "scan": [0, 1], "scatter": [2, 3, 4, 6], "script": [0, 5], "set": 1, "shape": 0, "si": 6, "simul": 8, "singl": [2, 3], "small": 12, "smooth": 1, "spectral": 10, "start": 0, "sub": 4, "substrat": 7, "surfac": [4, 5], "system": 0, "temperatur": 5, "thi": 12, "tise": 4, "tise2": 4, "tour": 12, "up": 1, "welcom": 12, "word": 11, "work": 11, "xpd": 7}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Activity 10: Auger Electron Diffraction": [[9, null]], "Activity 11: Spectral radius and convergence": [[10, null]], "Activity 1: Getting started": [[0, null]], "Activity 2: Setting up the \u201cexperiment\u201d": [[1, null]], "Activity 3: Adsorbates and the single scattering approach": [[2, null]], "Activity 4: From single scattering to multiple scattering": [[3, null]], "Activity 5: Multiple scattering in the forward scattering regime": [[4, null]], "Activity 6: Effect of the temperature": [[5, null]], "Activity 7: Large clusters and path filtering": [[6, null]], "Activity 8: Inequivalent emitters and the XPD of a substrate": [[7, null]], "Activity 9: Comparing simulation and experiment with R-factors": [[8, null]], "Application to a deep plane in a Si(001) sample": [[6, "application-to-a-deep-plane-in-a-si-001-sample"]], "Barebone script for MsSpec": [[0, "barebone-script-for-msspec"]], "Building atomic systems": [[0, "building-atomic-systems"]], "Building the cluster": [[1, "building-the-cluster"]], "Compute an azimuthal scan": [[1, "compute-an-azimuthal-scan"]], "Computing the scattering factor": [[2, "computing-the-scattering-factor"]], "Creating the TiSe2 cluster": [[4, "creating-the-tise2-cluster"]], "Effect of the scattering order": [[4, "effect-of-the-scattering-order"]], "Final word": [[11, null]], "Future developpements": [[11, "future-developpements"]], "How to install MsSpec": [[11, "how-to-install-msspec"]], "Interferences due to backscattering": [[2, "interferences-due-to-backscattering"]], "Our work": [[11, "our-work"]], "Oxygen on Rh(001)": [[2, "oxygen-on-rh-001"]], "PED of the 1T-TiSe2 surface": [[4, "ped-of-the-1t-tise2-surface"]], "PED polar scan for Cu(001)": [[0, "ped-polar-scan-for-cu-001"]], "Paths filtering in MsSpec": [[6, "paths-filtering-in-msspec"]], "Sb-induced smooth growth of Ag on Ag(111) example": [[1, "sb-induced-smooth-growth-of-ag-on-ag-111-example"]], "Shaping a cluster": [[0, "shaping-a-cluster"]], "Surface and bulk effects of the temperature": [[5, "surface-and-bulk-effects-of-the-temperature"]], "The number of scattering paths": [[6, "the-number-of-scattering-paths"]], "The script": [[5, "the-script"]], "Welcome to this small MsSpec tour": [[12, null]]}, "docnames": ["Activity01/Activity01", "Activity02/Activity02", "Activity03/Activity03", "Activity04/Activity04", "Activity05/Activity05", "Activity06/Activity06", "Activity07/Activity07", "Activity08/Activity08", "Activity09/Activity09", "Activity10/Activity10", "Activity11/Activity11", "backmatter", "intro"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinxcontrib.bibtex": 9}, "filenames": ["Activity01/Activity01.ipynb", "Activity02/Activity02.ipynb", "Activity03/Activity03.ipynb", "Activity04/Activity04.ipynb", "Activity05/Activity05.ipynb", "Activity06/Activity06.ipynb", "Activity07/Activity07.ipynb", "Activity08/Activity08.ipynb", "Activity09/Activity09.ipynb", "Activity10/Activity10.ipynb", "Activity11/Activity11.ipynb", "backmatter.md", "intro.md"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [1, 4, 5, 6], "0": [0, 1, 2, 3, 4, 5, 6], "001": 5, "004": 4, "006": 6, "01": 6, "02": 2, "05": 2, "0f": 5, "1": [1, 2, 3, 4, 5, 6, 12], "10": [0, 1, 2, 12], "100": 5, "1000": [3, 5], "1000k": 5, "1010": [], "1030": 4, "11": 12, "111": 2, "114": 6, "11h": [], "121": 1, "1382": 6, "14": 5, "147176": 6, "15": [1, 4, 6], "1525": 6, "170\u00b5": [], "171": [], "1986": 5, "1989": 3, "1998": 2, "1e": 6, "1e12": 4, "2": [0, 2, 3, 5, 6, 12], "20": [1, 6], "2012": [4, 5], "2022": 6, "22": 1, "240": 1, "25": 4, "256": 6, "27": 5, "28": 6, "298k": 5, "2d": 4, "2f": 2, "2p": [0, 4, 5, 6], "2p3": 0, "3": [0, 3, 4, 5, 6, 12], "30": [1, 6], "300": 5, "31557600": [], "31902333327338293": [], "337": [], "34": 5, "343": 5, "3600": [], "39": 3, "3f": 4, "3rd": 0, "4": [0, 1, 2, 4, 5, 6, 12], "40": [1, 6], "400": 5, "43": 6, "45": [1, 3, 5, 6], "450": 4, "499": 3, "4d": 1, "5": [1, 3, 5, 6, 12], "51": 5, "535": 4, "54": 6, "55": 1, "554": 4, "560": 5, "564": [], "5th": 3, "6": [1, 4, 6, 12], "60": 4, "606": 4, "64": 4, "65": 2, "685": 4, "6a_0": 6, "7": [5, 12], "70": 4, "723": 2, "739": 6, "8": [1, 2, 3, 4, 12], "80": [3, 6], "81": 2, "83": 5, "86400": [], "9": [5, 12], "90": 6, "900": 4, "945": 6, "98": 5, "A": [2, 3, 5], "AED": 0, "ASE": [0, 1, 2, 4], "As": [0, 2, 4, 6], "But": 4, "By": 2, "For": [1, 4, 5, 6], "If": 6, "In": [0, 1, 2, 4, 5, 6], "It": [1, 4], "Not": 0, "On": 2, "One": 6, "Or": 0, "The": [0, 1, 2, 3, 4], "There": 0, "To": [0, 1, 2, 4, 5, 6], "With": [5, 6], "_": [], "__main__": 5, "__name__": 5, "_plotopt": 5, "a_0": [4, 6], "abl": 6, "about": [2, 4], "abov": [0, 2, 4, 5, 6], "absolut": 3, "absorb": [3, 5], "accept": 6, "accordingli": 3, "account": [0, 4, 6], "accur": [2, 4], "accuraci": 2, "act": 1, "activ": 12, "actual": [3, 5, 6], "ad": 2, "add": [1, 2, 5, 6], "add_adsorb": 2, "add_column": [1, 5, 6], "add_dset": 5, "add_view": 5, "adsorb": 12, "adsorpt": 2, "advantag": 2, "after": 4, "agit": 5, "agreement": 1, "al": [1, 2, 3, 4, 6], "al_kalpha": [5, 6], "alber": [4, 6], "algorithm": [0, 2, 4, 5, 6], "align": [1, 4], "all": [0, 2, 3, 5, 6, 12], "all_data": 3, "all_t": 5, "all_theta": 5, "all_z": 2, "allow": [0, 6], "almost": [4, 6], "along": 3, "alreadi": 4, "also": [4, 5], "altern": 6, "although": 1, "altitud": 2, "an": [0, 2, 3, 4, 5, 6], "analysi": 5, "analyz": 0, "angl": [1, 5, 6], "angstrom": [2, 3], "angstr\u00f6m": 4, "angular_accept": [1, 5], "ani": 2, "anisotropi": 5, "anisotropy_dset": 5, "anisotropy_view": 5, "annular": 2, "anoth": 4, "answer": 3, "apart": 2, "apec": 0, "apertur": 6, "append": 5, "approach": [0, 4, 12], "approxim": [2, 4], "ar": [0, 1, 2, 4, 5, 6], "arang": [2, 3, 5, 6], "arbitrarili": 5, "around": 4, "arrai": 5, "arrang": 6, "articl": 5, "ase": [0, 1, 2, 3, 4, 5, 6], "assum": [1, 6], "atom": [1, 2, 3, 4, 5, 6], "atomist": 0, "attach": 2, "attempt": 5, "attribut": 1, "auger": 12, "autoscal": 5, "avail": [0, 4], "averag": 5, "average_sampl": [1, 5], "averaged_tl": [5, 6], "axi": [3, 4], "azimut": 5, "azimuth": 5, "b": [1, 3, 5], "b_0": 4, "backascatt": [], "backscatt": 6, "backward_scatt": 6, "base": [0, 1, 2, 3, 4, 5, 6], "basi": 0, "beamlin": 1, "becaus": 6, "becom": [2, 6], "been": 6, "begin": 2, "being": [2, 5], "below": [2, 3, 4, 5, 6], "better": 1, "between": [0, 1, 2, 3, 4, 5], "bewteen": 3, "big": [], "bit": 4, "blue": [1, 6], "boltzmann": 5, "bond": 2, "both": [2, 5], "bright": 2, "bring": 12, "build": [2, 3, 4, 5, 6], "bulk": [0, 1, 6], "c": [4, 5], "c_0": 4, "calc": [0, 1, 2, 3, 4, 5, 6], "calcul": [0, 1, 2, 3, 4, 5, 6], "calculation_paramet": [1, 2, 3, 4, 5, 6], "calculationparamet": 5, "can": [0, 2, 3, 5, 6], "cannot": 4, "carri": 2, "case": 2, "categori": 1, "cell": [1, 4], "center": [2, 4], "chain": [2, 3], "chain_length": 3, "chang": [1, 2, 3, 5], "chosen": 5, "cif": 0, "circl": 2, "cite": 5, "class": 2, "clear": 5, "close": 6, "cluster": [2, 5, 12], "cnr": 0, "code": [0, 2, 3, 4, 6], "col_nam": 5, "col_valu": 5, "column": 4, "com": 2, "come": [2, 5], "comment": 2, "common": [5, 6], "compar": [1, 6, 12], "comparison": [0, 1, 6], "complet": [2, 4, 5, 6], "complex": 4, "compon": 0, "comput": [0, 3, 4, 5, 6], "computation": 2, "concept": [0, 12], "conclud": [0, 4], "cone": 6, "configur": [1, 6], "consid": 2, "constant": [3, 4, 5], "construct": 2, "consumpt": 2, "contain": [0, 1, 4, 5], "contribut": [0, 6], "control": 5, "converg": [1, 4, 12], "convers": [], "copper": [0, 4, 5], "correctli": 1, "correspond": [4, 6], "could": 6, "cover": 0, "creat": [0, 1, 2, 6], "create_clust": 5, "cross_sect": [1, 3, 5, 6], "cruguel": 1, "crystallin": 2, "cu": 5, "cubic": [0, 1, 5, 6], "curv": 6, "custom": 3, "cut_plan": 1, "cylindr": [5, 6], "d": [0, 2, 3, 4, 5], "dai": [], "damp": 5, "dark": 2, "data": [0, 1, 2, 3, 4, 5, 6], "dataset": [1, 3, 5], "datetim": [], "deby": 5, "debye_temperatur": 5, "decreas": 5, "deep": [], "deeper": 4, "deepest": [0, 5], "def": 5, "default": 3, "defin": [1, 2, 3, 4, 5, 6], "degre": [2, 3, 5], "delta": 5, "demonstr": 2, "dens": 4, "depth": 5, "der": 4, "describ": 4, "detail": 5, "detector_paramet": [1, 5], "deviat": 4, "diamet": [1, 5, 6], "dichalcogenid": 4, "dict": 5, "differ": [0, 1, 2, 5, 6], "differnt": 3, "difficulti": 12, "diffract": [0, 1, 2, 4, 5, 12], "diffus": 3, "direct": [1, 2, 4, 6], "directli": 0, "disord": 5, "displac": 5, "displai": [0, 3], "distanc": [2, 3, 6], "distance_cutoff": 6, "distinguish": 5, "do": [0, 4, 5], "document": [2, 5], "doe": 6, "doubl": 4, "drastic": 6, "dset": [1, 2, 3, 5], "due": 5, "e": 1, "e_0": 2, "each": [1, 3, 4, 5, 6], "eas": 1, "edit": 0, "effect": [1, 2, 6, 12], "either": 5, "eject": 2, "electron": [0, 2, 4, 6, 12], "element": 4, "els": 5, "emiss": [2, 5], "emit": 2, "emitt": [0, 1, 2, 4, 5, 6, 12], "emitter_plan": [0, 1, 4, 5, 6], "emitter_tag": 4, "empti": 3, "end": 3, "energi": [1, 2, 4, 5, 6], "enlarg": 3, "enumer": 2, "environ": 0, "equal": 0, "equat": 5, "escap": 1, "estim": 5, "et": [1, 2, 3, 4, 6], "ev": [1, 2, 4, 5], "evalu": [4, 6], "event": 4, "exact": 2, "exaf": 0, "exampl": [5, 6], "exchange_correl": 5, "exp": 1, "expand": 4, "expans": [2, 4, 5, 6], "expect": [5, 6], "experi": 12, "experiment": [1, 2], "explain": 5, "explor": [4, 5, 6, 12], "extra": 5, "extrem": 2, "f": [4, 5], "factor": [4, 12], "fadlei": 5, "far": 6, "fast": 2, "fcc": [2, 4], "fcc111": 2, "featur": [0, 1, 12], "few": 6, "fewer": 0, "figur": [2, 3, 4, 5, 6], "file": [0, 1], "fill": 2, "filter": [5, 12], "final": [1, 12], "final_st": 6, "find": 3, "first": [2, 3, 4, 6], "fix": 6, "flexibl": 0, "float": 5, "focu": [0, 12], "folder": 3, "follow": [0, 1, 5, 6], "format": [2, 3, 5], "former": 1, "formula": [4, 6], "forthcom": 0, "fortran": 0, "forward": [6, 12], "forward_angl": 6, "forward_scatt": 6, "fr": 0, "frac": 5, "free": [4, 5], "fring": 2, "from": [0, 1, 2, 4, 5, 6, 12], "fromkei": 5, "fulli": 0, "function": [3, 4, 5], "fundament": 0, "g": 1, "gap": 4, "gener": [1, 4, 6], "geometri": 1, "gerber": 2, "get": [3, 5, 6, 12], "get_atom_index": [0, 1, 4, 5, 6], "get_paramet": 5, "get_phi_scan": [1, 5], "get_scattering_factor": 2, "get_theta_phi_scan": [2, 4], "get_theta_scan": [0, 3, 6], "give": 2, "given": [1, 5], "graphic": 3, "graze": 5, "great": 2, "greater": 4, "greatli": 0, "greber": 2, "group": 1, "grow": [4, 12], "gui": [0, 1], "h": 1, "h2o": 0, "ha": [4, 6], "half": 5, "hand": 2, "harmon": [0, 4], "have": [2, 6], "hbar": 5, "hdf5": 6, "height": 2, "help": [4, 5], "hemispher": [0, 4], "hemispherical_clust": [0, 1, 4, 5, 6], "here": [2, 3], "high": [2, 4, 6], "hilight": 5, "how": [1, 2, 3, 4, 5, 6, 12], "howev": 0, "http": 0, "i": [0, 1, 2, 3, 4, 5, 6], "i_": 5, "idea": [1, 5, 6], "identifi": 1, "ignor": 6, "illustr": [2, 6], "imax": 5, "imin": 5, "impact": 0, "import": [0, 1, 2, 3, 4, 5, 6], "imposs": 6, "improv": 3, "incid": 5, "includ": [0, 2], "incom": 1, "increas": [2, 4, 5, 6], "incres": 5, "index": [0, 6], "indic": 2, "inequival": [4, 12], "info": 5, "inform": [2, 5], "inner": 1, "inner_potenti": 1, "insid": 1, "int": 4, "intens": [0, 1, 2, 4, 5, 6], "intentis": 4, "interact": 0, "interfac": 0, "intern": 1, "interplai": 0, "interstitial_potenti": [1, 5], "introduc": 5, "invers": [0, 2, 4, 6], "io": 0, "iodata": 6, "iter": 3, "its": [2, 3], "itself": 4, "j": 6, "join": [], "k": 5, "k_b": 5, "keep": 3, "kind": [3, 4, 5], "kinet": [1, 2, 4, 6], "kinetic_energi": [1, 2, 3, 4, 5, 6], "known": 4, "kuznetsov": 4, "l": 3, "l_": 4, "lambda_": 5, "larg": [1, 2, 4, 5, 12], "larger": 4, "last": [2, 3], "later": 2, "latter": 5, "lattic": [4, 6], "layer": [1, 5], "lead": [2, 6], "learn": 12, "least": 6, "leed": 0, "left": 4, "legend": [1, 5, 6], "len": [2, 5], "length": [2, 3, 6], "let": [1, 2, 4], "lett": 2, "level": [0, 1, 2, 3, 4, 5, 6], "light": 1, "like": [0, 4], "line": [1, 2, 3, 4, 5], "linspac": [1, 5], "list": 2, "littl": 6, "ll": 2, "lmax": 4, "load": 6, "loadtxt": 1, "locat": 0, "long": 6, "longer": 6, "look": [1, 5], "loop": [2, 3], "loss": 5, "low": [1, 5], "lower": 5, "lure": 1, "m": [3, 4, 5, 6], "magnitud": 5, "mai": [1, 6], "mani": 6, "manipul": 0, "manual": 5, "marker": 5, "mass": 5, "match": 1, "materi": [1, 4], "mathr": 2, "matplotlib": [0, 1], "matrix": [2, 4, 6], "matter": 0, "max": [1, 3, 4, 5], "max_c": 3, "maxima": 2, "maximum": 3, "mean": [4, 5], "mean_free_path": 5, "mean_square_vibr": 6, "measur": 4, "memori": [0, 1, 2, 4, 6], "metal": 4, "method": 2, "metrial": 1, "mfp": 4, "middl": 0, "min": [1, 3, 5], "min_c": 3, "minim": 0, "minimum": 3, "minut": 6, "miss": 1, "model": [1, 4, 5, 12], "modul": [0, 5], "molecul": [0, 2], "moment": 0, "more": [0, 4, 5], "most": [0, 1, 2, 6], "msd": 5, "msspec": [1, 2, 3, 4, 5], "mt_radiu": [3, 6], "much": [0, 1, 4, 5], "muffin": 3, "muffintin_paramet": [1, 5], "multi": 4, "multipl": [0, 2, 5, 6, 12], "mutlipl": 3, "mx2": 4, "my_filt": 6, "n": [3, 4, 6], "natoli": 0, "nd": [4, 6], "ndif": 4, "need": [1, 3, 4, 5, 6, 12], "nest": 3, "new": [0, 3], "ni": 3, "no_filt": 6, "none": [2, 3, 4, 5], "normal": 1, "note": 6, "now": 1, "np": [1, 2, 3, 4, 5, 6], "npath": [], "nplane": 5, "number": [0, 2, 4, 5], "numer": 2, "numpi": [1, 2, 3, 4, 5, 6], "o": [2, 5], "object": [1, 5], "observ": 4, "off_cone_ev": 6, "offer": [6, 12], "one": [3, 5, 6], "ones": 5, "onli": [0, 2, 3, 6], "option": [3, 5, 6], "orang": [1, 6], "order": [2, 3, 5, 6], "orient": [1, 2], "other": [0, 2], "our": [2, 5], "out": 6, "over": [2, 3, 5], "p": 6, "p1654": 2, "p1760": 4, "p6784": 5, "p6785": 5, "p6791": 5, "p8275": 3, "packag": 2, "paper": [1, 2, 3, 4, 5, 6], "paragraph": 5, "paramet": [1, 4, 5, 6], "path": [2, 4, 5, 12], "path_filt": 6, "pattern": 4, "peak": 4, "ped": [2, 3, 5, 6], "perform": [5, 12], "phagen": 0, "phase": [0, 5], "phenom": 6, "phi": [1, 2, 4, 5, 6], "photodiffract": 2, "photoelectron": [0, 1, 2, 4, 5, 12], "phy": [1, 2, 3, 5], "physic": 5, "pi": 4, "planck": 5, "plane": [0, 1, 4, 5], "plot": [0, 3, 5], "plt": [0, 1], "pm": 2, "point": 1, "polar": [1, 2, 3, 5, 6], "pop": [2, 3], "popup": [1, 2], "posit": [2, 3], "possibl": [2, 6], "potenti": [1, 5], "practic": 5, "precis": 4, "preiou": 4, "pretti": 0, "previou": [0, 6], "previous": 2, "print": 4, "probe": 2, "problem": 2, "process": [0, 6], "produc": 2, "program": 0, "project": 2, "pronounc": 5, "propag": 0, "proport": 6, "propos": [2, 5], "provid": 4, "publish": [2, 5], "put": 2, "pyplot": [0, 1], "python": [0, 5], "qualit": 5, "quantit": 2, "question": [3, 6], "quit": 2, "quiz": [0, 1, 2, 3, 4, 5, 6], "r": [0, 4, 5, 12], "r16061": 1, "ra_cutoff": 6, "radian": 3, "radiu": [3, 4, 12], "rai": [1, 5], "rang": [3, 4, 5], "rather": 2, "rd": [0, 6], "read": 0, "real": 5, "realli": 0, "recent": 0, "red": 2, "reduc": [5, 6], "ref": 1, "refer": 1, "refract": 1, "regardless": 5, "regim": [6, 12], "rehr": [4, 6], "reject": 6, "rel": 5, "relat": [1, 6], "rememb": 6, "remov": [0, 1, 3], "repres": [2, 5], "represent": 2, "reproduc": 5, "requir": 6, "respect": [1, 2, 3], "result": [0, 1, 2, 3, 5, 6], "retriev": 5, "return": 5, "rev": [1, 2, 3, 5], "rhodium": 2, "right": 4, "rotat": [1, 3, 4], "rotate_cel": [1, 4], "roughli": 5, "row": 4, "run": [0, 3], "sa73": 1, "same": [0, 3, 6], "sampl": [1, 4, 5], "satisfactori": [1, 2], "save": 0, "scale": 3, "scan": [2, 3, 4, 5, 6], "scatter": [0, 5, 12], "scattering_ord": [2, 3, 4, 5, 6], "sci": 4, "script": [2, 3, 6], "se": 4, "second": [4, 5, 6], "section": 5, "see": [1, 2, 5, 6], "seen": 6, "select": [1, 5, 6], "sensit": 2, "sequenti": 6, "seri": [4, 6], "serial": 6, "set": [0, 3, 5, 6, 12], "set_atom": [0, 2, 3, 4, 5, 6], "set_plot_opt": [3, 5], "sever": 6, "shape": [1, 2, 5, 6], "shift": [0, 5], "should": [1, 4], "show": 0, "shutdown": [1, 3, 5], "si": [], "signal": [0, 2, 5, 6], "signific": 1, "significantli": 6, "silver": 1, "sim": 5, "similar": 6, "simpl": [3, 5], "simplist": 2, "simul": [0, 2, 12], "sin": 5, "sinc": [0, 4, 5, 6, 12], "singl": [4, 5, 6, 12], "sinl": 2, "site": 2, "size": [1, 2, 4, 6], "small": [1, 2, 4, 5], "smaller": 1, "snipet": 4, "so": [2, 6], "softwar": 12, "some": [0, 1, 2, 3, 4, 5, 6], "soon": 2, "sourc": 1, "source_paramet": [1, 5, 6], "spec": 0, "speci": 2, "specif": 1, "spectral": 12, "spectrosc": 6, "spectroscopi": [0, 1, 2, 3, 4, 5, 6, 12], "spectroscopy_paramet": 6, "spheric": [0, 4], "sqrt": 3, "squar": 5, "stack": 3, "start": [1, 2, 3, 4, 12], "step": [0, 1], "stereograph": 2, "store": [3, 4, 5], "straightforward": 0, "strongli": 4, "structur": [0, 4, 5], "studi": 2, "substitut": 1, "substrat": [5, 12], "subsurfac": 6, "suit": 0, "sum": 5, "sum_": 6, "surf": 4, "surfac": [1, 2], "symbol": [1, 3], "synchrotron": 1, "s\u00e9billeau": 0, "t": [1, 2, 3, 5], "tag": 4, "take": [0, 1, 4, 6], "taken": 6, "tb": 4, "td": [], "techniqu": [0, 12], "temp": 1, "temperatur": 12, "temporari": 3, "th": [3, 6], "than": [1, 5, 6], "thank": 2, "thei": [2, 5], "them": 0, "theori": 12, "thermal": 5, "theses": 6, "theta": [1, 2, 3, 4, 5, 6], "theta_d": 5, "thi": [0, 1, 2, 3, 4, 5, 6], "thick": 4, "those": [0, 1], "threshold": 6, "through": 12, "ti": 4, "ti2p": 4, "time": [0, 4, 6], "timedelta": [], "tin": 3, "titl": [2, 3, 5], "tl_threshold": 6, "tmatrix_paramet": [5, 6], "togeth": 12, "too": [1, 2, 4, 6], "took": 6, "tool": 0, "top": [1, 2], "total": [0, 5, 6], "toward": 2, "transit": 4, "treat": 6, "trehan": 5, "tricot": 6, "trilay": 4, "true": [0, 1, 4, 5, 6], "try": [1, 2, 4, 6], "tweak": 3, "two": [0, 1, 2, 5, 6], "txt": 1, "type": 4, "typic": [0, 4, 5], "u": 4, "u0000212b": [], "u_j": 5, "underli": 2, "unit": 4, "up": [0, 3, 6, 12], "updat": 5, "us": [0, 1, 2, 3, 4, 5, 6, 12], "use_debye_model": 5, "useful": 4, "usual": 4, "utf": 3, "utf8": 6, "util": [0, 1, 4, 5, 6], "v": [3, 4], "vacuum": 4, "valu": [2, 4, 5, 6], "van": 4, "vari": [2, 5], "variabl": [1, 3], "variat": [2, 5], "variou": [2, 12], "veri": [2, 6], "version": 0, "versu": 5, "vibrat": 5, "vibration_sc": 5, "vibrational_damp": [5, 6], "view": [0, 1, 2, 3, 4, 5, 6], "visual": [0, 1, 2, 4], "volum": 4, "wa": 6, "waal": 4, "wai": 5, "waller": 5, "want": [3, 5], "water": 0, "wave": [0, 2, 4], "we": [0, 1, 2, 3, 4, 5, 6, 12], "well": [0, 3, 4, 5], "were": 6, "what": [0, 2, 4, 6], "when": [1, 5, 6], "where": [2, 3, 4, 5, 6], "which": [2, 6], "while": 3, "whose": 6, "why": 6, "wide": 2, "window": 3, "within": 6, "without": [0, 6], "word": 12, "work": [0, 5], "would": [1, 4, 6], "written": 0, "x": [1, 3, 5], "x_alpha_r": 5, "xlabel": 5, "xpd": [4, 12], "xraysourc": [5, 6], "xu": 3, "y": [1, 3], "year": [], "yellow": 6, "ylabel": 5, "ylim": 3, "you": [0, 1, 2, 3, 4, 5, 6, 12], "your": [1, 2, 3, 5, 6], "z": [1, 2, 3, 4], "z0": 2, "z_0": 2, "zi": 2, "zip": [], "\u00b5": 6, "\u00e5": [2, 4, 6]}, "titles": ["Activity 1: Getting started", "Activity 2: Setting up the \u201cexperiment\u201d", "Activity 3: Adsorbates and the single scattering approach", "Activity 4: From single scattering to multiple scattering", "Activity 5: Multiple scattering in the forward scattering regime", "Activity 6: Effect of the temperature", "Activity 7: Large clusters and path filtering", "Activity 8: Inequivalent emitters and the XPD of a substrate", "Activity 9: Comparing simulation and experiment with R-factors", "Activity 10: Auger Electron Diffraction", "Activity 11: Spectral radius and convergence", "Final word", "Welcome to this small MsSpec tour"], "titleterms": {"001": [0, 2, 6], "1": 0, "10": 9, "11": 10, "111": 1, "1t": 4, "2": [1, 4], "3": 2, "4": 3, "5": 4, "6": 5, "7": 6, "8": 7, "9": 8, "The": [5, 6], "activ": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "adsorb": 2, "ag": 1, "an": 1, "applic": 6, "approach": 2, "atom": 0, "auger": 9, "azimuth": 1, "backscatt": 2, "barebon": 0, "build": [0, 1], "bulk": 5, "cluster": [0, 1, 4, 6], "compar": 8, "comput": [1, 2], "converg": 10, "creat": 4, "cu": 0, "deep": 6, "developp": 11, "diffract": 9, "due": 2, "effect": [4, 5], "electron": 9, "emitt": 7, "exampl": 1, "experi": [1, 8], "factor": [2, 8], "filter": 6, "final": 11, "forward": 4, "from": 3, "futur": 11, "get": 0, "growth": 1, "how": 11, "induc": 1, "inequival": 7, "instal": 11, "interfer": 2, "larg": 6, "msspec": [0, 6, 11, 12], "multipl": [3, 4], "number": 6, "order": 4, "our": 11, "oxygen": 2, "path": 6, "ped": [0, 4], "plane": 6, "polar": 0, "r": 8, "radiu": 10, "regim": 4, "rh": 2, "sampl": 6, "sb": 1, "scan": [0, 1], "scatter": [2, 3, 4, 6], "script": [0, 5], "set": 1, "shape": 0, "si": 6, "simul": 8, "singl": [2, 3], "small": 12, "smooth": 1, "spectral": 10, "start": 0, "sub": 4, "substrat": 7, "surfac": [4, 5], "system": 0, "temperatur": 5, "thi": 12, "tise": 4, "tise2": 4, "tour": 12, "up": 1, "welcom": 12, "word": 11, "work": 11, "xpd": 7}}) \ No newline at end of file diff --git a/msspecbook/_build/jupyter_execute/Activity05/Activity05.ipynb b/msspecbook/_build/jupyter_execute/Activity05/Activity05.ipynb index 8459e16..73d41ea 100644 --- a/msspecbook/_build/jupyter_execute/Activity05/Activity05.ipynb +++ b/msspecbook/_build/jupyter_execute/Activity05/Activity05.ipynb @@ -266,7 +266,7 @@ "\n", "\n", "\n", - " \n", + " \n", " \n", " \n", " \n", @@ -634,7 +634,7 @@ " \n", "
\n", "
\n", - " \n", + " \n", " \n", " \n", " \n", @@ -642,7 +642,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -698,7 +698,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -706,7 +706,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -754,7 +754,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -878,7 +878,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.11.13" } }, "nbformat": 4, diff --git a/msspecbook/_build/jupyter_execute/Activity06/Activity06.ipynb b/msspecbook/_build/jupyter_execute/Activity06/Activity06.ipynb index 4ab9cb6..afa19b3 100644 --- a/msspecbook/_build/jupyter_execute/Activity06/Activity06.ipynb +++ b/msspecbook/_build/jupyter_execute/Activity06/Activity06.ipynb @@ -133,7 +133,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.11.13" } }, "nbformat": 4, diff --git a/msspecbook/_build/jupyter_execute/Activity07/Activity07.ipynb b/msspecbook/_build/jupyter_execute/Activity07/Activity07.ipynb index c80e6c1..db8f15b 100644 --- a/msspecbook/_build/jupyter_execute/Activity07/Activity07.ipynb +++ b/msspecbook/_build/jupyter_execute/Activity07/Activity07.ipynb @@ -103,7 +103,8 @@ ":::{figure-md} filters-fig\n", "\"path\n", "\n", - "Some examples of scattering paths with `forward_scattering`, `backward_scattering` and `distance` filters selected. The accepted forward angle is 45°, the accepted backscattering angle is 20° and the threshold distance is $6a_0$ where $a_0$ is the lattice parameter. Note that the yellow path is rejected but if the `off_cone_events` option is set to a value > 1, then it could have been accepted." + "Some examples of scattering paths with `forward_scattering`, `backward_scattering` and `distance` filters selected. The accepted forward angle is 45°, the accepted backscattering angle is 20° and the threshold distance is $6a_0$ where $a_0$ is the lattice parameter. Note that the yellow path is rejected but if the `off_cone_events` option is set to a value > 1, then it could have been accepted.\n", + ":::" ] }, { @@ -113,7 +114,9 @@ "source": [ "## Application to a deep plane in a Si(001) sample\n", "\n", - "The following script will compute contribution of all the planes of a Si(001) substrate to get the total photoelectron intensity of a Si(2s) polar scan. \n", + "The following script will compute the contribution of a Si(2p) atom in the 4{sup}`th` plane of a Si(001) cluster at scattering order 3.\n", + "\n", + "Taking into account all scattering paths took 15 minutes to compute.\n", "\n", "(msd-paper)=\n", ":::{seealso}\n", @@ -126,14 +129,46 @@ "\n", ":::{tab-item} Quiz\n", "\n", - "The script is almost completed, try to define path filtering options and compare results with and without filtering for emitter in plane n° 3 at scattering order 2.\n", + "The following script is almost completed, try to define path filtering options (no backscattering, accept all paths with forward angles < 40° and reject paths longer than the diameter of the cluster).\n", "\n", - "Compute the contribution of plane n° 7\n", + "```{literalinclude} Si001.py\n", + ":lineno-match:\n", + ":emphasize-lines: 37-41\n", + "```\n", + "\n", + "1. How long was your calculation ?\n", + "2. How does it compare to the calculation with **all** scattering paths up to order 3 ?\n", + "3. What is the proportion of scattering paths of order 3 that were actually taken into account ?\n", "\n", ":::\n", "\n", "::::" ] + }, + { + "cell_type": "markdown", + "id": "19fbd486-b0c1-450c-a00d-79984945aefd", + "metadata": {}, + "source": [ + "```{toggle}\n", + "The calculation took few seconds and the result is very close to the calculation with all scattering paths.\n", + "\n", + "Only 0.01% of 3{sup}`rd` order paths were actually taken into account\n", + "\n", + ":::{figure-md} si-fig\n", + "\"Si\n", + "\n", + "Si(2p) polar scan (contribution of an emitter in the 4{sup}`th` plane with all 7 114 945 scattering paths taken into account (orange curve), and for only 1525 filtered paths (blue curve).\n", + "\n", + ":::\n", + "\n", + ":::{literalinclude} Si001_completed.py\n", + ":lineno-match:\n", + ":emphasize-lines: 37-41\n", + ":::\n", + "\n", + "``` " + ] } ], "metadata": { @@ -152,7 +187,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.11.13" } }, "nbformat": 4,