"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) freqfiles = hd.dir_read(freqdir) freqData = hd.list_read(freqfiles, thickness=t, area=a) cCompData = freqData[1] print(cCompData) landau.c = landau.c_calc(freqData, plot=1) compensatedData, landau.pr = landau.c_compensation(cCompData)
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') sampledir = join(dirname(realpath(__file__)), 'testData', 'hfo2_MFM') freqdir = join(sampledir, 'H9_x9y4_1e4_freq') freqfiles = hd.dir_read(freqdir) freqdata = hd.list_read(freqfiles) hfo2 = lf.LandauFull(thickness=13E-7, area=6579E-8) hfo2.c = hfo2.c_calc(freqdata, plot=1) hfo2.rho_calc(freqdata) tempdir = join(sampledir, 'H9_x9y4_1e4_S3_temps') tempfiles = hd.dir_read(tempdir) tempdata = hd.list_read(tempfiles) templkgdir = join(sampledir, 'H9_x9y4_1e4_S3_tempslkg') templkgfiles = hd.dir_read(templkgdir) hfo2.a0 = hfo2.a0_calc(tempdata) # Following code plots a series of diff freq hystdata files on same plot
from os.path import join, dirname, realpath plt.close('all') testdatadir = join(dirname(dirname(realpath(__file__))), "tests", "testData") freqdir = join(testdatadir, r"hfo2_MFM", "H9_x9y4_1e4_freq") tempdir = join(testdatadir, r"hfo2_MFM", "H9_x9y4_1e4_S3_temps") templkgdir = join(testdatadir, r"hfo2_MFM", "H9_x9y4_1e4_S3_tempslkg") forcFile = join(testdatadir, r"hfo2_MFM", "H9_x9y4_1e4_forc", "H9 die (9,4) 0Hz 4V 1Average Table1.tsv") templkgfiles = hd.dir_read(templkgdir) tempfiles = hd.dir_read(tempdir) tempData = hd.list_read(tempfiles, templkgfiles) freqfiles = hd.dir_read(freqdir) freqData = hd.list_read(freqfiles) hfo2 = lf.LandauFull(thickness=13E-7, area=6579E-8) cCompData = freqData[0] hfo2.c = hfo2.c_calc(freqData, plot=1) compensatedData, hfo2.pr = hfo2.c_compensation(cCompData) compensatedData.hyst_plot(plot_e=True) hfo2.rho_calc(freqData) hfo2.a0 = hfo2.a0_calc(tempData) freqDataLkgComp = hd.list_read(freqfiles, templkgfiles) cCompDataLkgComp = freqDataLkgComp[0]
@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') RTWhiteAFORC = hd.HysteresisData(area=1E-4, thickness=255E-7)
#!/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)
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) print(fit)