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

Public Member Functions

def __init__ (self, _svcName)
 
def connectDrot (self, prefix)
 
def connectWfc (self, _node)
 
def connectCamera (self, _node)
 
def activate (self)
 
def init (self)
 
def deinit (self)
 
def deactivate (self)
 
def idleOnline (self)
 
def idleOffline (self)
 
def work (self)
 
def getIntMatFile (self, rot)
 
def reduceIM (self, intMatFile)
 
def get_mask_pixels (self, full_mask)
 
- Public Member Functions inherited from BasdaService.Worker
def __init__ (self, _svcName)
 
def name (self)
 
def config (self, _node)
 
def cfg (self, _node)
 
def var (self, _node)
 
def abort (self)
 dummy (does nothing) More...
 
def stop (self)
 dummy (does nothing) More...
 
def init (self)
 dummy (does nothing) More...
 
def deinit (self)
 dummy (does nothing) More...
 
def activate (self)
 dummy (does nothing) More...
 
def deactivate (self)
 dummy (does nothing) More...
 
def idleOffline (self)
 dummy (waits for state change) More...
 
def idleStandby (self)
 dummy (waits for state change) More...
 
def idleOnline (self)
 dummy (waits for state change) More...
 
def errorOffline (self)
 action in response to an error while offline Sets the state to OFFLINE More...
 
def errorStandby (self)
 action in response to an error while in standby Sets the state to OFFLINE More...
 
def errorOnline (self)
 action in response to an error while online Sets the state to OFFLINE More...
 
def errorWorking (self)
 action in response to an error while executing a command Sets the state to OFFLINE More...
 
def __init__ (self, _svcName)
 
def name (self)
 
def config (self, _node)
 
def cfg (self, _node)
 
def var (self, _node)
 
def abort (self)
 dummy (does nothing) More...
 
def stop (self)
 dummy (does nothing) More...
 
def init (self)
 dummy (does nothing) More...
 
def deinit (self)
 dummy (does nothing) More...
 
def activate (self)
 dummy (does nothing) More...
 
def deactivate (self)
 dummy (does nothing) More...
 
def idleOffline (self)
 dummy (waits for state change) More...
 
def idleStandby (self)
 dummy (waits for state change) More...
 
def idleOnline (self)
 dummy (waits for state change) More...
 
def errorOffline (self)
 action in response to an error while offline Sets the state to OFFLINE More...
 
def errorStandby (self)
 action in response to an error while in standby Sets the state to OFFLINE More...
 
def errorOnline (self)
 action in response to an error while online Sets the state to OFFLINE More...
 
def errorWorking (self)
 action in response to an error while executing a command Sets the state to OFFLINE More...
 

Public Attributes

 config
 
 dataPath
 
 intMatPrefix
 
 metaPupRadius
 
 drotStepSize
 
 drotUpdateInterval
 
 m2c
 
 currIntMatFile
 
 filePrefix
 
 drotCtrl
 
 wfcFitsWriter
 
 camera
 
 pupil
 
- Public Attributes inherited from BasdaService.Worker
 name
 
 worker
 

Constructor & Destructor Documentation

◆ __init__()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.__init__ (   self,
  _svcName 
)

Member Function Documentation

◆ activate()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.activate (   self)

◆ connectCamera()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.connectCamera (   self,
  _node 
)

◆ connectDrot()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.connectDrot (   self,
  prefix 
)

◆ connectWfc()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.connectWfc (   self,
  _node 
)

◆ deactivate()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.deactivate (   self)

◆ deinit()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.deinit (   self)

◆ get_mask_pixels()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.get_mask_pixels (   self,
  full_mask 
)
Returns flat array of illuminated pixels from the mask provided. The pask can be                                                                                                                                                                                                                                                                                  
80x80 or 40x40.                                                                                                                                                                                                                                                                                                                                                   
It only considers the first 40x40 elements.                                                                                                                                                                                                                                                                                                                       
The pixel position can be from 0 to 1600 (corresponding to 40x40 array)                                                                                                                                                                                                                                                                                           

◆ getIntMatFile()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.getIntMatFile (   self,
  rot 
)

◆ idleOffline()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.idleOffline (   self)

◆ idleOnline()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.idleOnline (   self)

◆ init()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.init (   self)

◆ reduceIM()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.reduceIM (   self,
  intMatFile 
)

◆ work()

def LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.work (   self)

Member Data Documentation

◆ camera

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.camera

◆ config

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.config

◆ currIntMatFile

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.currIntMatFile

◆ dataPath

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.dataPath

◆ drotCtrl

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.drotCtrl

◆ drotStepSize

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.drotStepSize

◆ drotUpdateInterval

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.drotUpdateInterval

◆ filePrefix

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.filePrefix

◆ intMatPrefix

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.intMatPrefix

◆ m2c

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.m2c

◆ metaPupRadius

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.metaPupRadius

◆ pupil

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.pupil

◆ wfcFitsWriter

LaosHWSRecMatPythonServiceWorker.LaosHWSRecMatPythonServiceWorker.wfcFitsWriter

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