# PyNOT Classification Rules for NTT/EFOSC2

BIAS : EXPTIME < 0.01 and DPR.CATG == CALIB and DPR.TYPE == BIAS
BIAS : EXPTIME < 0.01 and DPR.CATG == CALIB and DPR.TYPE == DARK
DARK : EXPTIME > 0.1 and DPR.CATG == CALIB and DPR.TYPE == DARK

ARC_HeAr : INS.GRIS1.NAME != Free and INS.SLIT1.NAME != Free and DPR.CATG == CALIB and DPR.TYPE == WAVE and DPR.TECH == SPECTRUM

SPEC_FLAT : INS.GRIS1.NAME != Free and INS.SLIT1.NAME != Free and DPR.CATG == CALIB and DPR.TYPE == FLAT and DPR.TECH == SPECTRUM

SPEC_DOME_FLAT : INS.GRIS1.NAME != Free and INS.SLIT1.NAME != Free and DPR.CATG == CALIB and DPR.TYPE == DOME and DPR.TECH == SPECTRUM

SPEC_OBJECT : INS.GRIS1.NAME != Free and INS.SLIT1.NAME != Free and DPR.TECH == SPECTRUM and DPR.CATG == SCIENCE and DPR.TYPE == OBJECT

SPEC_FLUX-STD : DPR.TECH == SPECTRUM and DPR.CATG == SCIENCE and DPR.TYPE == STD

# FOCUS : INS.GRIS1.NAME == FOCUS

ACQ_IMG : DPR.TECH == IMAGE and DPR.CATG == ACQUISITION

IMG_OBJECT : DPR.TECH == IMAGE and DPR.CATG == SCIENCE and DPR.TYPE == OBJECT and INS.GRIS1.NAME == Free and INS.SLIT1.NAME == Free

FLAT_TEST : OCS.DET1.IMGNAME == SkyFFtest and DPR.CATG == CALIB and DPR.TYPE == SKY,FLAT

IMG_FLAT : OCS.DET1.IMGNAME == EFOSC_SkyFlat and DPR.CATG == CALIB and DPR.TYPE == SKY,FLAT

SLIT_IMG : DPR.TECH == IMAGE and DPR.CATG == ACQUISITION and INS.SLIT1.NAME != Free
