PyDVT.SPSScanGraphFilter (version 1.1.0, 08/11/2002)
index
/mntdirect/_bliss/users/gobbo/PyDVT/PyDVT/SPSScanGraphFilter.py

SPSScanGraphFilter.py
Convertion of circular to linear buffer

 
Modules
            
EventHandler
Numeric

 
Classes
            
PyDVT.Filter.Filter
SPSCircularBufferFilter
PyDVT.GraphView.GraphFilter(PyDVT.Filter.Filter)
SPSScanGraphFilter

 
class SPSCircularBufferFilter(PyDVT.Filter.Filter)
      Auxiliar filter to linearize circular buffer acquisitions from SPEC.
This Filter has to be linked (through a DataSelection) to a page of
Data with the entry "envdict" in it's Info dictionary. This is a
dictionary itself, with these required entries:
        "cbufsize": size of the circular buffer read with SPS
        "lbufsize": size of the full scan array
        "nopts": number of valid points of the scan
        "scanno": number of the scan (have to change for each new scan)
This fields are automatically read in a SPSData object if they are
written into an arrayname_ENV array.
 
  
DataChanged(self, par) from PyDVT.Filter.Filter
DataCoord2SelectionCoord(self, data_coord) from PyDVT.Filter.Filter
Destroy(self, source=None) from PyDVT.Filter.Filter
GetData(self) from PyDVT.Filter.Filter
GetDataSelection(self) from PyDVT.Filter.Filter
GetInput(self) from PyDVT.Filter.Filter
GetOutput(self)

See Filter.GetOutput
GetSource(self) from PyDVT.Filter.Filter
Refresh(self) from PyDVT.Filter.Filter
SelectionCoord2DataCoord(self, selection_coord) from PyDVT.Filter.Filter
SetSynchronized(self, synchronized) from PyDVT.Filter.Filter
__init__(self, *args, **keys)
Constructor
See Filter.__init__

 
class SPSScanGraphFilter(PyDVT.GraphView.GraphFilter)
      Filter disigned to interface SPS scan data (SPSData) to ScanGraphView.
For a shared array arr in Spec, it should exist an shared array arr_ENV 
with the scan information fields, at least:
  "nopts": number of valid points of the scan      
The fields of arr_ENV(read by SPSData in "envdict" entry of page info)
"xmin" and "xmax" are included in it's output.
 
  
DataChanged(self, par) from PyDVT.Filter.Filter
DataCoord2SelectionCoord(self, data_coord) from PyDVT.Filter.Filter
Destroy(self, source=None) from PyDVT.Filter.Filter
GetData(self) from PyDVT.Filter.Filter
GetDataSelection(self) from PyDVT.Filter.Filter
GetInput(self) from PyDVT.Filter.Filter
GetOutput(self)
Returns the selection data (dictionary)
Keys:
    See GraphFilter.GetOutput
    In addiction:
        "nopts": integer, number of valid points of the scan. If greater than
                 previous, draw just new points.
        "envdict": dictionary with all the scan environment parameters (SPS)
GetSource(self) from PyDVT.Filter.Filter
Refresh(self) from PyDVT.Filter.Filter
SelectionCoord2DataCoord(self, selection_coord) from PyDVT.Filter.Filter
SetSynchronized(self, synchronized) from PyDVT.Filter.Filter
__init__(self, name=None, source=None, synchronized=1, buffer_input=0, yscale=0, xdata=None, pen=<PyDVT.GUIBinding.Binding.Pen instance>, symbol='none') from PyDVT.GraphView.GraphFilter

 
Author
             Alexandre Gobbo (gobbo@esrf.fr)