CCD Configuration File

File Format: FTCL parameter file

Name: opConfig-ddddd.par, where ddddd is the int(MJD).

Produced by: mop, iop, sop

Used by: mtframes, ssc, astrom, ps, frames

Size: approximately 100 Kb

Archived? Yes

Description

CCD configuration file, specifying the readout characteristics for each CCD "program". This file is changed seldom. Each observing report is accompanied by one of these files, specifying which CCD configurations were used for that night's observing. Each file should list all programs used for all CCDs in a given instrument.

Contents


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

typedef struct {

        char program[40];       # program name

        int camRow;             # camRow mt=0 spec=0 dsc=9
        int camCol;             # camCol mt=0 spec=1234 dsc=9

        int rowBinning;         # binning in y
        int colBinning;         # binning in x

        int amp0;               # amp 0 in use 1=yes 0=no
        int amp1;               # amp 1 in use
        int amp2;               # amp 2 in use
        int amp3;               # amp 3 in use

        int nrows;              # total rows in image
        int ncols;              # total cols in image (counting bias/overscan)

#amp 0 info

        int sPreBias0;          # starting column for left bias
        int nPreBias0;          # number of columns for left bias
        int sPostBias0;         # starting column for right bias
        int nPostBias0;         # number of columns for right bias
        int sOverScan0;         # starting column for left overscan
        int nOverScan0;         # number of columns for left overscan
        int sMapOverScan0;      # starting columns for right overscan
        int nMapOverScan0;      # number of columns for right overscan
        int sOverScanRows0;     # starting row of overscan rows
        int nOverScanRows0;     # number of rows of overscan rows
        int sDataSec0;          # starting column of data
        int nDataSec0;          # number of columns of data
        int sDataRow0;          # starting row of data on the chip
        int nDataRow0;          # number of rows of data on the chip
        int sCCDRowSec0;        # where was this data on the chip (row start)
        int sCCDColSec0;        # where was this data on the chip (col start)

        int sPreBias1;          # starting column for left bias
        int nPreBias1;          # number of columns for left bias
        int sPostBias1;         # starting column for right bias
        int nPostBias1;         # number of columns for right bias
        int sOverScan1;         # starting column for left overscan
        int nOverScan1;         # number of columns for left overscan
        int sMapOverScan1;      # starting columns for right overscan
        int nMapOverScan1;      # number of columns for right overscan
        int sOverScanRows1;     # starting row of overscan rows
        int nOverScanRows1;     # number of rows of overscan rows
        int sDataSec1;          # starting column of data
        int nDataSec1;          # number of columns of data
        int sDataRow1;          # starting row of data on the chip
        int nDataRow1;          # number of rows of data on the chip
        int sCCDRowSec1;        # where was this data on the chip (row start)
        int sCCDColSec1;        # where was this data on the chip (col start)

        int sPreBias2;          # starting column for left bias
        int nPreBias2;          # number of columns for left bias
        int sPostBias2;         # starting column for right bias
        int nPostBias2;         # number of columns for right bias
        int sOverScan2;         # starting column for left overscan
        int nOverScan2;         # number of columns for left overscan
        int sMapOverScan2;      # starting columns for right overscan
        int nMapOverScan2;      # number of columns for right overscan
        int sOverScanRows2;     # starting row of overscan rows
        int nOverScanRows2;     # number of rows of overscan rows
        int sDataSec2;          # starting column of data
        int nDataSec2;          # number of columns of data
        int sDataRow2;          # starting row of data on the chip
        int nDataRow2;          # number of rows of data on the chip
        int sCCDRowSec2;        # where was this data on the chip (row start)
        int sCCDColSec2;        # where was this data on the chip (col start)

        int sPreBias3;          # starting column for left bias
        int nPreBias3;          # number of columns for left bias
        int sPostBias3;         # starting column for right bias
        int nPostBias3;         # number of columns for right bias
        int sOverScan3;         # starting column for left overscan
        int nOverScan3;         # number of columns for left overscan
        int sMapOverScan3;      # starting columns for right overscan
        int nMapOverScan3;      # number of columns for right overscan
        int sOverScanRows3;     # starting row of overscan rows
        int nOverScanRows3;     # number of rows of overscan rows
        int sDataSec3;          # starting column of data
        int nDataSec3;          # number of columns of data
        int sDataRow3;          # starting row of data on the chip
        int nDataRow3;          # number of rows of data on the chip
        int sCCDRowSec3;        # where was this data on the chip (row start)
        int sCCDColSec3;        # where was this data on the chip (col start)

# The remaining fields designate the portion of the various regions that are
# considered to be good.
#amp 0 info

        int sPreBias0good;      # starting column for left bias
        int nPreBias0good;      # number of columns for left bias
        int sPostBias0good;     # starting column for right bias
        int nPostBias0good;     # number of columns for right bias
        int sOverScan0good;     # starting column for left overscan
        int nOverScan0good;     # number of columns for left overscan
        int sMapOverScan0good;  # starting columns for right overscan
        int nMapOverScan0good;  # number of columns for right overscan
        int sOverScanRows0good; # starting row of overscan rows
        int nOverScanRows0good; # number of rows of overscan rows
        int sDataSec0good;      # starting column of data
        int nDataSec0good;      # number of columns of data
        int sDataRow0good;      # starting row of data on the chip
        int nDataRow0good;      # number of rows of data on the chip
        int sCCDRowSec0good;    # where was this data on the chip (row start)
        int sCCDColSec0good;    # where was this data on the chip (col start)

        int sPreBias1good;      # starting column for left bias
        int nPreBias1good;      # number of columns for left bias
        int sPostBias1good;     # starting column for right bias
        int nPostBias1good;     # number of columns for right bias
        int sOverScan1good;     # starting column for left overscan
        int nOverScan1good;     # number of columns for left overscan
        int sMapOverScan1good;  # starting columns for right overscan
        int nMapOverScan1good;  # number of columns for right overscan
        int sOverScanRows1good; # starting row of overscan rows
        int nOverScanRows1good; # number of rows of overscan rows
        int sDataSec1good;      # starting column of data
        int nDataSec1good;      # number of columns of data
        int sDataRow1good;      # starting row of data on the chip
        int nDataRow1good;      # number of rows of data on the chip
        int sCCDRowSec1good;    # where was this data on the chip (row start)
        int sCCDColSec1good;    # where was this data on the chip (col start)

        int sPreBias2good;      # starting column for left bias
        int nPreBias2good;      # number of columns for left bias
        int sPostBias2good;     # starting column for right bias
        int nPostBias2good;     # number of columns for right bias
        int sOverScan2good;     # starting column for left overscan
        int nOverScan2good;     # number of columns for left overscan
        int sMapOverScan2good;  # starting columns for right overscan
        int nMapOverScan2good;  # number of columns for right overscan
        int sOverScanRows2good; # starting row of overscan rows
        int nOverScanRows2good; # number of rows of overscan rows
        int sDataSec2good;      # starting column of data
        int nDataSec2good;      # number of columns of data
        int sDataRow2good;      # starting row of data on the chip
        int nDataRow2good;      # number of rows of data on the chip
        int sCCDRowSec2good;    # where was this data on the chip (row start)
        int sCCDColSec2good;    # where was this data on the chip (col start)

        int sPreBias3good;      # starting column for left bias
        int nPreBias3good;      # number of columns for left bias
        int sPostBias3good;     # starting column for right bias
        int nPostBias3good;     # number of columns for right bias
        int sOverScan3good;     # starting column for left overscan
        int nOverScan3good;     # number of columns for left overscan
        int sMapOverScan3good;  # starting columns for right overscan
        int nMapOverScan3good;  # number of columns for right overscan
        int sOverScanRows3good; # starting row of overscan rows
        int nOverScanRows3good; # number of rows of overscan rows
        int sDataSec3good;      # starting column of data
        int nDataSec3good;      # number of columns of data
        int sDataRow3good;      # starting row of data on the chip
        int nDataRow3good;      # number of rows of data on the chip
        int sCCDRowSec3good;    # where was this data on the chip (row start)
        int sCCDColSec3good;    # where was this data on the chip (col start)

} CCDCONFIG;

ccdconfig mtpri 0 0 1 1 1 1 1 1 2048 2128\
 20 20 0 0 0 20 0 0  0 0 40 1024 0 0 0 1024\
 2088 20 0 0 2108 20 0 0  0 0 1064 1024 0 1024 0 1024\
 20 20 0 0 0 20 0 0  0 0 40 1024 1024 0 1024 1024\
 2088 20 0 0 2108 20 0 0  0 0 1064 1024 1024 1024 1024 1024\
 20 20 0 0 0 20 0 0  0 0 40 1024 0 0 0 1024\
 2088 20 0 0 2108 20 0 0  0 0 1064 1024 0 1024 0 1024\
 20 20 0 0 0 20 0 0  0 0 40 1024 1024 0 1024 1024\
 2088 20 0 0 2108 20 0 0  0 0 1064 1024 1024 1024 1024 1024

ccdconfig mtsec 0 0 1 1 1 1 0 0 2048 2128\
 20 20 0 0 0 20 0 0  0 0 40 1024 0 0 0 2048\
 2088 20 0 0 2008 20 0 0 0 0 1064 1024 0 1024 0 2048\
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\
 20 20 0 0 0 20 0 0  0 0 40 1024 0 0 0 2048\
 2088 20 0 0 2008 20 0 0 0 0 1064 1024 0 1024 0 2048\
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0