Skip to content
Snippets Groups Projects
Commit feaf40fb authored by Jonah Kanner's avatar Jonah Kanner :nerd:
Browse files

Fixed minor bug in plot evidence

git-svn-id: https://svn.ligo.caltech.edu/svn/bayeswave/trunk@78 c56465c9-8126-4a4f-9d7d-ac845eff4865
parent 398e3b84
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,8 @@ injconArray = np.array(skydict['injcontour'])
xtics = np.arange(0,1.01,0.01)
numFound = np.array( [ (injconArray <= xvalue).sum() for xvalue in xtics] )
fracFound = 1.0*numFound / injconArray.size
plt.close('all')
plt.figure()
plt.plot(xtics, fracFound)
plt.xlabel('Confidence Region')
plt.ylabel('Fraction of injections found')
......
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