Commit Graph
36 Commits
Author SHA1 Message Date
bartels-rausch 43889de25b Import is now backward compatible with files dating 2018 2024-04-23 12:50:06 +02:00
bartels-rausch 3f0d9be72a Add a function to merge two tables that might have different columns. Both sets of columns are preserved 2024-02-29 16:15:00 +01:00
bartels-rausch f61e1113b0 Added more options to exclude data in background fit and made the call to nappFitGAussXps more consitent 2024-02-20 15:17:04 +01:00
bartels-rausch 81d49ccbbd Added exponential fit and divide for binding energy scale. Needs testing. 2024-01-27 15:32:27 +01:00
bartels-rausch 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
2024-01-26 09:06:53 +01:00
bartels-rausch 7729717da5 small bug fixes and 2023-11-28 14:36:44 +01:00
bartels-rausch 8b55810fc6 Added exponential fit. Added divide by background to normalise intensity. 2023-11-16 07:17:37 +01:00
bartels-rausch 4ad9ccbd35 Added Gauss Fit to determine peak positions. Uses nappFitGaussXps.m 2023-11-16 07:16:11 +01:00
bartels-rausch 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. 2023-11-16 07:14:25 +01:00
bartels-rausch 1aa130982f Added Gauss Peak Fitting to XPS shift determination. First implementation for positionWidth contrained fit. Not yet documented. Not yet fully tested. WIP 2023-11-09 07:37:10 +01:00
bartels-rausch b23894e06c initial files 2023-10-31 11:16:30 +01:00
bartels-rausch 62181940c5 Small debugging 2023-10-31 11:12:17 +01:00
bartels-rausch 0337ecc260 Merge branch 'main' of https://gitlab.psi.ch/5505/functionsMatlab 2023-10-31 10:06:36 +01:00
bartels-rausch 419fd691ee Move from SWITCH to GITLAB. Copy files with local changes to this project from Switch folder. GITLAB is now most recent and updated. 2023-10-31 10:04:02 +01:00
bartels-rausch bbcabaa4bc Add new directory for lopap procedures 2023-10-31 10:00:02 +01:00
florez_j 895585a206 Updated to admit changes performed on save_table_as_hdf5.m 2023-10-06 15:40:36 +02:00
florez_j 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.
2023-10-06 15:25:21 +02:00
florez_j 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. 2023-08-18 14:24:47 +02:00
florez_j 596a35f7f1 Modified read_hdf5_as_table.m to read String entries as chars. 2023-08-18 11:47:20 +02:00
florez_j 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. 2023-08-15 13:25:15 +02:00
florez_j 384e5e62d5 Made some modifications to preserve original ordering of the table's columns/vars. 2023-08-15 13:18:40 +02:00
florez_j 5c3679da42 Removed h52table.m and table2h5. These have been replaced by read_hdf5_as_table.m and save_table_as_hdf5.m. 2023-08-15 08:48:07 +02:00
florez_j 74b117f8c6 Renamed h52table.m and table2h5.m as read_hdf5_as_table.m and save_table_as_hdf5.m. These reflect the scripts' functionality. 2023-08-15 08:46:17 +02:00
florez_j 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. 2023-08-14 14:50:49 +02:00
bartels-rausch 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. 2023-08-10 09:54:32 +02:00
florez_j ae2c3e9fc6 Deleted nappIce. Required functions now in beamtime. 2023-08-10 09:45:01 +02:00
florez_j f5385a98c0 Revert "Deleted unnecessary files."
This reverts commit a27e9e459a.
2023-08-10 09:19:49 +02:00
florez_j 057fb9ae97 Revert "Removed more unnecessary files."
This reverts commit 56d0141468.
2023-08-10 09:15:18 +02:00
florez_j 1b8674441e Removed more unnecessary files. 2023-08-09 16:38:24 +02:00
florez_j 56d0141468 Removed more unnecessary files. 2023-08-09 16:37:29 +02:00
florez_j c38397ef98 Removed more unnecessary files. 2023-08-09 16:35:58 +02:00
florez_j 13fdc97f3b Removed more unnecessary files. 2023-08-09 16:34:08 +02:00
florez_j a27e9e459a Deleted unnecessary files. 2023-08-09 16:32:21 +02:00
florez_j d64e4d5916 Restructured folder structure and deleted irrelevant scripts. 2023-08-09 16:22:46 +02:00
florez_j 1c141cf1c0 Added inital code base. 2023-08-09 15:02:10 +02:00
florez_j 0a38de73c3 Initial commit 2023-08-09 14:53:37 +02:00