TwiceAsNice  2019-02-18
Public Member Functions | List of all members
CCD_Track_Classes.CCD_Track_Canvas Class Reference
Inheritance diagram for CCD_Track_Classes.CCD_Track_Canvas:
Inheritance graph
Collaboration diagram for CCD_Track_Classes.CCD_Track_Canvas:
Collaboration graph

Public Member Functions

def compute_initial_figure (self)
 
def scatterXY (self, x, y, plotLimits, xLab, yLab, title)
 
def linePlot (self, xL, yL)
 
def plotCross (self, xL, yL)
 
def dispImg (self, im, clut, title, autoscale=True, cuts=[0.0)
 
def annotatePt (self, txt, xyPos, txtPos)
 
def compute_initial_figure (self)
 
def scatterXY (self, x, y, plotLimits, xLab, yLab, title)
 
def linePlot (self, xL, yL)
 
def plotCross (self, xL, yL)
 
def dispImg (self, im, clut, title, autoscale=True, cuts=[0.0)
 
def annotatePt (self, txt, xyPos, txtPos)
 
def compute_initial_figure (self)
 
def scatterXY (self, x, y, plotLimits, xLab, yLab, title)
 
def linePlot (self, xL, yL)
 
def plotCross (self, xL, yL)
 
def dispImg (self, im, clut, title, autoscale=True, cuts=[0.0)
 
def annotatePt (self, txt, xyPos, txtPos)
 
- Public Member Functions inherited from CCD_Track_Classes.MyMplCanvas
def __init__ (self, parent=None, width=5, height=4, dpi=100)
 
def compute_initial_figure (self)
 
def __init__ (self, parent=None, width=5, height=4, dpi=100)
 
def compute_initial_figure (self)
 
def __init__ (self, parent=None, width=5, height=4, dpi=100)
 
def compute_initial_figure (self)
 

Additional Inherited Members

- Public Attributes inherited from CCD_Track_Classes.MyMplCanvas
 axes
 

Detailed Description

   Display images and Plots - Create one instance for each plot / image

   scatterXY  - An XY scatter plot
   linePlot   - An XY line plot *** on EXISTING scatterXY plot !
   dispImg    - Display an image
   annotatePt - Place text at specified location

   This routine was adapted from All-Sky-Cam/ASP.py - TMH 20SEP17

Member Function Documentation

◆ annotatePt() [1/3]

def CCD_Track_Classes.CCD_Track_Canvas.annotatePt (   self,
  txt,
  xyPos,
  txtPos 
)
Annotates the plot with the text txt at position
    xyPos. The text appears at txtPos (presumably
    offset somewhat). Note that xyPos and txtPos are
    tuples, created for example, by xyPos = (x,y)

◆ annotatePt() [2/3]

def CCD_Track_Classes.CCD_Track_Canvas.annotatePt (   self,
  txt,
  xyPos,
  txtPos 
)
Annotates the plot with the text txt at position
    xyPos. The text appears at txtPos (presumably
    offset somewhat). Note that xyPos and txtPos are
    tuples, created for example, by xyPos = (x,y)

◆ annotatePt() [3/3]

def CCD_Track_Classes.CCD_Track_Canvas.annotatePt (   self,
  txt,
  xyPos,
  txtPos 
)
Annotates the plot with the text txt at position
    xyPos. The text appears at txtPos (presumably
    offset somewhat). Note that xyPos and txtPos are
    tuples, created for example, by xyPos = (x,y)

◆ compute_initial_figure() [1/3]

def CCD_Track_Classes.CCD_Track_Canvas.compute_initial_figure (   self)

◆ compute_initial_figure() [2/3]

def CCD_Track_Classes.CCD_Track_Canvas.compute_initial_figure (   self)

◆ compute_initial_figure() [3/3]

def CCD_Track_Classes.CCD_Track_Canvas.compute_initial_figure (   self)

◆ dispImg() [1/3]

def CCD_Track_Classes.CCD_Track_Canvas.dispImg (   self,
  im,
  clut,
  title,
  autoscale = True,
  cuts = [0.0 
)
   Display the supplied image (which is a numpy array!)
   Note that if autoscale is not true, you must supply "cuts = [min,max]"

◆ dispImg() [2/3]

def CCD_Track_Classes.CCD_Track_Canvas.dispImg (   self,
  im,
  clut,
  title,
  autoscale = True,
  cuts = [0.0 
)
   Display the supplied image (which is a numpy array!)
   Note that if autoscale is not true, you must supply "cuts = [min,max]"

◆ dispImg() [3/3]

def CCD_Track_Classes.CCD_Track_Canvas.dispImg (   self,
  im,
  clut,
  title,
  autoscale = True,
  cuts = [0.0 
)
   Display the supplied image (which is a numpy array!)
   Note that if autoscale is not true, you must supply "cuts = [min,max]"

◆ linePlot() [1/3]

def CCD_Track_Classes.CCD_Track_Canvas.linePlot (   self,
  xL,
  yL 
)
Generate a line plot on the existing self.axes.

◆ linePlot() [2/3]

def CCD_Track_Classes.CCD_Track_Canvas.linePlot (   self,
  xL,
  yL 
)
Generate a line plot on the existing self.axes.

◆ linePlot() [3/3]

def CCD_Track_Classes.CCD_Track_Canvas.linePlot (   self,
  xL,
  yL 
)
Generate a line plot on the existing self.axes.

◆ plotCross() [1/3]

def CCD_Track_Classes.CCD_Track_Canvas.plotCross (   self,
  xL,
  yL 
)
    Places a (black) cross at xL,yL in existing plot.

◆ plotCross() [2/3]

def CCD_Track_Classes.CCD_Track_Canvas.plotCross (   self,
  xL,
  yL 
)
    Places a (black) cross at xL,yL in existing plot.

◆ plotCross() [3/3]

def CCD_Track_Classes.CCD_Track_Canvas.plotCross (   self,
  xL,
  yL 
)
    Places a (black) cross at xL,yL in existing plot.

◆ scatterXY() [1/3]

def CCD_Track_Classes.CCD_Track_Canvas.scatterXY (   self,
  x,
  y,
  plotLimits,
  xLab,
  yLab,
  title 
)
   Generate a scatter plot of x,y with the supplied limits, labels and title

◆ scatterXY() [2/3]

def CCD_Track_Classes.CCD_Track_Canvas.scatterXY (   self,
  x,
  y,
  plotLimits,
  xLab,
  yLab,
  title 
)
   Generate a scatter plot of x,y with the supplied limits, labels and title

◆ scatterXY() [3/3]

def CCD_Track_Classes.CCD_Track_Canvas.scatterXY (   self,
  x,
  y,
  plotLimits,
  xLab,
  yLab,
  title 
)
   Generate a scatter plot of x,y with the supplied limits, labels and title

The documentation for this class was generated from the following file: