# Default APO20 opBC.par file

mjd           51306             # MJD day number when this file was created.
                                # This should be unique over the collection
                                # of all configuration files for a given
                                # camera.

typedef enum { 
  DRKCUR =0,                    # low level dark current 
  HOTCOL,                       # Hot column - bad dark current 
  DEPCOL,                       # Depressed column 
  CTECOL,                       # Bad charge transfer efficiency 
  BLKCOL,                       # blocked column - fix with flatfield 
  BADBLK,                       # badly blocked col - just fill in 
  HOTSPOT,                      # single hot pixel
  NOISY,                        # a noisy column
  TRAP                          # location of trap head
} DFTYPE;

typedef struct {
  char program[40];             # program name 'stare_0123'
  int camRow;                   # camRow mt=0 spec=0 dsc=9
  int camCol;                   # camCol mt=0 spec=1234 dsc=9
  int dfcol0;                   # starting column of this defect (trimmed image)
  int dfncol;                   # number of columns in this defect
  int dfrow0;                   # starting row of this defect (trimmed image)
  int dfnrow;                   # number of rows in this defect
  DFTYPE dftype;                # defect type
  int astroline;                # 1 if astroline to pay attention, 0 else.
} CCDBC;

ccdbc pt_stare            0  0  290    2    0 2048 CTECOL  0
#ccdbc pt_stare            0  0  727   14    0 2048 HOTCOL  0
ccdbc pt_stare            0  0  871    1  334 1714 HOTCOL  0
ccdbc pt_stare            0  0 1421    1 1695  353 HOTCOL  0
ccdbc pt_stare            0  0 1422    1 1695    2 HOTSPOT 0
ccdbc pt_stare            0  0 1614    1  254 1794 HOTCOL  0
ccdbc pt_stare            0  0 1699    1 1788  260 HOTCOL  0
# The following four entries are to block out the four CCD baffle masks...
ccdbc pt_stare            0  0  640  180    0  105 BADBLK  0
ccdbc pt_stare            0  0  640  180 1943  105 BADBLK  0
ccdbc pt_stare            0  0 1222  180    0  105 BADBLK  0
ccdbc pt_stare            0  0 1222  180 1943  105 BADBLK  0

