Skip to content

Commit

Permalink
Add additional background parameter for normalizaiton plot
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob-Lass committed May 20, 2021
1 parent 8da6057 commit 736f1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MJOLNIR/Geometry/Instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def generateCalibration(self,Vanadiumdatafile,A4datafile=False,savelocation='cal
plt.ioff
plt.figure()
plt.scatter(EiLocal,binPixelData)
plt.plot(Ei,Gaussian(Ei,*guess))
plt.plot(Ei,Gaussian(Ei,*guess,0.0))

plt.savefig(savelocation+'/{}_pixels/Detector{}_{}.png'.format(detpixels,i,k),format='png',dpi=150)
plt.close()
Expand Down

0 comments on commit 736f1c2

Please sign in to comment.