Skip to content
Snippets Groups Projects
Commit 3d10ced3 authored by Tooba Ali's avatar Tooba Ali
Browse files

Update benchmarks/dis/analysis/kinematics_correlations.py

parent 37f1eaa1
No related branches found
No related tags found
1 merge request!202construct kinematic coverage plot and include Sigma and eSigma correlation in kinematics_correlation.py
This commit is part of merge request !202. Comments created here will be created in the context of that merge request.
...@@ -197,7 +197,7 @@ Xcorrelation(minq2,'eS') ...@@ -197,7 +197,7 @@ Xcorrelation(minq2,'eS')
#Kinematic coverage plot #Kinematic coverage plot
########################################################################################## ##########################################################################################
fig = plt.figure() fig = plt.figure(figsize=(30,20))
gs = fig.add_gridspec(2, 3, wspace=0.09, hspace = 0.2) gs = fig.add_gridspec(2, 3, wspace=0.09, hspace = 0.2)
(ax1, ax2, ax3), (ax4, ax5, ax6) = gs.subplots() (ax1, ax2, ax3), (ax4, ax5, ax6) = gs.subplots()
...@@ -220,10 +220,5 @@ ax4.set_title('Electron') ...@@ -220,10 +220,5 @@ ax4.set_title('Electron')
ax5.set_title('eSigma') ax5.set_title('eSigma')
ax6.set_title('Jacquet Blondel') ax6.set_title('Jacquet Blondel')
fig.set_figwidth(30)
fig.set_figheight(20)
fig.suptitle('Kinematic Coverage {}x{} $minQ^2=${}$GeV^2$\n {} events DETECTOR_CONFIG: {} '.format(k,p,minq2,Nevents,Dconfig)) fig.suptitle('Kinematic Coverage {}x{} $minQ^2=${}$GeV^2$\n {} events DETECTOR_CONFIG: {} '.format(k,p,minq2,Nevents,Dconfig))
plt.savefig(os.path.join(r_path, 'kinematic_coverage_%s.png' %(config))) plt.savefig(os.path.join(r_path, 'kinematic_coverage_%s.png' %(config)))
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