Skip to content
Snippets Groups Projects
Commit 576c04a3 authored by Gröne, Tjark Leon Raphael's avatar Gröne, Tjark Leon Raphael
Browse files

Update 2 files

- /pure code not instalable as environment/PDF_generator.py
- /pure code not instalable as environment/PDF_plotter_insitu.py
parent 4fe43e59
Branches
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ This Code is used to import integrated .chi data and processes it to to the PDF
from backbone.PDF_generation_class import PDF_generation_class
from backbone.settings.routines.PDF_generation_routine import *
from copy import copy
import pathlib
rootdir = str(pathlib.Path(__file__).parent.resolve())
......@@ -178,7 +179,7 @@ meas.PrintLogFile(rootdir + '/processed/' + meas_sampleName + '/Log_files/meas_t
#~~~~~~~~~~~~~~~~~~ XRD Phase Check ~~~~~~~~~~~~~~~~~~~~~~~#
# We want to plot the BG subtracted data for the phase check therefore we change I to I_subtracted
meas.I = meas.subtracted_I
meas.I = copy.deepcopy(meas.subtracted_I)
# with baseline correction and filtering the data is easier to interpret:
meas.baselineCorrection(40)
......
......@@ -47,11 +47,8 @@ path_to_Temp = rootdir + "/processed/" + sample_name + "/Reload_files/meas_Reloa
# path_to_Temp = rootdir + "/processed/" + sample_name + "/Reload_files/meas_Reload/zns_2p_10_2.mat"
# Here we can choose which type of PDF generation (1-3) we want to look at.
# Commenting / Uncommenting is enought here, the paths are fixed to the sample name.
path = rootdir + "/processed/" + sample_name + "/PDF_files/meas_type1_uncorrected_PDF/" #There exsist 3 methods to generate the PDF
# path = rootdir + "/processed/" + sample_name + "/PDF_files/meas_type2_corrected_prior_PDF/"
# path = rootdir + "/processed/" + sample_name + "/PDF_files/meas_type3_corrected_after_PDF/"
# Here we can choose which type of PDF generation we want to look at.
path = rootdir + "/processed/" + sample_name + "/PDF_files/meas_type1_uncorrected_PDF/"
# Here the everthing is transfered to the class used for plotting the PDF:
# One can flip (y = -y) certain scans by using -- , reverse_data=[1,7], reverse_style="list") -- if nessicary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment