def PrintEfficiencies(): "Print predicted loss of efficiency due to total deformations" res = [] for scandir , obsds in izip(allscans , obsscans) : el=pyfits.open(obsds)[0].header["meanel"] res.append( ( el, OffsetEfficiency( scandir) , 0.03, scandir) ) res.sort() pyxplot.scatter( res, "plots/offseteff.eps", width=pyxplot.MNRAS_SC, xax=pyxplot.axis(r"$E\,$(degrees)", xmin=0 , xmax=90), yax=pyxplot.axis(r"$\eta_{\rm LSS}$"), symbsize=0.1, ploterrb=True)
def PrintEfficiencies(): "Print predicted loss of efficiency due to total deformations" res = [] for scandir , obsds in izip(allscans , obsscans) : el=pyfits.open(obsds)[0].header["meanel"] res.append( ( el, OffsetEfficiency( scandir) , scandir) ) res.sort() for x,y,z in res: print x,y,z pyxplot.scatter( res, "plots/offseteff.eps", width=pyxplot.THESIS, xax=pyxplot.axis(r"$\theta\,$(deg)", xmin=0 , xmax=90), yax=pyxplot.axis(r"$\epsilon_{\rm LSS}$"), symbsize=0.05)