; NAME:
;   detector__define
;
; PURPOSE:
;   Provides the object definition for the abstract detector object.  Called by
;   the detector constructor as part of object creation.  
; 
; INPUTS:
;   none
; 
; KEYWORDS:
;   none
;
; OUTPUTS:
;   none
;
Pro detector__define

    detector_objdef = {detector, detname:'', xsize:0, ysize:0, $
        pixels:ptr_new(), amps:ptr_new(), pix_x:0e, pix_y:0e, pix_z:0e, $
        gain:0e, welldepth:0e, pixeltime:0e, scipix:intarr(4)}

    ; OBJECT PROPERTIES
    ; detname   string containing identifying name for detector
    ; xsize     x-coordinate dimension of detector (pixels)
    ; ysize     y-coordinate dimension of detector (pixels)
    ; pixels    pointer to detector's pixel array (used to hold an integrated
    ;           image)
    ; amps      pointer to array of amp object references
    ; pix_x     width of a detector pixel in microns
    ; pix_y     height of a detector pixel in microns
    ; pix_z     depth of a detector pixel in micron
    ; gain      conversion gain of detector system (e-/ADU)
    ; welldepth signal capacity of pixels (e-)
    ; pixeltime time for one pixel to be read
    ; scipix    array representing the boundaries of the science (non-reference)
    ;           pixels on the detector

End
