d12594598e
Changed selection rule. Now works not only with numbers, but with any text. Character that the name starts with are used to find matches now.
bartels-rausch2026-05-09 11:37:36 +02:00
43ac9c00bb
small bug fixes. CopyShift now works with any filename, not just numbers as before
bartels-rausch2026-05-09 07:31:44 +02:00
d72e8b4ddc
Added a model where Shirley and PV eta are shared for peaks with shared width and relative position. This is usefull for adv. Carbon.
bartels-rausch2026-05-08 20:43:17 +02:00
5767a2e26d
Added to use max intensity from reference spectra as default. using the peak fit area is now an option.
bartels-rausch2026-04-10 08:58:19 +02:00
e5226802a3
Add project dependency tracking system with yEd and PNG export
bartels-rausch2026-04-02 10:56:28 +02:00
873377ce80
Added some helpers and moved the older verions to a specific folder
bartels-rausch2026-03-25 12:16:28 +01:00
f15eadac6d
Remove obsolete FileList.mat and nappScale.m. nappScale is replaced by nappNorm.m which does however not yet include the NEXAFS processing. WIP
bartels-rausch2026-03-25 12:14:27 +01:00
091cf00e77
Refactor energy calibration pipeline, introduce modern arguments blocks, and add universal logging
bartels-rausch2026-03-25 12:07:49 +01:00
b4cb748cfa
updated information on how to copy without loosing file dates
bartels-rausch2026-03-22 22:15:59 +01:00
2377e3b1f2
Refactor Shirley background to fix kinetic energy scaling and solver convergence
bartels-rausch2026-03-22 22:07:55 +01:00
92b5fad252
added instructions on how to clone a git repository
leeman_n2026-03-13 10:45:34 +01:00
fffa2fb334
Added info how to copy files without changing the timestamps
bartels-rausch2026-03-12 14:12:57 +01:00
a26847b332
Good to know I'm smarter than google gemini. That code did not run. fixed it. Also fixed a time issue. Start aquisition is now taken from the logged time in the data file or if that is not present the OS creation date. the end aquisition time is the last modification time of the os for that file.
bartels-rausch2026-03-12 13:35:27 +01:00
d7bc516442
Bug fix. The excitation energy for our offline XPS is wrong in the xy files. Set it to 1253.6 eV during import
bartels-rausch2026-03-12 10:26:31 +01:00
00d34110db
MAJOR UPDATE: Add support for Specs .xy files from offline XPS (Soleil/Luca)
bartels-rausch2026-03-12 10:08:47 +01:00
a4ba161146
When using linear fit, the plot somehow reversed the excluded points. This is fixed now, those data labeled excluded are indeed excluded from the fit. Second, the input is now the same for kinetic and binding energy. 2 salars define the range to be excluded (the central peak), adding additional energies add excluded regions at the edge of the spectra.
bartels-rausch2026-03-05 13:04:49 +01:00
0e07d2972b
Finally, several spectra can be fitted with same constraints again...function now loops through any number of spectra
bartels-rausch2026-03-05 11:11:37 +01:00
3a7ae3dcbd
Added possibility to exlclude peak, plus a range at end of the spectrum. Updated the documentation. Bug fixes.
bartels-rausch2026-03-05 07:32:53 +01:00
d521db8cb8
Now uses helper function to merge data tables with different columns
bartels-rausch2026-03-04 17:04:02 +01:00
5402439ac9
Adds data origin (that is which spectra are combined) and mean of sample settings
bartels-rausch2026-03-04 17:02:45 +01:00
ad7ac0e6ee
Bug fix: Now handles also ibw files, not only h5.
bartels-rausch2026-03-03 11:32:47 +01:00
07e414c3ef
Now, the function can also deal with columns that have different numbers of entires (such as from peak fitting results)
bartels-rausch2026-03-02 14:27:28 +01:00
23e49b4330
Addes a model for gas and condensed 2p spectra (2 doublets). Small improvements and bug fixes
bartels-rausch2026-03-02 14:26:05 +01:00
6b3c96ff27
nappFileList now supports image formats of new camera. createBEamtimeFolder is a little helper to create empty folders in the beamtime folder. Folder PShell added for h5 data that are not NEXAFS but XPS aquired with PShell.
bartels-rausch2026-02-26 13:08:16 +01:00
484648b648
Added a function to export figure data into ascii txt files (and to plot ascii text files to check if export worked)
bartels-rausch2025-12-07 16:05:59 +01:00
5dcb0a9119
Added list of helper functions in utils subfolder
bartels-rausch2025-12-07 12:59:34 +01:00
74dbdda5e8
Added a list of all functions and added information on a function to join data tables with differences in column number and type.
bartels-rausch2025-12-07 12:41:19 +01:00
38a62bf560
Updated the HowDoI: Added how to merge tables with different columns into one.
bartels-rausch2025-12-07 11:41:12 +01:00
bbfab45787
Added Example Matlab script with most common during beamtime processing
bartels-rausch2025-12-05 15:35:30 +01:00
7677ad8668
Residuals are now plotted. And added the option to change weight for a section of data in fitting routine
bartels-rausch2025-12-01 12:04:35 +01:00
aac4e834c3
added Auger-Meitner plots and interactive NEXAFS
bartels-rausch2025-11-24 19:08:38 +01:00
43889de25b
Import is now backward compatible with files dating 2018
bartels-rausch2024-04-23 12:50:06 +02:00
3f0d9be72a
Add a function to merge two tables that might have different columns. Both sets of columns are preserved
bartels-rausch2024-02-29 16:15:00 +01:00
f61e1113b0
Added more options to exclude data in background fit and made the call to nappFitGAussXps more consitent
bartels-rausch2024-02-20 15:17:04 +01:00
81d49ccbbd
Added exponential fit and divide for binding energy scale. Needs testing.
bartels-rausch2024-01-27 15:32:27 +01:00
a61f4b7141
Bug fix in using the input parser of the NappFitGaussXPS.m function. This impacts the functions calls in all scripts and functions git push
bartels-rausch2024-01-26 09:06:53 +01:00
8b55810fc6
Added exponential fit. Added divide by background to normalise intensity.
bartels-rausch2023-11-16 07:17:37 +01:00
4ad9ccbd35
Added Gauss Fit to determine peak positions. Uses nappFitGaussXps.m
bartels-rausch2023-11-16 07:16:11 +01:00
3a0a97fe88
Added model with 5 features: acid-base, gas-phase, acid-base. Both acid-base (feature 1,2,4,5) have one fixed and one relative BE. Position and width of gas-phase feature is unconstrained.
bartels-rausch2023-11-16 07:14:25 +01:00
1aa130982f
Added Gauss Peak Fitting to XPS shift determination. First implementation for positionWidth contrained fit. Not yet documented. Not yet fully tested. WIP
bartels-rausch2023-11-09 07:37:10 +01:00
419fd691ee
Move from SWITCH to GITLAB. Copy files with local changes to this project from Switch folder. GITLAB is now most recent and updated.
bartels-rausch2023-10-31 10:04:02 +01:00
895585a206
Updated to admit changes performed on save_table_as_hdf5.m
florez_j2023-10-06 15:40:36 +02:00
bb09c5fe28
Added two features. 1) to facilitate python access, we now preprocess input_table so that string variables are changed as cellstr and multicolumn variables (e.g., scientaEkinRange_eV) are splitted into independent variables. 2) we now support when there is no dataset columns (arrays) by creating a dummy dataset called DS_EMPTY. This is required to create a new h5 file for the first time using h5create.
florez_j2023-10-06 15:21:26 +02:00
ac7f34a30a
Modified output_table to be created from cell array using cell2table() instead of array2table(). This extracts the contents of each cell, facilitating later column based filtering ops.
florez_j2023-08-18 14:24:47 +02:00
596a35f7f1
Modified read_hdf5_as_table.m to read String entries as chars.
florez_j2023-08-18 11:47:20 +02:00
c23464c795
Modified code to write dataset and attributes' names with the indices of the original table's columns. The indices can then inferred by examining the names.
florez_j2023-08-15 13:25:15 +02:00
384e5e62d5
Made some modifications to preserve original ordering of the table's columns/vars.
florez_j2023-08-15 13:18:40 +02:00
5c3679da42
Removed h52table.m and table2h5. These have been replaced by read_hdf5_as_table.m and save_table_as_hdf5.m.
florez_j2023-08-15 08:48:07 +02:00
74b117f8c6
Renamed h52table.m and table2h5.m as read_hdf5_as_table.m and save_table_as_hdf5.m. These reflect the scripts' functionality.
florez_j2023-08-15 08:46:17 +02:00
4022e4920d
Implemented functions h52table.m and table2h5.m. These should encode a Matlab table in a certain hdf5 format and reconstruct/unpack the resulting hdf5 file into the initial table.
florez_j2023-08-14 14:50:49 +02:00
5cd83455f6
Deleted Add-Ons Folder. Add-ons and helper functions are now in utils folder. This folder only holds those functions that are still used.
bartels-rausch2023-08-10 09:54:32 +02:00
ae2c3e9fc6
Deleted nappIce. Required functions now in beamtime.
florez_j2023-08-10 09:45:01 +02:00