correct intro and theory, add setup

This commit is contained in:
2018-08-22 22:38:08 +02:00
parent 6e78e563eb
commit 2818dda23d
23 changed files with 486 additions and 299 deletions
Binary file not shown.
+7 -3
View File
@@ -1,4 +1,5 @@
import matplotlib.pyplot as plt
import matplotlib.ticker as mpt
import matplotlib.cm as cm
import numpy as np
import wafer
@@ -118,7 +119,7 @@ def gen_48i_theory():
def gen_1v8_theory():
rpara = 75000
rseri = 2*4700
xdata = np.arange(0, 256, 4)
xdata = np.arange(0, 256, 4, dtype=int)
ydata = (xdata / 256 * 10000)
ydata = ydata * rpara / (ydata + rpara) + rseri
ydata = 30100 / (ydata + 6490) * .7 + .7
@@ -138,10 +139,13 @@ def gen_1v8_theory():
vtt.unc_tolatex(vps[2], None, 'theo.tex', name="a")
vtt.unc_tolatex(vps[3], None, 'theo.tex', name="c")
plt.gca().xaxis.set_major_formatter(mpt.FuncFormatter(
lambda v, x: '0x{:02x}'.format(int(v))
))
plt.xlabel("Potentiometer Setting P$_{val}$")
plt.ylabel("V$_{1.8V out}$")
plt.ylabel("V$_{MONITOR\_1V8}$ / V")
plt.savefig('v18.pdf')
plt.savefig('v18.pdf', transparent=True)
if __name__ == "__main__":
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.