Evaluates quality control parameters and sets the relevant bitmask keywords in
the data catalogue product _SET_QC_FLAGS_
The definitions of the respective bitmasks for the Quality Control values are also given in the LCOGT Pipeline/Science Archive Interface Control Document (LCOGT-SA-ICD Version 0.10.0)
This primitive is suitable for imaging cameras.
Processing only occurs for object frames.
The four Quality Control values (QC_OBCON (observing constraints satisfied), QC_IMGST (processed image status), QC_CATST (source catalogue production status), QC_PHTST (photometric calibration status) along with the ellipticity, FWHM and orientation are filed with Calibration system in index.dqc
The four Quality Control values are also written into the frame header as L1QOBCON, L1QIMGST, L1QCATST, L1QPHTST keywords.