Skip to content
Snippets Groups Projects
Commit eb05c18d authored by Laurent Mercadier's avatar Laurent Mercadier
Browse files

Fixes knife_edge() output

parent 1b0d618f
No related branches found
No related tags found
No related merge requests found
......@@ -63,4 +63,4 @@ def knife_edge(nrun, axisKey='scannerX', signalKey='FastADC4peaks', p0=None, plo
plt.ylabel(signalKey)
plt.xlabel(axisKey + '-position [mm]')
plt.tight_layout()
return np.array(popt[1], pcov[1,1]**0.5)
\ No newline at end of file
return np.array([popt[1], pcov[1,1]**0.5])
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment