diff --git a/pure code not instalable as environment/PDF_generator.py b/pure code not instalable as environment/PDF_generator.py index 3b9cbcd61e5de92efdb938442e1947cc895a4f22..91ff64401ffdcdc1eb543474503e91c0a76c2313 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