Home

Documentation

Project Support

Changes in Version 5 of GraspSwControllerCmdReadout

Author:
isani
Timestamp:
Wed Sep 5 13:40:36 2012

Legend:

Unmodified
Added
Removed
Modified
  • GraspSwControllerCmdReadout

    v4 v5
    1 1  '''[wiki:GraspSwControllerCmd readout]''' 
    2 2  [[TracNav(GraspContents)]] 
    3 3  ||Command:||'''readout'''|| 
    4 4  ||Contexts:||Network socket, serial console, stage2 only|| 
    5 5  ||Function:||Perform CCD readout (clocking and sampling)|| 
    6 6  ||Required Parameters:||none.|| 
    7 7  ||Optional Parameters:|| || 
    8 8  ||'''dev='''||[current] Select dev '''0''' '''1''' or '''all'''|| 
    9 9  ||'''namp='''||![8] Select number of amplifiers to read (per dev)|| 
    10 10  ||'''width='''||[set from detsize] Override detector pixel column (serial) count|| 
    11 11  ||'''height='''||[set from detsize] Override detector pixel row (parallel) count|| 
    12 12  ||'''cellrow='''||[none] OTA CCD cell row to read ('''0..7''' '''none''' or '''all''')|| 
    13 13  ||'''buffer='''||[see notes] Buffer pool number into which to copy the readout|| 
    14 14  ||'''adcflip='''||[true] Treat amplifiers in reverse order (affects readcal!)|| 
    15 15  ||'''adczero='''||![0] Position of first output amplifier to save (0..7)|| 
    16 16  '''CCD-only options, not applicable to IR devices: ''' 
    17 17  ||'''colbin='''||![1] Column binning (not implemented, unless used with swscale=true)|| 
    18 18  ||'''rowbin='''||![1] Row binning factor (1,2,3,...)|| 
    19    ||'''swscale='''||[false] Instead of serial binning, apply software scaling at '''colbin''' factor|| 
      19  ||'''swscale='''||[false] Instead of serial binning, apply software scaling at '''colbin''' factor (sw >= r5659|| 
    19 19  ||'''bpp='''||![16] Bits per pixel to save (16:signal-pedestal, 32:pedestal,signal)|| 
    20 20  ||'''sercln='''||![5] Number of times to clean the serial register before readout|| 
    21 21  ||'''prebias='''||![0] Device serial register prescan pixels (clocked and discarded)|| 
    22 22  ||'''pskip='''||![0] Subraster/region of interest: Number of extra parallel clocks before reading region|| 
    23 23  ||'''sskip='''||![0] Subraster/region of interest: Number of extra serial clocks before each row|| 
    24 24  '''CCD Video-mode readout options:''' 
    25 25  ||'''vid_shutter='''||[false] If set to '''true''', activate a stargrasp-controller shutter during video|| 
    26 26  ||'''vid_prebias='''||OBSOLETE.  Use '''prebias=''' 
    27 27  ||'''rowpre='''||![0] Rows to shift down for a "video clean" before integration|| 
    28 28  ||'''colpre='''||![0] Columns to shift (left or right) for a "video clean" before integration|| 
    29 29  ||'''vid_expose='''||![0] Video frame exposure (integration) time in milliseconds.  '''>= 1''' activates video|| 
    30 30  ||'''vid_rowskip='''||OBSOLETE.  Use '''pskip=''' 
    31 31  ||'''vid_colskip='''||OT-CCD only: Sideways pskip.  Normal CCDs must use '''sskip=''' 
    32 32  ||'''vid_colskip2='''||OT-CCD only: Second sideways pskip (used for "ghost reduction") 
    33 33  === '''buffer''' and '''cellrow''' options === 
    34 34  The '''cellrow=''' option only applies to OTA CCDs.  OTA CCDs have 8 cellrows, only one of which can be read at a time.  They are numbered 0 through 7, so that is the valid range for this parameter.  Non-OTA devices should use the default: '''cellrow=none''' 
    35 35  When '''cellrow=''' is 0..7 or '''all''', then '''buffer=''' defaults to the same value as the cellrow.  In other words, cellrow 0 pixels are placed in buffer 0 memory, cellrow 1 pixels are placed in buffer 1 memory, and so on.  If double or triple buffering of images is desired for non-OTA devices, the '''buffer=''' option can be used to achieve this.  Otherwise, the controller continually overwrites the image in buffer 0 for non-OTA devices. 
    36 36  Before using multiple buffers, calculate whether the controller has enough memory to store multiple images from your detector.  Expect to have around a 10% overhead for packet headers and the controller code itself. 
    37 37  === '''adcflip=''' and '''adczero=''' options === 
    38 38  The '''adcflip=''' option is obsolete, in the sense that it should always be left at the default (true.)  Reversing it in order to get the amplifiers written to FITS file in reverse order is not advised, because doing so will break readcal. 
    39 39  The '''adczero=''' option can still be used, in combination with '''namp=''' to select a (contiguous) range of output amplifiers from which pixels need to be saved.  For example, to read only the third output (output amplifier 2), use: 
    40 40  {{{ 
    41 41  readout namp=1 adczero=2 
    42 42  }}} 
    43 43  (And leave adcflip set, which is always the default.)