def plot_coverage(db,use_blacklist=True):
"""Plot the total covrage of the unbiased histogram.
>>> db = setup(pmfonly=True)
>>> db.add_metadata()
>>> plot_coverage(db)
Simple hard-coded plotting routine. Adds two dots for the end
points and focuses on the interesting region.
db pmfonly db
use_blacklist True: filter all files that appear in the blacklist [default]
"""
from pylab import clf,plot,xlim,ylim,title
if use_blacklist:
print "Excluding anything listed in the blacklist (i.e. restricting to __meta__)"
selection = db.selection("SELECT * FROM __data__")
else:
selection = db
selection.plot(mode="reldev")
#title(r'Umbrella sampling coverage: ${N}/{\langle{N}\rangle} - 1$')
make_canonical_plot()
评论列表
文章目录