if device == 3: sampledir = join(testdatadir, 'FeFETD5', 'MFS+', 'die84') freqdir = join(sampledir, "FeFETD5_die84_MFS+_60_20x20_freqs") tempdir = join(sampledir, "FeFETD5_die84_MFS+_60_20x20_temps") templkgdir = join(sampledir, "FeFETD5_die84_MFS+_60_20x20_lkg") forcFile = join( sampledir, "FeFETD5_die84_MFS+_60_20x20_FORC", "FeFETD5_die68_MFS+_60_20x20_FORC_5V 0Hz 5V 1Average Table2.tsv") t = 10E-7 a = 2.4E-4 aReal = 2.166E4 # includes effect of undercut during M1 etch ################ landau = lf.LandauFull(thickness=t, area=aReal) templkgfiles = hd.dir_read(templkgdir) if tempdir != None: tempfiles = hd.dir_read(tempdir) if leakageComp: tempData = hd.list_read(tempfiles, templkgfiles, plot=False, thickness=t, area=a) else: tempData = hd.list_read(tempfiles, plot=False, thickness=t, area=a) landau.a0 = landau.a0_calc(tempData)
Created on Mon Jun 12 10:45:02 2017 @author: Jackson """ import matplotlib.pyplot as plt import numpy as np from os.path import join, dirname, realpath from context import models as lf from context import data as hd plt.close('all') sampledir = join(dirname(realpath(__file__)), 'testData', 'RT WhiteA') RTfreqDir = join(sampledir, 'RTWhiteAFreq') RTfreqFiles = hd.dir_read(RTfreqDir) RTfreqData = hd.list_read(RTfreqFiles) RTfreq100hz = join(RTfreqDir, 'RT WhiteA 100Hz 8V 1Average Table1.tsv') RT100data = hd.HysteresisData() RT100data.tsv_read(RTfreq100hz) RT100data.hyst_plot() RTWhiteFilm = lf.LandauSimple(thickness=255E-7, area=1E-4) RTWhiteFilm.c = RTWhiteFilm.c_calc(RTfreqData) RT100compensated, RTWhiteFilm.pr = RTWhiteFilm.c_compensation(RT100data) RT100compensated.hyst_plot() forc_file = join(sampledir, 'RTWhiteAFORC', 'RT WhiteA 0Hz 7V 1Average Table7.tsv')
'FeFETD5_die82_MFS+_1_200x200_leakage'), join(testdatadir, 'FeFETD5', 'MFS+', 'die82', 'FeFETD5_die82_MFS+_60_20x20_leakage'), join(testdatadir, 'FeFETD5', 'MFS+', 'die82', 'FeFETD5_die82_MFS+_100_10x10_leakage'), ] a = np.asarray([1E4, 4E4, 24000, 1E4]) p = np.asarray([400, 800, 4800, 4000]) # including undercut a = np.asarray([9801, 39601, 21660, 8100]) p = np.asarray([396, 796, 4560, 3600]) c = [] for i, f in enumerate(freqdirs): dcfiles = hd.dir_read(f) lkgfile = hd.dir_read(lkgdirs[i]) # data = hd.list_read(dcfiles, lkgfile) data = hd.list_read(dcfiles) testfilm = lf.LandauFilm() cde = testfilm.c_calc(data, plot=1) c.append(cde) c = np.asarray(c) ##including undercut #a1 = .81*a #p1 = .9*p fit = np.polyfit(p, c / a, 1) fit_fn = np.poly1d(fit)
#!/usr/bin/env python3 """ Created on Fri May 26 12:50:08 2017 @author: Jackson """ import matplotlib.pyplot as plt from os.path import join, dirname, realpath from context import models as lf from context import data as hd plt.close('all') discretecapdir = join(dirname(realpath(__file__)), 'testData', 'MDCref', 'mdc100pf') files = hd.dir_read(discretecapdir) data = hd.list_read(files) testfilm = lf.LandauFilm() cde = testfilm.c_calc(data, plot=1)
@author: Jackson Tests fft_plot and bandstop_filter functions of HysteresisData """ import matplotlib.pyplot as plt from os.path import join, dirname, realpath from context import models as lf from context import data as hd plt.close('all') sampledir = join(dirname(realpath(__file__)), 'testData', 'hfo2_MFM') tempdir = join(sampledir, 'H9_x9y4_1e4_S3_temps') tempfiles = hd.dir_read(tempdir) templkgdir = join(sampledir, 'H9_x9y4_1e4_S3_tempslkg') templkgfiles = hd.dir_read(templkgdir) datafile = join(sampledir, 'H9_x9y4_1e4_S3_temps', 'H9 die (9,4) S3 79C 100Hz 3V 1Average Table3.tsv') lkgfile = join(sampledir, 'H9_x9y4_1e4_S3_tempslkg', 'H9 die (9,4) S3 79C 2s step Table2.tsv') data = hd.HysteresisData() data.tsv_read(datafile) ldata = hd.LeakageData() ldata.lcm_read(lkgfile) data.hyst_plot()