|
madrigalPlot is the module that produces plots of Madrigal data.
Presently based on madplotlib: http://matplotlib.sourceforge.net/
$Id: madrigalPlot.py.html 3722 2011-10-21 19:22:54Z brideout $
|
Functions
|
|
convertToAbsoluteTimeStr
defineHomeEnvVariable
getIsprintString
get_vo_cmap
|
|
|
convertToAbsoluteTimeStr
|
convertToAbsoluteTimeStr (
xticks,
noTime=False,
noDate=False,
timezone=0,
)
convertToAbsoluteTimeStr converts a list of strings containing seconds since 1/1/1950 to datetime string.
Input: xticks - a list of strings containing seconds since 1/1/1950
Returns: a list of strings formated as YYYY-MM-DD HH-MM-SS. If noTime, format as YYYY-MM-DD
|
|
|
defineHomeEnvVariable
|
defineHomeEnvVariable ()
defineHomeEnvVariable makes sure HOME env variable is defined, as required by matplotlib.
If not defined, sets HOME to MADROOT/metadata/userdata
|
|
|
getIsprintString
|
getIsprintString (
filename,
parms,
filterStr,
)
getIsprintString returns the output of isprint given inputs
Inputs:
filename - Madrigal filename
parms - comma-delimited parameters
filterStr - arguments to pass to isprint cmd
|
|
|
get_vo_cmap
|
get_vo_cmap ()
get_vo_cmap is a function to return a colormap optimized to show sign changes in the middle of the range.
|
|
Classes
|
|
| madHistogram | madHistogram is the class that produces Histogram plots of Madrigal
|
| madIsrRecordSummary | madIsrRecordSummary is the class that produces a summary plot of a single ISR record.
|
| madLineTimePlot | madLineTimePlot is the class the produces line plots of one or more parameters versus time.
|
| madPcolorPlot | madPcolorPlot is the class that produces pcolor plots of x versus y with z intensity.
|
| madPcolorScan | madPcolorScan is the class that produces pcolor scans.
|
| madPcolorWedgeKmlScan | madPcolorWedgeKmlScan is the class that produces pcolor scan kml files where data is drawn as wedge shapes.
|
| madPcolorWedgeScan | madPcolorWedgeScan is the class that produces pcolor scans where data is drawn as wedge shapes.
|
| madScatterPlot | madScatterPlot is the class the produces two dimensional scatter plots of x versus y.
|
| madXYScatterPlot | madXYScatterPlot is the class the produces XY scatter plots.
|
| madXYwithErrorPlot | madXYwithErrorPlot is the class the produces two dimensional scatter plots of x versus y more its error.
|
| scanPlotter | scanPlotter is the class that produces a series of scan plots for a single Madrigal file
|
|
|