Public Member Functions | Public Attributes

unlock.view.scope_view.TimeScopeView Class Reference

Inheritance diagram for unlock.view.scope_view.TimeScopeView:
unlock.view.view.UnlockView

List of all members.

Public Member Functions

def __init__
def scale_width
def scale_height
def render

Public Attributes

 model
 xlim
 ylim
 xscale
 trace_height
 trace_margin
 yscale
 traces
 cursor

Member Function Documentation

def unlock.view.scope_view.TimeScopeView.__init__ (   self,
  model,
  canvas,
  labels = None 
)
the scope view has n_channel traces w/ labels and a single cursor bar
additionally having range indicators would be good
def unlock.view.scope_view.TimeScopeView.render (   self  ) 
def unlock.view.scope_view.TimeScopeView.scale_height (   self,
  y,
  shift,
  scale,
  trace = 0 
)
Scale the position of the data points to fit the height of the screen
and the number of traces. The scale factor is automatically adjusted
to the data, and is thus part of the model.
def unlock.view.scope_view.TimeScopeView.scale_width (   self,
  x 
)
Scale the position of the data points to fit the width of the screen

Member Data Documentation


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