CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
matplotRender Namespace Reference

Classes

class  matplotRender
 

Functions

def guessInstLumiUnit
 
def guessLumiUnit
 

Variables

 batchonly = False
 
tuple f = open('/afs/cern.ch/cms/lumi/www/plots/operation/totallumivsrun-2011.csv','r')
 
tuple fig = Figure(figsize=(7.2,5.4),dpi=120)
 
tuple m = matplotRender(fig)
 
tuple reader = csv.reader(f,delimiter=',')
 
list resultlines = []
 

Detailed Description

Specs:
-- We use matplotlib OO class level api, we do not use its high-level helper modules. Favor endured stability over simplicity. 
-- PNG as default batch file format
-- we support http mode by sending string buf via meme type image/png. Sending a premade static plot to webserver is considered a uploading process instead of http dynamic graphical mode. 

Function Documentation

def matplotRender.guessInstLumiUnit (   t)
input : largest total lumivalue
output: (unitstring,denomitor)

Definition at line 34 of file matplotRender.py.

def matplotRender.guessLumiUnit (   t)
input : largest total lumivalue
output: (unitstring,denomitor)

Definition at line 64 of file matplotRender.py.

Variable Documentation

matplotRender.batchonly = False

Definition at line 12 of file matplotRender.py.

tuple matplotRender.f = open('/afs/cern.ch/cms/lumi/www/plots/operation/totallumivsrun-2011.csv','r')

Definition at line 818 of file matplotRender.py.

tuple matplotRender.fig = Figure(figsize=(7.2,5.4),dpi=120)

Definition at line 825 of file matplotRender.py.

tuple matplotRender.m = matplotRender(fig)

Definition at line 826 of file matplotRender.py.

tuple matplotRender.reader = csv.reader(f,delimiter=',')
list matplotRender.resultlines = []

Definition at line 820 of file matplotRender.py.