update regulation and correct some things
This commit is contained in:
Binary file not shown.
@@ -9,7 +9,8 @@ lognum = 2
|
||||
plt.ioff()
|
||||
plt.style.use('bmh')
|
||||
plt.rcParams['axes.facecolor'] = 'white'
|
||||
plt.figure(figsize=(8,6))
|
||||
fig, axa = plt.subplots(1, figsize=(8,4), sharex='all', gridspec_kw={'height_ratios': [1]})
|
||||
axa = [axa]
|
||||
data = pd.read_csv("./log_poticalib_ana_{:02d}.csv".format(lognum))
|
||||
|
||||
print(data)
|
||||
@@ -33,29 +34,29 @@ data['r_bcu/kohm'] = 2*4.7+1/(1/data['r_restheo/kohm']+1/75)
|
||||
|
||||
data['v_bcutheo/v'] = 0.7+0.7*30.1/(data['r_bcu/kohm']+6.49)
|
||||
|
||||
plt.errorbar(
|
||||
axa[0].errorbar(
|
||||
data['r_bcu/kohm'],
|
||||
data['v_keith/v'],
|
||||
yerr=data['dv_keith/v'],
|
||||
label="V$_{Keith,IV8A}$",
|
||||
label="V$_{Keith,1.8V,ana}$",
|
||||
fmt='.'
|
||||
)
|
||||
plt.errorbar(
|
||||
axa[0].errorbar(
|
||||
data['r_bcu/kohm'],
|
||||
data['v_pit/v'],
|
||||
yerr=data['dv_pit/v)'],
|
||||
label="V$_{PIT,IV8A}$",
|
||||
label="V$_{PIT,1.8V,ana}$",
|
||||
fmt='.'
|
||||
)
|
||||
plt.plot(
|
||||
axa[0].plot(
|
||||
data['r_bcu/kohm'],
|
||||
data['v_bcutheo/v'],
|
||||
label="V$_{BCU,O}$"
|
||||
)
|
||||
|
||||
plt.xlabel('$R_{BCU,Set}$/k$\Omega$')
|
||||
plt.ylabel('V$_{1V8A}$/V')
|
||||
plt.legend()
|
||||
#-plt.savefig("2kw_direct.png")
|
||||
axa[0].set_xlabel('$R_{BCU,Set}$/k$\Omega$')
|
||||
#axa[1].set_ylabel('Residuals / %$_{err}$')
|
||||
axa[0].set_ylabel('V$_{1.8V, Analog}$/V')
|
||||
axa[0].legend()
|
||||
|
||||
plt.savefig("adccalib_{:02d}.pdf".format(lognum), transparent=True)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -21,7 +21,7 @@ plt.rcParams['axes.facecolor'] = 'white'
|
||||
fig, axarr = plt.subplots(
|
||||
2,
|
||||
1,
|
||||
figsize=(10, 8),
|
||||
figsize=(8, 6),
|
||||
gridspec_kw={'height_ratios':[4, 1]},
|
||||
sharex="col"
|
||||
)
|
||||
|
||||
@@ -21,7 +21,7 @@ plt.rcParams['axes.facecolor'] = 'white'
|
||||
fig, axarr = plt.subplots(
|
||||
2,
|
||||
1,
|
||||
figsize=(8, 6),
|
||||
figsize=(8, 8),
|
||||
gridspec_kw={'height_ratios':[4, .8]}
|
||||
)
|
||||
plt.subplots_adjust(hspace=.5)
|
||||
|
||||
Reference in New Issue
Block a user