Package dics :: Module dcs :: Class dcs
[hide private]
[frames] | no frames]

Class dcs
source code

Class which provides an interface to the DAZLE detector control system.

Instance Methods [hide private]
  __init__(self, camera_url, filesave_url, name='dcs')
Arguments: cameraURL: URL of the camera task on the dectector control computer e.g.
  getStatus(self)
Queries the state and status of the camera and filesave processes, and returns a tuple of (cstate, cstatus, fstate, fstatus).
  powerOn(self)
Powers on the detector.
  powerOff(self)
Powers off the detector.
  RCO(self)
Executes the 'RCO' command, whatever that does...
  RST(self)
Executes the 'RST' command, whatever that does...
  dummy(self, DWELL=1, NUM_EXPS=1)
Executes the dummy SRR application written by the ATC to generate a frame of fake data.
  SRR(self, DWELL=1, NUM_EXPS=1)
Executes the SRR application to take a single raw read frame (or take multiple single raw reads and average them, if NUM_EXPS!=1).
  CDS(self, DWELL=1, NUM_EXPS=1)
Executes the CDS application to take a correllated double sampling exposure (or take multiple CDS exposures and average them, if NUM_EXPS!=1).
  NDR(self, DWELL, NUM_READ, NUM_EXPS)
Executes the 'sample up the ramp' non-destructive read application (or do this multiple times and average the result is NUM_EXPS!=1).
  __doExposure(self, appname, DWELL, NUM_EXPS, NUM_READ=None)

Method Details [hide private]

__init__(self, camera_url, filesave_url, name='dcs')
(Constructor)

source code 

Arguments:

cameraURL:   URL of the camera task on the dectector control computer
             e.g. 'optics26:7063'
filesaveURL: URL of the filesave task on the detector control computer
             e.g. 'optics26:5417'
name:        Indentifier used for logging purposes.

getStatus(self)

source code 
Queries the state and status of the camera and filesave processes, and returns a tuple of (cstate, cstatus, fstate, fstatus).

powerOn(self)

source code 
Powers on the detector.

powerOff(self)

source code 
Powers off the detector.

RCO(self)

source code 
Executes the 'RCO' command, whatever that does...

RST(self)

source code 
Executes the 'RST' command, whatever that does...

dummy(self, DWELL=1, NUM_EXPS=1)

source code 
Executes the dummy SRR application written by the ATC to generate a frame of fake data.

SRR(self, DWELL=1, NUM_EXPS=1)

source code 
Executes the SRR application to take a single raw read frame (or take multiple single raw reads and average them, if NUM_EXPS!=1).

CDS(self, DWELL=1, NUM_EXPS=1)

source code 
Executes the CDS application to take a correllated double sampling exposure (or take multiple CDS exposures and average them, if NUM_EXPS!=1).

NDR(self, DWELL, NUM_READ, NUM_EXPS)

source code 
Executes the 'sample up the ramp' non-destructive read application (or do this multiple times and average the result is NUM_EXPS!=1).

__doExposure(self, appname, DWELL, NUM_EXPS, NUM_READ=None)

source code