#ifndef STACKBATCHENUMS_H
#define STACKBATCHENUMS_H


typedef enum {
  STACKMETA_STACKMETAID = 1,
  STACKMETA_SKYCELLID = 2,
  STACKMETA_SURVEYID = 3,
  STACKMETA_PHOTOCALID = 4,
  STACKMETA_FILTERID = 5,
  STACKMETA_STACKTYPEID = 6,
  STACKMETA_STACKGROUPID = 7,
  STACKMETA_MAGSAT = 8,
  STACKMETA_ANALVER = 9,
  STACKMETA_NP2IMAGES = 10,
  STACKMETA_COMPLETMAG = 11,
  STACKMETA_ASTROSCAT = 12,
  STACKMETA_PHOTOSCAT = 13,
  STACKMETA_NASTROREF = 14,
  STACKMETA_NPHOREF = 15,
  STACKMETA_MEAN = 16,
  STACKMETA_MAX = 17,
  STACKMETA_PHOTOZERO = 18,
  STACKMETA_PHOTOCOLOR = 19,
  STACKMETA_CTYPE1 = 20,
  STACKMETA_CTYPE2 = 21,
  STACKMETA_CRVAL1 = 22,
  STACKMETA_CRVAL2 = 23,
  STACKMETA_CRPIX1 = 24,
  STACKMETA_CRPIX2 = 25,
  STACKMETA_CDELT1 = 26,
  STACKMETA_CDELT2 = 27,
  STACKMETA_PC001001 = 28,
  STACKMETA_PC001002 = 29,
  STACKMETA_PC002001 = 30,
  STACKMETA_PC002002 = 31,
  STACKMETA_CALIBMODNUM = 32,
  STACKMETA_DATARELEASE = 33,
} StackMeta;

typedef enum {
  STACKDETECTION_OBJID = 1,
  STACKDETECTION_STACKDETECTID = 2,
  STACKDETECTION_IPPOBJID = 3,
  STACKDETECTION_IPPDETECTID = 4,
  STACKDETECTION_FILTERID = 5,
  STACKDETECTION_STACKTYPEID = 6,
  STACKDETECTION_STACKGROUPID = 7,
  STACKDETECTION_SURVEYID = 8,
  STACKDETECTION_PRIMARYF = 9,
  STACKDETECTION_STACKMETAID = 10,
  STACKDETECTION_SKYCELLID = 11,
  STACKDETECTION_PROJECTIONCELLID = 12,
  STACKDETECTION_STACKVER = 13,
  STACKDETECTION_OBSTIME = 14,
  STACKDETECTION_XPOS = 15,
  STACKDETECTION_YPOS = 16,
  STACKDETECTION_XPOSERR = 17,
  STACKDETECTION_YPOSERR = 18,
  STACKDETECTION_INSTFLUX = 19,
  STACKDETECTION_INSTFLUXERR = 20,
  STACKDETECTION_PEAKFLUX = 21,
  STACKDETECTION_SKY = 22,
  STACKDETECTION_SKYERR = 23,
  STACKDETECTION_SGSEP = 24,
  STACKDETECTION_PSFWIDMAJOR = 25,
  STACKDETECTION_PSFWIDMINOR = 26,
  STACKDETECTION_PSFTHETA = 27,
  STACKDETECTION_PSFLIKELIHOOD = 28,
  STACKDETECTION_PSFCF = 29,
  STACKDETECTION_INFOFLAG = 30,
  STACKDETECTION_NFRAMES = 31,
  STACKDETECTION_ACTIVEFLAG = 32,
  STACKDETECTION_ASSOCDATE = 33,
  STACKDETECTION_HISTORYMODNUM = 34,
  STACKDETECTION_DATARELEASE = 35,
} StackDetection;

typedef enum {
  STACKAPFLX_OBJID = 1,
  STACKAPFLX_STACKDETECTID = 2,
  STACKAPFLX_IPPOBJID = 3,
  STACKAPFLX_IPPDETECTID = 4,
  STACKAPFLX_FILTERID = 5,
  STACKAPFLX_STACKTYPEID = 6,
  STACKAPFLX_STACKGROUPID = 7,
  STACKAPFLX_SURVEYID = 8,
  STACKAPFLX_PRIMARYF = 9,
  STACKAPFLX_STACKMETAID = 10,
  STACKAPFLX_ISOPHOTMAG = 11,
  STACKAPFLX_ISOPHOTMAGERR = 12,
  STACKAPFLX_ISOPHOTMAJAXIS = 13,
  STACKAPFLX_ISOPHOTMAJAXISERR = 14,
  STACKAPFLX_ISOPHOTMINAXIS = 15,
  STACKAPFLX_ISOPHOTMINAXISERR = 16,
  STACKAPFLX_ISOPHOTMAJAXISGRAD = 17,
  STACKAPFLX_ISOPHOTMINAXISGRAD = 18,
  STACKAPFLX_ISOPHOTPA = 19,
  STACKAPFLX_ISOPHOTPAERR = 20,
  STACKAPFLX_ISOPHOTPAGRAD = 21,
  STACKAPFLX_PETRADIUS = 22,
  STACKAPFLX_PETRADIUSERR = 23,
  STACKAPFLX_PETMAG = 24,
  STACKAPFLX_PETMAGERR = 25,
  STACKAPFLX_PETR50 = 26,
  STACKAPFLX_PETR50ERR = 27,
  STACKAPFLX_PETR90 = 28,
  STACKAPFLX_PETR90ERR = 29,
  STACKAPFLX_PETCF = 30,
  STACKAPFLX_FLXR1 = 31,
  STACKAPFLX_FLXR1ERR = 32,
  STACKAPFLX_FLXR1STD = 33,
  STACKAPFLX_FLXR1FILL = 34,
  STACKAPFLX_FLXR2 = 35,
  STACKAPFLX_FLXR2ERR = 36,
  STACKAPFLX_FLXR2STD = 37,
  STACKAPFLX_FLXR2FILL = 38,
  STACKAPFLX_FLXR3 = 39,
  STACKAPFLX_FLXR3ERR = 40,
  STACKAPFLX_FLXR3STD = 41,
  STACKAPFLX_FLXR3FILL = 42,
  STACKAPFLX_FLXR4 = 43,
  STACKAPFLX_FLXR4ERR = 44,
  STACKAPFLX_FLXR4STD = 45,
  STACKAPFLX_FLXR4FILL = 46,
  STACKAPFLX_FLXR5 = 47,
  STACKAPFLX_FLXR5ERR = 48,
  STACKAPFLX_FLXR5STD = 49,
  STACKAPFLX_FLXR5FILL = 50,
  STACKAPFLX_FLXR6 = 51,
  STACKAPFLX_FLXR6ERR = 52,
  STACKAPFLX_FLXR6STD = 53,
  STACKAPFLX_FLXR6FILL = 54,
  STACKAPFLX_FLXR7 = 55,
  STACKAPFLX_FLXR7ERR = 56,
  STACKAPFLX_FLXR7STD = 57,
  STACKAPFLX_FLXR7FILL = 58,
  STACKAPFLX_FLXR8 = 59,
  STACKAPFLX_FLXR8ERR = 60,
  STACKAPFLX_FLXR8STD = 61,
  STACKAPFLX_FLXR8FILL = 62,
  STACKAPFLX_FLXR9 = 63,
  STACKAPFLX_FLXR9ERR = 64,
  STACKAPFLX_FLXR9STD = 65,
  STACKAPFLX_FLXR9FILL = 66,
  STACKAPFLX_FLXR10 = 67,
  STACKAPFLX_FLXR10ERR = 68,
  STACKAPFLX_FLXR10STD = 69,
  STACKAPFLX_FLXR10FILL = 70,
  STACKAPFLX_C1FLXR1 = 71,
  STACKAPFLX_C1FLXR1ERR = 72,
  STACKAPFLX_C1FLXR1STD = 73,
  STACKAPFLX_C1FLXR1FILL = 74,
  STACKAPFLX_C1FLXR2 = 75,
  STACKAPFLX_C1FLXR2ERR = 76,
  STACKAPFLX_C1FLXR2STD = 77,
  STACKAPFLX_C1FLXR2FILL = 78,
  STACKAPFLX_C1FLXR3 = 79,
  STACKAPFLX_C1FLXR3ERR = 80,
  STACKAPFLX_C1FLXR3STD = 81,
  STACKAPFLX_C1FLXR3FILL = 82,
  STACKAPFLX_C1FLXR4 = 83,
  STACKAPFLX_C1FLXR4ERR = 84,
  STACKAPFLX_C1FLXR4STD = 85,
  STACKAPFLX_C1FLXR4FILL = 86,
  STACKAPFLX_C1FLXR5 = 87,
  STACKAPFLX_C1FLXR5ERR = 88,
  STACKAPFLX_C1FLXR5STD = 89,
  STACKAPFLX_C1FLXR5FILL = 90,
  STACKAPFLX_C1FLXR6 = 91,
  STACKAPFLX_C1FLXR6ERR = 92,
  STACKAPFLX_C1FLXR6STD = 93,
  STACKAPFLX_C1FLXR6FILL = 94,
  STACKAPFLX_C1FLXR7 = 95,
  STACKAPFLX_C1FLXR7ERR = 96,
  STACKAPFLX_C1FLXR7STD = 97,
  STACKAPFLX_C1FLXR7FILL = 98,
  STACKAPFLX_C1FLXR8 = 99,
  STACKAPFLX_C1FLXR8ERR = 100,
  STACKAPFLX_C1FLXR8STD = 101,
  STACKAPFLX_C1FLXR8FILL = 102,
  STACKAPFLX_C1FLXR9 = 103,
  STACKAPFLX_C1FLXR9ERR = 104,
  STACKAPFLX_C1FLXR9STD = 105,
  STACKAPFLX_C1FLXR9FILL = 106,
  STACKAPFLX_C1FLXR10 = 107,
  STACKAPFLX_C1FLXR10ERR = 108,
  STACKAPFLX_C1FLXR10STD = 109,
  STACKAPFLX_C1FLXR10FILL = 110,
  STACKAPFLX_C2FLXR1 = 111,
  STACKAPFLX_C2FLXR1ERR = 112,
  STACKAPFLX_C2FLXR1STD = 113,
  STACKAPFLX_C2FLXR1FILL = 114,
  STACKAPFLX_C2FLXR2 = 115,
  STACKAPFLX_C2FLXR2ERR = 116,
  STACKAPFLX_C2FLXR2STD = 117,
  STACKAPFLX_C2FLXR2FILL = 118,
  STACKAPFLX_C2FLXR3 = 119,
  STACKAPFLX_C2FLXR3ERR = 120,
  STACKAPFLX_C2FLXR3STD = 121,
  STACKAPFLX_C2FLXR3FILL = 122,
  STACKAPFLX_C2FLXR4 = 123,
  STACKAPFLX_C2FLXR4ERR = 124,
  STACKAPFLX_C2FLXR4STD = 125,
  STACKAPFLX_C2FLXR4FILL = 126,
  STACKAPFLX_C2FLXR5 = 127,
  STACKAPFLX_C2FLXR5ERR = 128,
  STACKAPFLX_C2FLXR5STD = 129,
  STACKAPFLX_C2FLXR5FILL = 130,
  STACKAPFLX_C2FLXR6 = 131,
  STACKAPFLX_C2FLXR6ERR = 132,
  STACKAPFLX_C2FLXR6STD = 133,
  STACKAPFLX_C2FLXR6FILL = 134,
  STACKAPFLX_C2FLXR7 = 135,
  STACKAPFLX_C2FLXR7ERR = 136,
  STACKAPFLX_C2FLXR7STD = 137,
  STACKAPFLX_C2FLXR7FILL = 138,
  STACKAPFLX_C2FLXR8 = 139,
  STACKAPFLX_C2FLXR8ERR = 140,
  STACKAPFLX_C2FLXR8STD = 141,
  STACKAPFLX_C2FLXR8FILL = 142,
  STACKAPFLX_C2FLXR9 = 143,
  STACKAPFLX_C2FLXR9ERR = 144,
  STACKAPFLX_C2FLXR9STD = 145,
  STACKAPFLX_C2FLXR9FILL = 146,
  STACKAPFLX_C2FLXR10 = 147,
  STACKAPFLX_C2FLXR10ERR = 148,
  STACKAPFLX_C2FLXR10STD = 149,
  STACKAPFLX_C2FLXR10FILL = 150,
  STACKAPFLX_LOGC = 151,
  STACKAPFLX_LOGA = 152,
  STACKAPFLX_ACTIVEFLAG = 153,
  STACKAPFLX_DATARELEASE = 154,
} StackApFlx;

typedef enum {
  STACKMODELFIT_OBJID = 1,
  STACKMODELFIT_STACKDETECTID = 2,
  STACKMODELFIT_IPPOBJID = 3,
  STACKMODELFIT_IPPDETECTID = 4,
  STACKMODELFIT_FILTERID = 5,
  STACKMODELFIT_STACKTYPEID = 6,
  STACKMODELFIT_STACKGROUPID = 7,
  STACKMODELFIT_SURVEYID = 8,
  STACKMODELFIT_PRIMARYF = 9,
  STACKMODELFIT_STACKMETAID = 10,
  STACKMODELFIT_DEVRADIUS = 11,
  STACKMODELFIT_DEVRADIUSERR = 12,
  STACKMODELFIT_DEVMAG = 13,
  STACKMODELFIT_DEVMAGERR = 14,
  STACKMODELFIT_DEVAB = 15,
  STACKMODELFIT_DEVABERR = 16,
  STACKMODELFIT_DEVPHI = 17,
  STACKMODELFIT_DEVPHIERR = 18,
  STACKMODELFIT_RADEVOFF = 19,
  STACKMODELFIT_DECDEVOFF = 20,
  STACKMODELFIT_RADEVOFFERR = 21,
  STACKMODELFIT_DECDEVOFFERR = 22,
  STACKMODELFIT_DEVCF = 23,
  STACKMODELFIT_DEVLIKELIHOOD = 24,
  STACKMODELFIT_DEVCOVAR11 = 25,
  STACKMODELFIT_DEVCOVAR12 = 26,
  STACKMODELFIT_DEVCOVAR13 = 27,
  STACKMODELFIT_DEVCOVAR14 = 28,
  STACKMODELFIT_DEVCOVAR15 = 29,
  STACKMODELFIT_DEVCOVAR16 = 30,
  STACKMODELFIT_DEVCOVAR17 = 31,
  STACKMODELFIT_DEVCOVAR22 = 32,
  STACKMODELFIT_DEVCOVAR23 = 33,
  STACKMODELFIT_DEVCOVAR24 = 34,
  STACKMODELFIT_DEVCOVAR25 = 35,
  STACKMODELFIT_DEVCOVAR26 = 36,
  STACKMODELFIT_DEVCOVAR27 = 37,
  STACKMODELFIT_DEVCOVAR33 = 38,
  STACKMODELFIT_DEVCOVAR34 = 39,
  STACKMODELFIT_DEVCOVAR35 = 40,
  STACKMODELFIT_DEVCOVAR36 = 41,
  STACKMODELFIT_DEVCOVAR37 = 42,
  STACKMODELFIT_DEVCOVAR44 = 43,
  STACKMODELFIT_DEVCOVAR45 = 44,
  STACKMODELFIT_DEVCOVAR46 = 45,
  STACKMODELFIT_DEVCOVAR47 = 46,
  STACKMODELFIT_DEVCOVAR55 = 47,
  STACKMODELFIT_DEVCOVAR56 = 48,
  STACKMODELFIT_DEVCOVAR57 = 49,
  STACKMODELFIT_DEVCOVAR66 = 50,
  STACKMODELFIT_DEVCOVAR67 = 51,
  STACKMODELFIT_DEVCOVAR77 = 52,
  STACKMODELFIT_EXPRADIUS = 53,
  STACKMODELFIT_EXPRADIUSERR = 54,
  STACKMODELFIT_EXPMAG = 55,
  STACKMODELFIT_EXPMAGERR = 56,
  STACKMODELFIT_EXPAB = 57,
  STACKMODELFIT_EXPABERR = 58,
  STACKMODELFIT_EXPPHI = 59,
  STACKMODELFIT_EXPPHIERR = 60,
  STACKMODELFIT_RAEXPOFF = 61,
  STACKMODELFIT_DECEXPOFF = 62,
  STACKMODELFIT_RAEXPOFFERR = 63,
  STACKMODELFIT_DECEXPOFFERR = 64,
  STACKMODELFIT_EXPCF = 65,
  STACKMODELFIT_EXPLIKELIHOOD = 66,
  STACKMODELFIT_EXPCOVAR11 = 67,
  STACKMODELFIT_EXPCOVAR12 = 68,
  STACKMODELFIT_EXPCOVAR13 = 69,
  STACKMODELFIT_EXPCOVAR14 = 70,
  STACKMODELFIT_EXPCOVAR15 = 71,
  STACKMODELFIT_EXPCOVAR16 = 72,
  STACKMODELFIT_EXPCOVAR17 = 73,
  STACKMODELFIT_EXPCOVAR22 = 74,
  STACKMODELFIT_EXPCOVAR23 = 75,
  STACKMODELFIT_EXPCOVAR24 = 76,
  STACKMODELFIT_EXPCOVAR25 = 77,
  STACKMODELFIT_EXPCOVAR26 = 78,
  STACKMODELFIT_EXPCOVAR27 = 79,
  STACKMODELFIT_EXPCOVAR33 = 80,
  STACKMODELFIT_EXPCOVAR34 = 81,
  STACKMODELFIT_EXPCOVAR35 = 82,
  STACKMODELFIT_EXPCOVAR36 = 83,
  STACKMODELFIT_EXPCOVAR37 = 84,
  STACKMODELFIT_EXPCOVAR44 = 85,
  STACKMODELFIT_EXPCOVAR45 = 86,
  STACKMODELFIT_EXPCOVAR46 = 87,
  STACKMODELFIT_EXPCOVAR47 = 88,
  STACKMODELFIT_EXPCOVAR55 = 89,
  STACKMODELFIT_EXPCOVAR56 = 90,
  STACKMODELFIT_EXPCOVAR57 = 91,
  STACKMODELFIT_EXPCOVAR66 = 92,
  STACKMODELFIT_EXPCOVAR67 = 93,
  STACKMODELFIT_EXPCOVAR77 = 94,
  STACKMODELFIT_SERRADIUS = 95,
  STACKMODELFIT_SERRADIUSERR = 96,
  STACKMODELFIT_SERMAG = 97,
  STACKMODELFIT_SERMAGERR = 98,
  STACKMODELFIT_SERAB = 99,
  STACKMODELFIT_SERABERR = 100,
  STACKMODELFIT_SERNU = 101,
  STACKMODELFIT_SERNUERR = 102,
  STACKMODELFIT_SERPHI = 103,
  STACKMODELFIT_SERPHIERR = 104,
  STACKMODELFIT_RASEROFF = 105,
  STACKMODELFIT_DECSEROFF = 106,
  STACKMODELFIT_RASEROFFERR = 107,
  STACKMODELFIT_DECSEROFFERR = 108,
  STACKMODELFIT_SERCF = 109,
  STACKMODELFIT_SERLIKELIHOOD = 110,
  STACKMODELFIT_SERSICCOVAR11 = 111,
  STACKMODELFIT_SERSICCOVAR12 = 112,
  STACKMODELFIT_SERSICCOVAR13 = 113,
  STACKMODELFIT_SERSICCOVAR14 = 114,
  STACKMODELFIT_SERSICCOVAR15 = 115,
  STACKMODELFIT_SERSICCOVAR16 = 116,
  STACKMODELFIT_SERSICCOVAR17 = 117,
  STACKMODELFIT_SERSICCOVAR18 = 118,
  STACKMODELFIT_SERSICCOVAR22 = 119,
  STACKMODELFIT_SERSICCOVAR23 = 120,
  STACKMODELFIT_SERSICCOVAR24 = 121,
  STACKMODELFIT_SERSICCOVAR25 = 122,
  STACKMODELFIT_SERSICCOVAR26 = 123,
  STACKMODELFIT_SERSICCOVAR27 = 124,
  STACKMODELFIT_SERSICCOVAR28 = 125,
  STACKMODELFIT_SERSICCOVAR33 = 126,
  STACKMODELFIT_SERSICCOVAR34 = 127,
  STACKMODELFIT_SERSICCOVAR35 = 128,
  STACKMODELFIT_SERSICCOVAR36 = 129,
  STACKMODELFIT_SERSICCOVAR37 = 130,
  STACKMODELFIT_SERSICCOVAR38 = 131,
  STACKMODELFIT_SERSICCOVAR44 = 132,
  STACKMODELFIT_SERSICCOVAR45 = 133,
  STACKMODELFIT_SERSICCOVAR46 = 134,
  STACKMODELFIT_SERSICCOVAR47 = 135,
  STACKMODELFIT_SERSICCOVAR48 = 136,
  STACKMODELFIT_SERSICCOVAR55 = 137,
  STACKMODELFIT_SERSICCOVAR56 = 138,
  STACKMODELFIT_SERSICCOVAR57 = 139,
  STACKMODELFIT_SERSICCOVAR58 = 140,
  STACKMODELFIT_SERSICCOVAR66 = 141,
  STACKMODELFIT_SERSICCOVAR67 = 142,
  STACKMODELFIT_SERSICCOVAR68 = 143,
  STACKMODELFIT_SERSICCOVAR77 = 144,
  STACKMODELFIT_SERSICCOVAR78 = 145,
  STACKMODELFIT_SERSICCOVAR88 = 146,
  STACKMODELFIT_ACTIVEFLAG = 147,
  STACKMODELFIT_DATARELEASE = 148,
} StackModelFit;

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

#endif