#ifndef IPPTOPSPSDIFFENUMS_H
#define IPPTOPSPSDIFFENUMS_H


typedef enum {
  STACKMETA_STACKMETAID = 1,
  STACKMETA_SKYCELLID = 2,
  STACKMETA_SURVEYID = 3,
  STACKMETA_PHOTOCALID = 4,
  STACKMETA_FILTERID = 5,
  STACKMETA_STACKTYPEID = 6,
  STACKMETA_REFIMAGEID = 7,
  STACKMETA_SUBTRIMAGEID = 8,
  STACKMETA_MAGSAT = 9,
  STACKMETA_ANALVER = 10,
  STACKMETA_NP2IMAGES = 11,
  STACKMETA_COMPLETMAG = 12,
  STACKMETA_ASTROSCAT = 13,
  STACKMETA_PHOTOSCAT = 14,
  STACKMETA_NASTROREF = 15,
  STACKMETA_NPHOREF = 16,
  STACKMETA_PSFFWHM = 17,
  STACKMETA_PSFMODELID = 18,
  STACKMETA_PSFWIDMAJOR = 19,
  STACKMETA_PSFWIDMINOR = 20,
  STACKMETA_PSFTHETA = 21,
  STACKMETA_PSFEXTRA1 = 22,
  STACKMETA_PSFEXTRA2 = 23,
  STACKMETA_PHOTOZERO = 24,
  STACKMETA_PHOTOCOLOR = 25,
  STACKMETA_CTYPE1 = 26,
  STACKMETA_CTYPE2 = 27,
  STACKMETA_CRVAL1 = 28,
  STACKMETA_CRVAL2 = 29,
  STACKMETA_CRPIX1 = 30,
  STACKMETA_CRPIX2 = 31,
  STACKMETA_PC001001 = 32,
  STACKMETA_PC001002 = 33,
  STACKMETA_PC002001 = 34,
  STACKMETA_PC002002 = 35,
  STACKMETA_POLYORDER = 36,
  STACKMETA_PCA1X3Y0 = 37,
  STACKMETA_PCA1X2Y1 = 38,
  STACKMETA_PCA1X1Y2 = 39,
  STACKMETA_PCA1X0Y3 = 40,
  STACKMETA_PCA1X2Y0 = 41,
  STACKMETA_PCA1X1Y1 = 42,
  STACKMETA_PCA1X0Y2 = 43,
  STACKMETA_PCA2X3Y0 = 44,
  STACKMETA_PCA2X2Y1 = 45,
  STACKMETA_PCA2X1Y2 = 46,
  STACKMETA_PCA2X0Y3 = 47,
  STACKMETA_PCA2X2Y0 = 48,
  STACKMETA_PCA2X1Y1 = 49,
  STACKMETA_PCA2X0Y2 = 50,
  STACKMETA_CALIBMODNUM = 51,
  STACKMETA_DATARELEASE = 52,
} StackMeta;

typedef enum {
  STACKTOIMAGE_STACKMETAID = 1,
  STACKTOIMAGE_IMAGEID = 2,
} StackToImage;

typedef enum {
  STACKLOWSIGDELTA_STACKMETAID = 1,
  STACKLOWSIGDELTA_DATATABLE = 2,
  STACKLOWSIGDELTA_DATARELEASE = 3,
} StackLowSigDelta;

typedef enum {
  STACKHIGHSIGDELTA_PARTITIONKEY = 1,
  STACKHIGHSIGDELTA_STACKDIFFID = 2,
  STACKHIGHSIGDELTA_IPPDETECTID = 3,
  STACKHIGHSIGDELTA_FILTERID = 4,
  STACKHIGHSIGDELTA_OBSTIME = 5,
  STACKHIGHSIGDELTA_XPOS = 6,
  STACKHIGHSIGDELTA_YPOS = 7,
  STACKHIGHSIGDELTA_XPOSERR = 8,
  STACKHIGHSIGDELTA_YPOSERR = 9,
  STACKHIGHSIGDELTA_INSTMAG = 10,
  STACKHIGHSIGDELTA_INSTMAGERR = 11,
  STACKHIGHSIGDELTA_PEAKFLUXMAG = 12,
  STACKHIGHSIGDELTA_PSFWIDMAJOR = 13,
  STACKHIGHSIGDELTA_PSFWIDMINOR = 14,
  STACKHIGHSIGDELTA_PSFTHETA = 15,
  STACKHIGHSIGDELTA_PSFLIKELIHOOD = 16,
  STACKHIGHSIGDELTA_PSFCF = 17,
  STACKHIGHSIGDELTA_INFOFLAG = 18,
  STACKHIGHSIGDELTA_NFRAMES = 19,
  STACKHIGHSIGDELTA_HTMID = 20,
  STACKHIGHSIGDELTA_ZONEID = 21,
  STACKHIGHSIGDELTA_RA = 22,
  STACKHIGHSIGDELTA_DEC = 23,
  STACKHIGHSIGDELTA_RAERR = 24,
  STACKHIGHSIGDELTA_DECERR = 25,
  STACKHIGHSIGDELTA_CX = 26,
  STACKHIGHSIGDELTA_CY = 27,
  STACKHIGHSIGDELTA_CZ = 28,
  STACKHIGHSIGDELTA_CALMAG = 29,
  STACKHIGHSIGDELTA_CALMAGERR = 30,
  STACKHIGHSIGDELTA_SKY = 31,
  STACKHIGHSIGDELTA_SKYERR = 32,
  STACKHIGHSIGDELTA_SGSEP = 33,
  STACKHIGHSIGDELTA_DATARELEASE = 34,
} StackHighSigDelta;

typedef enum {
  OBJECTCALCOLOR_OBJID = 1,
  OBJECTCALCOLOR_IPPOBJID = 2,
  OBJECTCALCOLOR_FILTERID = 3,
  OBJECTCALCOLOR_CALCOLOR = 4,
  OBJECTCALCOLOR_CALCOLORERR = 5,
  OBJECTCALCOLOR_CALIBMODNUM = 6,
  OBJECTCALCOLOR_DATARELEASE = 7,
} ObjectCalColor;

#endif