### Processing Properties ### GEO_FACTOR = (400/200) #Geometry factor of the device - what's the conversion from resistance to resistivity? (\rho = R * (Geo_factor) = R * (W / L)) DIRPATH = os.getcwd() + RAW_DATA_DIR files = [f for f in os.listdir(DIRPATH) if os.path.isfile(DIRPATH + "\\" + f) and f[di[0]:di[1]] == FILE_DESCRIPTOR] ### REMOVING EXTREMA FILES DUE TO UNFITTABLE files = files[0:34] #TODO REMOVE specific for Devs4_03_Run04_V09-V08 and Devs4_03_Run04_V08-V07 #### BEGIN ANALYSIS #### # files=[files[0]] #Parse Data file_data_objs = [] for file in files: data_obj = RVG_file(filepath=DIRPATH + "\\" + file) fig = data_obj.plot_all() file_data_objs.append(data_obj) ######################################################################################## #### Setup graphing for Phonon Analysis ##### ######################################################################################## #Create graphic directory for mobility target2 = os.getcwd() + RAW_DATA_DIR + "\\" + FILE_DESCRIPTOR + "\\" + "03 Phonon Analysis (Ave & Fitted)" + "\\" target3 = target2 + "\\" + "Dirac Point Fitting" + "\\" if not os.path.isdir(target2): os.mkdir(target2) if not os.path.isdir(target3): os.mkdir(target3)
target = os.getcwd() + RAW_DATA_DIR + "\\" + FILE_DESCRIPTOR + "\\" if not os.path.isdir(target): #Create directory. os.mkdir(target) ### Processing Properties ### GEO_FACTOR = (400/200) #Geometry factor of the device - what's the conversion from resistance to resistivity? (\rho = R * (Geo_factor) = R * (W / L)) DIRPATH = os.getcwd() + RAW_DATA_DIR files = [f for f in os.listdir(DIRPATH) if os.path.isfile(DIRPATH + "\\" + f) and f[di[0]:di[1]] == FILE_DESCRIPTOR] #### BEGIN ANALYSIS #### # files=[files[0]] #Parse Data file_data_objs = [] for file in files: data_obj = RVG_file(filepath=DIRPATH + "\\" + file) # fig = data_obj.plot_all() file_data_objs.append(data_obj) ### Phonon RVGVT ANALYSIS ### #Create graphic directory for mobility target2 = os.getcwd() + RAW_DATA_DIR + "\\" + FILE_DESCRIPTOR + "\\" + "01 Phonon Analysis" + "\\" if not os.path.isdir(target2): os.mkdir(target2) #Setup graphing ud_labels = ["→","←"] plt.rcParams.update({'font.size': 3, "figure.figsize" : [3,2], 'figure.dpi':300}) #Generate graphing colour cycles. colourCycle = plt.rcParams['axes.prop_cycle'].by_key()['color'] colourCycle2 = []