Commit 181785c8 authored by feichtinger's avatar feichtinger
Browse files

small updates before merging

parent 01f4a7ab
Pipeline #1139 failed with stages
This diff is collapsed.
......@@ -27,7 +27,8 @@ datadir = 'pavledata'
#filename='test1.h5'
#filename='MLData_20200520_1.h5' # problematic - scale seems off
#filename='MLData_20200527_1.h5'
filename='MLData_20200603_1.h5'
#filename='MLData_20200603_1.h5'
filename='MLData_20200608_1.h5'
# -
......
......@@ -17737,8 +17737,7 @@
"ax.plot(tmpdf.Nphot_avg, tmpdf.CALCS, label='data',linestyle='', marker='o')\n",
"ax.plot(tmpdf.Nphot_avg, calcs_fn([tmpdf.Nphot_avg, tmpdf.XeMultVoltag], popt[0], popt[1]),\n",
" label='fit', linestyle='', marker='o')\n",
"ax.legend()\n",
"\n"
"ax.legend()"
]
},
{
......@@ -17779,6 +17778,7 @@
"cell_type": "code",
"execution_count": 60,
"metadata": {
"lines_to_next_cell": 2,
"scrolled": true
},
"outputs": [
......@@ -17810,7 +17810,7 @@
"ax.plot(physdf.Nphot_avg, physdf.CALCS, label='data',linestyle='', marker='o')\n",
"ax.plot(physdf.Nphot_avg, calcs_fn([physdf.Nphot_avg, physdf.XeMultVoltag], popt[0], popt[1]),\n",
" label='fit', linestyle='', marker='o')\n",
"ax.legend()\n"
"ax.legend()"
]
},
{
......@@ -1678,16 +1678,12 @@ popt, pcov = scipy.optimize.curve_fit(calcs_fn,
popt
# +
fig, ax = plt.subplots()
ax.plot(tmpdf.Nphot_avg, tmpdf.CALCS, label='data',linestyle='', marker='o')
ax.plot(tmpdf.Nphot_avg, calcs_fn([tmpdf.Nphot_avg, tmpdf.XeMultVoltag], popt[0], popt[1]),
label='fit', linestyle='', marker='o')
ax.legend()
# -
popt, pcov = scipy.optimize.curve_fit(calcs_fn,
[ physdf.Nphot_avg, physdf.XeMultVoltag ],
physdf.CALCS,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment