From 74dbdda5e819f7038506700c0154879c7d51440e Mon Sep 17 00:00:00 2001 From: ThorBarRa Date: Sun, 7 Dec 2025 12:41:19 +0100 Subject: [PATCH] Added a list of all functions and added information on a function to join data tables with differences in column number and type. --- beamtime/readme.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/beamtime/readme.md b/beamtime/readme.md index 4f160a6..f4a6e17 100644 --- a/beamtime/readme.md +++ b/beamtime/readme.md @@ -485,6 +485,29 @@ navigating to the `beamtime` function folder ๐Ÿงช in MATLAB and running: - `help beamtime` ๐Ÿ’ก +`````text +Contents of beamtime: + + Napp_RH_p - helper function that calculates the relative humidity for a given temperature and water pressure. + Napp_p_RH - helper function that calculates the partial pressure of water for a given temperature and relative humidity. + Napp_p_ice - marks the vapor pressure at a given temperature in a plot of the vapor pressure of ice between 200-270 K + addPhotonEnergy - adds the Xray photon energy for selected measurements to the data table + addSampleNotes - adds a sample description to the data + nappAlignImages - shifts each sequence iteration to align images with a drifting kinetic energy of the PE features. + nappAnnotateSurvey - is a small helper function that adds region labels to a survey in the topmost figure. + nappBackground - Removes background from photoelectron or XAS spectra. + nappBindingEnergyXps - calculates the binding energy scale for spectra based on the kinetic energy shift. + nappCombineSpectra - Combine multiple PE or NEXAFS spectra through averaging or summation. + nappCopyShift - Copy energy shift from one XPS region to spectra of the same sequence but other regions. + nappDetermineShiftXps - Determine energy shift calibration from XPS images or spectra. + nappFileList - Import spectroscopy data (XPS, NEXAFS) from a beam time folder into data table. + nappFitGaussXps - fits photoelectron (PE) spectra with up to 4 or 5 Gaussian peaks. +nappFitGaussXpsDevelopment - Playground to add Shirley background :-). + nappGenerateSpectra - Generate 1D spectra from image spectra. + nappPlot - NAPPLOT Plot photoelectron spectra and NEXAFS images from a data table. + nappScale - Normalize XPS and NEXAFS spectra. +`````` + You can access a more detailed description of each function via standard MATLAB commands: - `help nappFunctionAbc` ๐Ÿ” @@ -495,7 +518,8 @@ are a good starting point for your work with nappMATLAB ๐Ÿš€: - **importData.m** shows how to import and annotate SLS data.๐Ÿ“ˆ๐Ÿงช - **generateSpectra.m** gives examples how to plot data allready during beamtimes ๐Ÿ“Š -- **HowDoI.m** lists solutions for most common beamtime wishes on data processing ๐Ÿง  +- **HowDoI.m** lists solutions for most common beamtime wishes on data processing ๐Ÿง . + It includes a description of how to merge data tables with different number and type of colums. - **gaussFit.m** fitting during beamtimes helps, here is how ๐Ÿ”ฌ This assumes you are already familiar with the basic MATLAB tools and usage ๐Ÿงฐ: