Public Member Functions | |
def | __init__ |
def | drawHTTPstring |
def | drawInteractive |
def | drawPNG |
def | plotInst_RunLS |
def | plotPeakPerday_Time |
def | plotPerdayX_Time |
def | plotSumX_Fill |
def | plotSumX_Run |
def | plotSumX_Time |
Public Attributes | |
colormap | |
Private Attributes | |
__canvas | |
__fig | |
Definition at line 94 of file matplotRender.py.
def matplotRender.matplotRender.__init__ | ( | self, | |
fig | |||
) |
Definition at line 95 of file matplotRender.py.
def matplotRender.matplotRender.drawHTTPstring | ( | self | ) |
Definition at line 796 of file matplotRender.py.
References matplotRender.matplotRender.__canvas, and matplotRender.matplotRender.__fig.
def matplotRender.matplotRender.drawInteractive | ( | self | ) |
Definition at line 807 of file matplotRender.py.
References matplotRender.matplotRender.__fig.
def matplotRender.matplotRender.drawPNG | ( | self, | |
filename | |||
) |
Definition at line 803 of file matplotRender.py.
References matplotRender.matplotRender.__canvas, and matplotRender.matplotRender.__fig.
def matplotRender.matplotRender.plotInst_RunLS | ( | self, | |
rawxdata, | |||
rawydata, | |||
nticks = 6 , |
|||
textoutput = None |
|||
) |
Input: rawxdata [run,fill,starttime,stoptime,totalls,ncmsls] rawydata {label:[lumi]}
Definition at line 719 of file matplotRender.py.
References matplotRender.matplotRender.colormap, python.multivaluedict.dict, matplotRender.guessLumiUnit(), and max().
def matplotRender.matplotRender.plotPeakPerday_Time | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minTime = None , |
|||
maxTime = None , |
|||
nticks = 6 , |
|||
withannotation = False , |
|||
yscale = 'linear' , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered'] , |
|||
textoutput = None |
|||
) |
THIS PLOT IS DELIVERED ONLY Input: rawdata={'Delivered':[(day,run,ls,instlumi)]} resultlines=[[day,run,ls,maxinstlum],[]] minTime (python DateTime) : min *begin* time to draw: format %m/%d/%y %H:%M:%S maxTime (python DateTime): max *begin* time to draw %m/%d/%y %H:%M:%S withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot
Definition at line 575 of file matplotRender.py.
References python.multivaluedict.append(), matplotRender.matplotRender.colormap, python.multivaluedict.dict, matplotRender.guessInstLumiUnit(), list(), max(), min, and split.
def matplotRender.matplotRender.plotPerdayX_Time | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minTime = None , |
|||
maxTime = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
Input: rawdata={'Delivered':[(day,begrun:ls,endrun:ls,lumi)],'Recorded':[(dayofyear,begrun:ls,endrun:ls,lumi)]} resultlines=[[day,begrun:ls,endrun:ls,deliveredperday,recordedperday],[]] minTime (python DateTime) : min *begin* time to draw: format %m/%d/%y %H:%M:%S maxTime (python DateTime): max *begin* time to draw %m/%d/%y %H:%M:%S withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot
Definition at line 432 of file matplotRender.py.
References python.multivaluedict.append(), matplotRender.matplotRender.colormap, matplotRender.guessLumiUnit(), list(), max(), and min.
def matplotRender.matplotRender.plotSumX_Fill | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minFill = None , |
|||
maxFill = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
input: rawdata = {'Delivered':[(fill,runnumber,lumiperrun)],'Recorded':[(fill,runnumber,lumiperrun)]} resultlines = [[fillnumber,runnumber,dellumiperrun,reclumiperrun],[fillnumber,runnumber,dellumiperrun,reclumiperrun],] minFill : min fill to draw maxFill : max fill to draw yscale: linear,log or both withannotation: wheather the boundary points should be annotated textoutput: text output file name.
Definition at line 203 of file matplotRender.py.
References python.multivaluedict.append(), matplotRender.matplotRender.colormap, python.multivaluedict.dict, matplotRender.guessLumiUnit(), and list().
def matplotRender.matplotRender.plotSumX_Run | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minRun = None , |
|||
maxRun = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
input: rawdata = {'Delivered':[(runnumber,lumiperrun),..],'Recorded':[(runnumber,lumiperrun),..]} resultlines = [[runnumber,dellumiperrun,reclumiperrun],[runnumber,dellumiperrun,reclumiperrun],] minRun : minimal runnumber required maxRun : max runnumber required yscale: linear,log or both withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot textoutput: text output file name.
Definition at line 104 of file matplotRender.py.
References python.multivaluedict.append(), matplotRender.matplotRender.colormap, python.multivaluedict.dict, matplotRender.guessLumiUnit(), and list().
def matplotRender.matplotRender.plotSumX_Time | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minTime = None , |
|||
maxTime = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
input: rawdata = {'Delivered':[(runnumber,starttimestamp,stoptimestamp,lumiperrun)],'Recorded':[(runnumber,starttimestamp,stoptimestamp,lumiperrun)]} resultlines = [[runnumber,starttimestampStr,stoptimestampStr,dellumiperrun,reclumiperrun],[runnumber,starttimestampStr,stoptimestampStr,dellumiperrun,reclumiperrun],] minTime (python DateTime) : min *begin* time to draw: format %m/%d/%y %H:%M:%S maxTime (python DateTime): max *begin* time to draw %m/%d/%y %H:%M:%S yscale: linear,log or both withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot
Definition at line 302 of file matplotRender.py.
References python.multivaluedict.append(), matplotRender.matplotRender.colormap, python.multivaluedict.dict, matplotRender.guessLumiUnit(), list(), and split.
|
private |
Definition at line 97 of file matplotRender.py.
Referenced by matplotRender.matplotRender.drawHTTPstring(), and matplotRender.matplotRender.drawPNG().
|
private |
Definition at line 96 of file matplotRender.py.
Referenced by matplotRender.matplotRender.drawHTTPstring(), matplotRender.matplotRender.drawInteractive(), and matplotRender.matplotRender.drawPNG().
matplotRender.matplotRender.colormap |
Definition at line 98 of file matplotRender.py.
Referenced by matplotRender.matplotRender.plotInst_RunLS(), matplotRender.matplotRender.plotPeakPerday_Time(), matplotRender.matplotRender.plotPerdayX_Time(), matplotRender.matplotRender.plotSumX_Fill(), matplotRender.matplotRender.plotSumX_Run(), and matplotRender.matplotRender.plotSumX_Time().