Skip to content
Snippets Groups Projects
Commit 21d13155 authored by Loïc Le Guyader's avatar Loïc Le Guyader
Browse files

Merge branch 'run-title-knife-edge-scans' into 'master'

Adds run path in plot title of knife-edge scans

See merge request SCS/ToolBox!40
parents 83223d96 0f08760d
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,7 @@ def knife_edge(nrun, axisKey='scannerX', signalKey='FastADC4peaks', p0=None, ful ...@@ -75,6 +75,7 @@ def knife_edge(nrun, axisKey='scannerX', signalKey='FastADC4peaks', p0=None, ful
lh.set_alpha(1) lh.set_alpha(1)
plt.ylabel(signalKey) plt.ylabel(signalKey)
plt.xlabel(axisKey + ' position [mm]') plt.xlabel(axisKey + ' position [mm]')
plt.title(nrun.attrs['runFolder'])
plt.tight_layout() plt.tight_layout()
if full: if full:
return popt, pcov return popt, pcov
......
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