From e1797d4b07da8bed41adecaf88194a1c8147961c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=B6ne=2C=20Tjark=20Leon=20Raphael?= <tjark.leon.raphael.groene@uni-hamburg.de> Date: Wed, 2 Apr 2025 09:50:53 +0000 Subject: [PATCH] Update file PDF_generator.py --- pure code not instalable as environment/PDF_generator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pure code not instalable as environment/PDF_generator.py b/pure code not instalable as environment/PDF_generator.py index 3b9cbcd..91ff644 100644 --- a/pure code not instalable as environment/PDF_generator.py +++ b/pure code not instalable as environment/PDF_generator.py @@ -119,9 +119,8 @@ endScan = bg.platoend_index # We save everything for the next time to a .mat file # bg.saveReload(rootdir + '/processed/' + meas_sampleName + '/Reload_files/bg_Reload/') -# Norm was previously used to normalize the data, however this alters the data too much and now it just crops Q to Qmaxinst -bg.Filter('whittaker',10000,3) # Smoothing of the TS/XRD data with a wittaker approche --> Reference: https://github.com/mhvwerts/whittaker-eilers-smoother -bg.outputDatFile(rootdir + '/processed/' + meas_sampleName + '/Dat_files/bg_Dat/') # Save the files for the BG subtration as .dat +# Save the files for the BG subtration as .dat +bg.outputDatFile(rootdir + '/processed/' + meas_sampleName + '/Dat_files/bg_Dat/') # Here we extract some of the data from the class to use it later, # when we work with the sample and not the BG -- GitLab