# Specification file for primary header. Taken from LCA 10140 v1.
# Modified for use with focal-plane
#
HEADVER     Integer 2                           Version number of header
INSTRUME    String  lsstCam                     Instrument
TELESCOP    String  LSST                        Telescope
# Header requested by Merlin, TimJ
TSTAND      String  BOT                         Camera test stand BOT or CCOB
SEQFILE!    String  ${focal-plane/${RAFT}/${REB}/sequencerFile}  Sequencer file name
SEQCKSUM!   String  ${focal-plane/${RAFT}/${REB}/sequencerChecksum} Checksum of Sequencer
LSST_NUM!   String  ${focal-plane/${RAFT}/${REB}/${CCD}/name} LSST Assigned CCD Number
CCD_SERN!   String  ${focal-plane/${RAFT}/${REB}/${CCD}/manSerNum}    Manufacturers’ CCD Serial Number
REBNAME!    String  ${focal-plane/${RAFT}/${REB}_hardware/name} LSST Assigned Name REB name
RAFTNAME!   String  ${focal-plane/${RAFT}/name}    LSST Assigned Raft name
DARKTIME!   Float   ${darkTime}                 Dark Time in Seconds (see TSEIA-91)
#
TSEQNUM     Integer ${TestSeqNum}                Sequence number within current test
#
# CCOB items (do they belong in primary header -- probably not)
TEMPLED1    Float   ${ccob/tempLed1}            CCOB daughter board temperature, front
TEMPLED2    Float   ${ccob/tempLed2}            CCOB daughter board temperature, back
TEMPSPH     Float   ${ccob/tempSphere}          CCOB sphere temperature
TEMPBRD     Float   ${ccob/tempBrd}             CCOB board temperature
CCOBLED     String  ${CCOBLED}                  Selected CCOB LED
CCOBCURR    Float   ${CCOBCURR}                 CCOB LED current
CCOBADC     Float   ${CCOBADC}                  CCOB Photodiode value (after exposure)
# BOT items
BOTXCAM     Float ${bot-motorplatform/LampStatus/xcam} X position of lamp/source in camera coordinate system
BOTYCAM     Float ${bot-motorplatform/LampStatus/ycam} Y position of lamp/source in camera coordinate system
BOTX        Float ${bot-motorplatform/LampStatus/xbot} X position of BOT in raw bot coordinates
BOTY        Float ${bot-motorplatform/LampStatus/ybot} Y position of BOT in raw bot coordinates
# Flat Field projector items
FILTER      String ${bot-bench/ColorFWheel/filterName}   Color filter name from Flat Field Projector
FILTER2     String ${bot-bench/NeutralFWheel/filterName} Neutral density filter name from Flat Field Projector
# Used for Fe55+Flat and Spots+Flats
EXPTIME2    Float ${ExposureTime2} Exposure time for second part of 2 part exposure
# CCS versions
FPVERS      String  ${focal-plane/ccsVersions/agent/version}  The focal-plane version number
IHVERS      String  ${${AGENT_NAME}/ccsVersions/agent/version} The image-handling version number
