IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36899


Ignore:
Timestamp:
Jun 17, 2014, 6:23:59 PM (12 years ago)
Author:
eugene
Message:

updates for PS1_V5 (major schema upgrade and rework): libdvo builds, but far from ready...

Location:
branches/eam_branches/ipp-20140610/Ohana/src/libautocode
Files:
3 added
12 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/Makefile.Targets

    r34405 r36899  
    1212$(ASRC)/average-ps1-v3.$(ARCH).o \
    1313$(ASRC)/average-ps1-v4.$(ARCH).o \
     14$(ASRC)/average-ps1-v5.$(ARCH).o \
    1415$(ASRC)/average-ps1-ref.$(ARCH).o \
    1516$(ASRC)/secfilt.$(ARCH).o \
     
    2425$(ASRC)/secfilt-ps1-v3.$(ARCH).o \
    2526$(ASRC)/secfilt-ps1-v4.$(ARCH).o \
     27$(ASRC)/secfilt-ps1-v5.$(ARCH).o \
    2628$(ASRC)/secfilt-ps1-ref.$(ARCH).o \
    2729$(ASRC)/measure.$(ARCH).o \
     
    3638$(ASRC)/measure-ps1-v3.$(ARCH).o \
    3739$(ASRC)/measure-ps1-v4.$(ARCH).o \
     40$(ASRC)/measure-ps1-v5.$(ARCH).o \
    3841$(ASRC)/measure-ps1-ref.$(ARCH).o \
     42$(ASRC)/lensing.$(ARCH).o \
     43$(ASRC)/lensing-ps1-v5.$(ARCH).o \
     44$(ASRC)/lensobj.$(ARCH).o \
     45$(ASRC)/lensobj-ps1-v5.$(ARCH).o \
    3946$(ASRC)/missing.$(ARCH).o \
    4047$(ASRC)/photcode.$(ARCH).o \
     
    4754$(ASRC)/photcode-ps1-v3.$(ARCH).o \
    4855$(ASRC)/photcode-ps1-v4.$(ARCH).o \
     56$(ASRC)/photcode-ps1-v5.$(ARCH).o \
    4957$(ASRC)/photcode-ps1-ref.$(ARCH).o \
    5058$(ASRC)/image.$(ARCH).o \
     
    6068$(ASRC)/image-ps1-v3.$(ARCH).o \
    6169$(ASRC)/image-ps1-v4.$(ARCH).o \
     70$(ASRC)/image-ps1-v5.$(ARCH).o \
    6271$(ASRC)/image-ps1-ref.$(ARCH).o \
    6372$(ASRC)/regimage.$(ARCH).o \
     
    7180$(ASRC)/cmf-ps1-v3.$(ARCH).o \
    7281$(ASRC)/cmf-ps1-v4.$(ARCH).o \
     82$(ASRC)/cmf-ps1-v5.$(ARCH).o \
    7383$(ASRC)/cmf-ps1-sv1.$(ARCH).o \
    7484$(ASRC)/cmf-ps1-sv2.$(ARCH).o \
     
    98108$(AINC)/average-ps1-v3.h \
    99109$(AINC)/average-ps1-v4.h \
     110$(AINC)/average-ps1-v5.h \
    100111$(AINC)/average-ps1-ref.h \
    101112$(AINC)/secfilt.h \
     
    110121$(AINC)/secfilt-ps1-v3.h \
    111122$(AINC)/secfilt-ps1-v4.h \
     123$(AINC)/secfilt-ps1-v5.h \
    112124$(AINC)/secfilt-ps1-ref.h \
    113125$(AINC)/measure.h \
     
    122134$(AINC)/measure-ps1-v3.h \
    123135$(AINC)/measure-ps1-v4.h \
     136$(AINC)/measure-ps1-v5.h \
    124137$(AINC)/measure-ps1-ref.h \
     138$(AINC)/lensing.h \
     139$(AINC)/lensing-ps1-v5.h \
     140$(AINC)/lensobj.h \
     141$(AINC)/lensobj-ps1-v5.h \
    125142$(AINC)/missing.h \
    126143$(AINC)/photcode.h \
     
    133150$(AINC)/photcode-ps1-v3.h \
    134151$(AINC)/photcode-ps1-v4.h \
     152$(AINC)/photcode-ps1-v5.h \
    135153$(AINC)/photcode-ps1-ref.h \
    136154$(AINC)/image.h \
     
    146164$(AINC)/image-ps1-v3.h \
    147165$(AINC)/image-ps1-v4.h \
     166$(AINC)/image-ps1-v5.h \
    148167$(AINC)/image-ps1-ref.h \
    149168$(AINC)/regimage.h \
     
    157176$(AINC)/cmf-ps1-v3.h \
    158177$(AINC)/cmf-ps1-v4.h \
     178$(AINC)/cmf-ps1-v5.h \
    159179$(AINC)/cmf-ps1-sv1.h \
    160180$(AINC)/cmf-ps1-sv2.h \
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average-ps1-v5.d

    r36885 r36899  
    22EXTNAME      DVO_AVERAGE_PS1_V5
    33TYPE         BINTABLE
    4 SIZE         168
     4SIZE         176
    55DESCRIPTION  DVO Average Object Table
    66
     
    4040FIELD Nmissing,       NMISSING,    unsigned short,  number of missings
    4141FIELD Nlensing,       NLENSING,    unsigned short,  number of lensing measurements
     42FIELD Nlensobj,       NLENSOBJ,    unsigned short,  number of lensing measurements
    4243FIELD Nextend,        NEXTEND,     unsigned short,  number of extended measurements
    43 FIELD padding,        PADDING,     short
    4444
    4545FIELD measureOffset,  OFF_MEASURE, uint32_t,        offset to first psf measurement
    4646FIELD missingOffset,  OFF_MISSING, uint32_t,        offset to first missing obs
    4747FIELD lensingOffset,  OFF_LENSING, uint32_t,        offset to first lensing obs
     48FIELD lensobjOffset,  OFF_LENSOBJ, uint32_t,        offset to mean lensing data
     49FIELD extendOffset,   OFF_EXTEND,  uint32_t,        offset to extended object entry
     50
    4851FIELD refColor,       REF_COLOR,   float,           color of reference stars
    4952
     
    5962FIELD extIDgc,        EXT_ID_GC,   uint64_t,        external ID for object in galactic coords
    6063
    61 # 4 double, 2 uint64_t, 17 float, 10 int, 6 short
    62 # 4*8 + 2*8 + 17*4 + 10*4 + 6*2 = 168
     64# 4 double, 2 uint64_t, 17 float, 12 int, 6 short
     65# 4*8 + 2*8 + 17*4 + 12*4 + 6*2 = 176
    6366# for 5G objects, expect 840G
    6467
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average.d

    r36833 r36899  
    22EXTNAME      DVO_AVERAGE
    33TYPE         BINTABLE
    4 SIZE         128
     4SIZE         176
    55DESCRIPTION  DVO Average Object Table
    66
     
    1919FIELD dP,             PAR_ERR,     float,           parallax error,               arcsec
    2020
     21FIELD Rstk,           RA_STK,      double,          RA on stack,                  decimal degrees
     22FIELD Dstk,           DEC_STK,     double,          DEC on stack,                 decimal degrees
     23FIELD dRstk,          RA_STK_ERR,  float,           RA error on stack,            arcsec
     24FIELD dDstk,          DEC_STK_ERR, float,           DEC error on stack,           arcsec
     25
    2126FIELD ChiSqAve,       CHISQ_POS,   float,           astrometry analysis chisq
    2227FIELD ChiSqPM,        CHISQ_PM,    float,           astrometry analysis chisq
     
    3439FIELD Nmeasure,       NMEASURE,    unsigned short,  number of psf measurements
    3540FIELD Nmissing,       NMISSING,    unsigned short,  number of missings
     41FIELD Nlensing,       NLENSING,    unsigned short,  number of lensing measurements
     42FIELD Nlensobj,       NLENSOBJ,    unsigned short,  number of lensing measurements
    3643FIELD Nextend,        NEXTEND,     unsigned short,  number of extended measurements
    3744
    3845FIELD measureOffset,  OFF_MEASURE, int,             offset to first psf measurement
    3946FIELD missingOffset,  OFF_MISSING, int,             offset to first missing obs
     47FIELD lensingOffset,  OFF_LENSING, uint32_t,        offset to first lensing obs
     48FIELD lensobjOffset,  OFF_LENSOBJ, uint32_t,        offset to mean lensing data
     49FIELD extendOffset,   OFF_EXTEND,  uint32_t,        offset to extended object entry
     50
    4051FIELD refColor,       REF_COLOR,   float,           color of astrometry ref stars
    4152
     
    4960FIELD catID,          CAT_ID,      unsigned int,    unique ID for table in which object was first realized
    5061FIELD extID,          EXT_ID,      uint64_t,        external ID for object (eg PSPS objID)
     62FIELD extIDgc,        EXT_ID_GC,   uint64_t,        external ID for object in galactic coords
    5163
    5264# this structure should only be used for internal representations
     
    5668
    5769# *** 20090206 : new fields : ChiSq, Npos, flags (was code, uint16_t), extID
    58 
    5970# *** 20100331 : new fields needed to assess astrometry analysis quality:
    60 
     71# *** 20140617 : new fields : Rstk, Dstk, dRstk,dDstk, Nlensing, Nlensobj, lensingOffset, lensobjOffset, refColor
    6172
    6273# photflagsUpper & photflagsLower: we have Nmeasures of a given source
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/cmf-ps1-v5.d

    r36885 r36899  
    33EXTNAME CMF_PS1_V5
    44TYPE    BINTABLE
    5 SIZE    216
     5SIZE    232
    66
    77# elements of data structure / FITS table
     
    7474# model shape parameters: F_major, F_minor, F_theta
    7575# centroid errors: sigma_X, sigma_Y, sigma_XY
    76 
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image-ps1-v5.d

    r36885 r36899  
    1 STRUCT       Image_PS1_V4
    2 EXTNAME      DVO_IMAGE_PS1_V4
     1STRUCT       Image_PS1_V5
     2EXTNAME      DVO_IMAGE_PS1_V5
    33TYPE         BINTABLE
    44SIZE         360
     
    4242FIELD     DECo,             DEC_CENTER,           float,          image center,              degrees
    4343FIELD     Radius,           RADIUS,               float,          image radius,              degrees
    44 FIELD     refColor,         REF_COLOR,            float,          dummy
     44FIELD     refColor,         REF_COLOR,            float,          median astrometry ref color
    4545
    4646# should we define the max length of name as a macro?
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image.d

    r36833 r36899  
    4444FIELD     DECo,             DEC_CENTER,           float,          image center,              degrees
    4545FIELD     Radius,           RADIUS,               float,          image radius,              degrees
    46 FIELD     refColor,         REF_COLOR,            float,          dummy
     46FIELD     refColor,         REF_COLOR,            float,          median astrometry ref color
    4747
    4848FIELD     name,             NAME,                 char[121],      name of original image
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/lensing-ps1-v5.d

    r36885 r36899  
    1 STRUCT       Lensing_PS1_V4
    2 EXTNAME      DVO_LENSING_PS1_V4
     1STRUCT       Lensing_PS1_V5
     2EXTNAME      DVO_LENSING_PS1_V5
    33TYPE         BINTABLE
    4 SIZE         96
     4SIZE         128
    55DESCRIPTION  DVO Lensing Table
    66
     
    2929FIELD  E2_sh_psf,      E2_SH_PSF,    float,          lensing shear psf stars E2
    3030
     31FIELD F_ApR5,        FLUX_AP_R5,     float,          Flux inside r = 5
     32FIELD dF_ApR5,       FLUX_ERR_AP_R5, float,          Flux inside r = 5
     33FIELD sF_ApR5,       FLUX_STD_AP_R5, float,          Flux inside r = 5
     34FIELD fF_ApR5,       FLUX_FIL_AP_R5, float,          Flux inside r = 5
     35
     36FIELD F_ApR6,        FLUX_AP_R6,     float,          Flux inside r = 5
     37FIELD dF_ApR6,       FLUX_ERR_AP_R6, float,          Flux inside r = 5
     38FIELD sF_ApR6,       FLUX_AP_R6,     float,          Flux inside r = 5
     39FIELD fF_ApR6,       FLUX_AP_R6,     float,          Flux inside r = 5
     40
    3141FIELD  detID,          DET_ID,       unsigned int,   detection ID
    3242FIELD  objID,          OBJ_ID,       unsigned int,   unique ID for object in table
     
    3444FIELD    pad,             PAD,       int
    3545
    36 # 20 x float
     46# 28 x float
    3747# 4 x int
    38 # = 96 bytes / detection
     48# = 128 bytes / detection
    3949# for 2.5G objects + 60 overlaps, expect 15TB for forced warp
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure-ps1-v5.d

    r36885 r36899  
    1 STRUCT       Measure_PS1_V4
    2 EXTNAME      DVO_MEASURE_PS1_V4
     1STRUCT       Measure_PS1_V5
     2EXTNAME      DVO_MEASURE_PS1_V5
    33TYPE         BINTABLE
    44SIZE         232
     
    5252# internally, this is an unsigned int; however, we do NOT convert with TZERO/TSCAL on output
    5353FIELD detID,          DET_ID,        unsigned int,   detection ID
    54 FIELD imageID,        IMAGE_ID,      unsigned int,   reference to DVO image ID
    5554FIELD objID,          OBJ_ID,        unsigned int,   unique ID for object in table
    5655FIELD catID,          CAT_ID,        unsigned int,   unique ID for table in which object was first realized
    5756
    58 FIELD padding,        PADDING,       int,            padding to ensure 8byte blocks
    5957# extID needs to be on an 8-byte boundary
    60 
    6158# PSPS uses a 64-bit detection ID
    6259FIELD extID,          EXT_ID,        uint64_t,       external ID (eg PSPS detID)
     60
     61FIELD imageID,        IMAGE_ID,      unsigned int,   reference to DVO image ID
    6362
    6463# do we need more resolution than a short? should this be a log?
     
    9897FIELD photFlags,      PHOT_FLAGS,   unsigned int,   flags supplied by photometry program
    9998
     99FIELD padding,        PADDING,       int,            padding to ensure 8byte blocks
     100
    100101# 2 x double
    101102# 35 x float
    102 # 10 x int or unsigned int
     103# 11 x int or unsigned int
    103104# 12 x short or unsigned short
    104105# 1 x uint64_t
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure.d

    r35099 r36899  
    22EXTNAME      DVO_MEASURE
    33TYPE         BINTABLE
    4 SIZE         184
     4SIZE         228
    55DESCRIPTION  DVO Detection Measurement Table
    66
    7 FIELD dR,             D_RA,         float,          RA offset,                      arcsec
    8 FIELD dD,             D_DEC,        float,          DEC offset,                     arcsec
    9 FIELD M,              MAG,          float,          catalog mag,                    mag
    10 FIELD Mcal,           M_CAL,        float,          image cal mag,                  mag
    11 FIELD Map,            M_APER,       float,          aperture mag,                   mag
    12 FIELD Mkron,          M_KRON,       float,          kron magnitude,                 mag
    13 FIELD dMkron,         M_KRON_ERR,   float,          kron magnitude error,           mag
    14 FIELD dM,             MAG_ERR,      float,          mag error,                      mag
    15 FIELD dMcal,          MAG_CAL_ERR,  float,          systematic calibration error,   mag
    16 FIELD dt,             M_TIME,       float,          exposure time,                  2.5*log(exptime)
     7FIELD R,              RA,            double,         RA at epoch,                  degrees
     8FIELD D,              DEC,           double,         DEC at epoch,                 degrees
     9FIELD M,              MAG,           float,          catalog mag,                    mag
     10FIELD dM,             MAG_ERR,       float,          mag error,                      mag
     11FIELD Map,            M_APER,        float,          aperture mag,                   mag
     12FIELD dMap,           M_APER,        float,          aperture mag,                   mag
     13FIELD Mkron,          M_KRON,        float,          kron magnitude,                 mag
     14FIELD dMkron,         M_KRON_ERR,    float,          kron magnitude error,           mag
     15FIELD Mcal,           M_CAL,         float,          image cal mag,                  mag
     16FIELD dMcal,          MAG_CAL_ERR,   float,          systematic calibration error,   mag
     17FIELD dt,             M_TIME,        float,          exposure time,                  2.5*log(exptime)
    1718
    1819# for stacks only?
    19 FIELD FluxPSF,        FLUX_PSF,     float,          flux from psf fit,              counts/sec?
    20 FIELD dFluxPSF,       FLUX_PSF_ERR, float,          error on psf flux,              counts/sec?
    21 FIELD FluxKron,       FLUX_KRON,     float,         flux from kron ap,              counts/sec?
    22 FIELD dFluxKron,      FLUX_KRON_ERR, float,         error on kron flux,             counts/sec?
     20FIELD FluxPSF,        FLUX_PSF,      float,         flux from psf fit,              counts/sec
     21FIELD dFluxPSF,       FLUX_PSF_ERR,  float,         error on psf flux,              counts/sec
     22FIELD FluxKron,       FLUX_KRON,     float,         flux from kron ap,              counts/sec
     23FIELD dFluxKron,      FLUX_KRON_ERR, float,         error on kron flux,             counts/sec
     24FIELD FluxAp,         FLUX_AP,       float,         flux from ap,                   counts/sec
     25FIELD dFluxAp,        FLUX_AP_ERR,   float,         error on ap flux,               counts/sec
    2326
    2427# note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation
     
    3336FIELD Yfix,           Y_FIX,        float,          Y coord after correction,     pixels
    3437
     38FIELD XoffKH,         X_OFF_KH,      float,          X offset from correction,     pixels
     39FIELD YoffKH,         Y_OFF_KH,      float,          Y offset from correction,     pixels
     40FIELD XoffDCR,        X_OFF_DCR,     float,          X offset from correction,     pixels
     41FIELD YoffDCR,        Y_OFF_DCR,     float,          Y offset from correction,     pixels
     42FIELD XoffGAL,        X_OFF_GAL,     float,          X offset from correction,     pixels
     43FIELD YoffGAL,        Y_OFF_GAL,     float,          Y offset from correction,     pixels
     44
    3545# could these be packed into fewer bits?
    3646FIELD Sky,            SKY_FLUX,     float,          local estimate of sky flux,     counts/sec
     
    3848
    3949FIELD t,              TIME,         int,            time in seconds (UNIX)
    40 FIELD t_msec,         TIME_MSEC,    unsigned short, time fraction of second,        milliseconds
    4150FIELD averef,         AVE_REF,      unsigned int,   reference to average entry     
    4251
    4352FIELD detID,          DET_ID,       unsigned int,   detection ID
    44 FIELD imageID,        IMAGE_ID,     unsigned int,   reference to DVO image ID
    4553FIELD objID,          OBJ_ID,       unsigned int,   unique ID for object in table
    4654FIELD catID,          CAT_ID,       unsigned int,   unique ID for table in which object was first realized
     
    4856# PSPS uses a 64-bit detection ID
    4957FIELD extID,          EXT_ID,       uint64_t,       external ID (eg PSPS detID)
     58
     59FIELD imageID,        IMAGE_ID,     unsigned int,   reference to DVO image ID
    5060
    5161# do we need more resolution than a short? should this be a log?
     
    6979FIELD Myy,            MYY,          short,          second moments in pixel coords, 1/100 of pixels^2
    7080
     81# fractional exposure time
     82FIELD t_msec,         TIME_MSEC,    unsigned short, time fraction of second,        milliseconds
     83FIELD photcode,       PHOTCODE,     unsigned short, photcode
     84
    7185# convert this to error in pixels on load?
    7286FIELD dXccd,          X_CCD_ERR,    short,          X coord error on chip,          1/100 of pixels
     
    7791FIELD pltscale,       PLTSCALE,     float,          plate scale,                    arcsec/pixel
    7892
    79 FIELD photcode,       PHOTCODE,     unsigned short, photcode
    8093FIELD dbFlags,        DB_FLAGS,     unsigned int,   flags supplied by analysis in database
    8194FIELD photFlags,      PHOT_FLAGS,   unsigned int,   flags supplied by photometry program
     
    8598#                Changed dbFlags, photFlags : uint16_t to uint64_t
    8699
     100# *** 20140617 : changed: dR,dD -> R,D (removed dependence on average.R,D)
     101                 added: dMap, FluxAp, dFluxAp, (X,Y)off(KH,DCR,GAL)
     102
    87103# XXX unsigned int values are probably not being saved in the FITS file correctly: no BZERO, BSCALE
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/photcode-ps1-v5.d

    r36885 r36899  
    1 STRUCT       PhotCode_PS1_V4
    2 EXTNAME      DVO_PHOTCODE_PS1_V4
     1STRUCT       PhotCode_PS1_V5
     2EXTNAME      DVO_PHOTCODE_PS1_V5
    33TYPE         BINTABLE
    44SIZE         112
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt-ps1-v5.d

    r36885 r36899  
    88FIELD  M,             MAG,               float,    average mag in this band,              mags
    99FIELD  dM,            MAG_ERR,           float,    formal error on average mag,           mags
    10                                          
    1110FIELD  Map,           MAG_AP,            float,    ave aperture mag in this band,         mags
    1211FIELD  dMap,          MAG_AP_ERR,        float,    ave aperture mag in this band,         mags
    13                                          
    1412FIELD  Mkron,         MAG_KRON,          float,    ave kron mag in this band,             mags
    1513FIELD  dMkron,        MAG_KRON_ERR,      float,    formal error on average kron mag,      mags
     
    1816FIELD  Mstdev,        MAG_STDEV,         float,    standard deviation of measurements,    mags
    1917FIELD  Mmin,          MAG_MIN,           float,    min accepted mag,                      mags
    20                                          
    2118FIELD  Mmax,          MAG_MAX,           float,    max accepted mag,                      mags
    2219FIELD  Xm,            MAG_CHI,           float,    chisq on average mag,                  [100*log(value)]
     
    4441
    4542## need an 8-byte boundary here ##
    46 FIELD  stackDetectID, STACK_DETECT_ID, uint64_t,  detection ID on stack used for fluxes (if any)
     43FIELD  stackDetectID, STACK_DETECT_ID,   uint64_t, detection ID on stack used for fluxes (if any)
    4744
    4845## *** this section is for forced-warp mean values ***
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt.d

    r35099 r36899  
    22EXTNAME      DVO_SECFILT
    33TYPE         BINTABLE
    4 SIZE         64
     4SIZE         152
    55DESCRIPTION  DVO SecFilt : Secondary Filter Data
    66
    7 # elements of data structure / FITS table
     7## *** this section is for per-exposure mean values *** (unlabled values are implicitly PSF values)
    88FIELD  M,             MAG,             float,      average mag in this band,              mags
     9FIELD  dM,            MAG_ERR,         float,      formal error on average mag,           mags
    910FIELD  Map,           MAG_AP,          float,      average mag in this band,              mags
     11FIELD  dMap,          MAG_AP_ERR,      float,      formal error on average mag,           mags
    1012FIELD  Mkron,         MAG_KRON,        float,      ave kron mag in this band,             mags
    1113FIELD  dMkron,        MAG_KRON_ERR,    float,      formal error on average kron mag,      mags
    12 FIELD  dM,            MAG_ERR,         float,      formal error on average mag,           mags
     14
     15# these statistics are PSF-specific     
     16FIELD  Mstdev,        MAG_STDEV,       float,      standard deviation of measurements,    mags
     17FIELD  Mmin,          MAG_MIN,         float,      minimum accepted mag,                  mags
     18FIELD  Mmax,          MAG_MAX,         float,      maximum accepted mag,                  mags
    1319FIELD  Xm,            MAG_CHI,         float,      chisq on average mag,                  [100*log(value)]
    14 FIELD  FluxPSF,       FLUX_PSF,        float,      mean flux psf fit (PS1: stack)
    15 FIELD  dFluxPSF,      FLUX_PSF_ERR,    float,      mean flux psf error
    16 FIELD  FluxKron,      FLUX_KRON,       float,      mean flux kron ap (PS1: stack)
    17 FIELD  dFluxKron,     FLUX_KRON_ERR,   float,      mean flux kron err
    18 FIELD  flags,         FLAGS,           uint32_t,   photometry flags
     20
    1921FIELD  Ncode,         NCODE,           short,      number of detections in band
    2022FIELD  Nused,         NUSED,           short,      number of detections used in average
    21 FIELD  M_20,          MAG_20,          short,      lower 20percent mag,                   millimags
    22 FIELD  M_80,          MAG_80,          short,      upper 20percent mag,                   millimags
     23FIELD  NusedKron,     NUSED_KRON,      short,      number of detections used in average
     24FIELD  NusedAp,       NUSED_AP,        short,      number of detections used in average
     25
     26FIELD  flags,         FLAGS,           uint32_t,   photometry flags
     27
     28## *** this section is for stack values ***
     29
     30FIELD  MpsfStk,       MAG_PSF_STK,       float,    magnitude from stack (primary if available)
     31FIELD  FpsfStk,       FLUX_PSF_STK,      float,    flux from stack (primary if available)
     32FIELD  dFpsfStk,      FLUX_PSF_STK_ERR,  float,    mean flux psf error
     33
     34FIELD  MkronStk,      MAG_KRON_STK,      float,    magnitude from stack (primary if available)
     35FIELD  FkronStk,      FLUX_KRON_STK,     float,    flux from stack (primary if available)
     36FIELD  dFkronStk,     FLUX_KRON_STK_ERR, float,    mean flux kron error
     37
     38FIELD  MapStk,        MAG_AP_STK,        float,    magnitude from stack (primary if available)
     39FIELD  FapStk,        FLUX_AP_STK,       float,    flux from stack (primary if available)
     40FIELD  dFapStk,       FLUX_AP_STK_ERR,   float,    mean flux ap error
     41
     42## need an 8-byte boundary here ##
     43FIELD  stackDetectID, STACK_DETECT_ID, uint64_t,   detection ID on stack used for fluxes (if any)
     44
     45## *** this section is for forced-warp mean values ***
     46
     47FIELD  MpsfWrp,       MAG_PSF_WRP,       float,    psf magnitude from stack (primary if available)
     48FIELD  FpsfWrp,       FLUX_PSF_WRP,      float,    psf flux from stack (primary if available)
     49FIELD  dFpsfWrp,      FLUX_PSF_WRP_ERR,  float,    mean flux psf error
     50FIELD  sFpsfWrp,      FLUX_PSF_WRP_STD,  float,    mean flux psf stdev
     51
     52FIELD  MkronWrp,      MAG_KRON_WRP,      float,    kron magnitude from stack (primary if available)
     53FIELD  FkronWrp,      FLUX_KRON_WRP,     float,    kron flux from stack (primary if available)
     54FIELD  dFkronWrp,     FLUX_KRON_WRP_ERR, float,    mean flux kron error
     55FIELD  sFkronWrp,     FLUX_KRON_WRP_STD, float,    mean flux kron stdev
     56
     57FIELD  MapWrp,        MAG_AP_WRP,        float,    aper magnitude from stack (primary if available)
     58FIELD  FapWrp,        FLUX_AP_WRP,       float,    aper flux from stack (primary if available)
     59FIELD  dFapWrp,       FLUX_AP_WRP_ERR,   float,    mean flux ap error
     60FIELD  sFapWrp,       FLUX_AP_WRP_STD,   float,    mean flux ap stdev
     61
     62FIELD  NusedWrp,      NUSED_WRP,         short,    number of detections used in average
     63FIELD  NusedKronWrp,  NUSED_KRON_WRP,    short,    number of detections used in average
     64FIELD  NusedApWrp,    NUSED_AP_WRP,      short,    number of detections used in average
     65
    2366FIELD  ubercalDist,   UBERCAL_DIST,    short,      number of images from an ubercal-image
    24 FIELD  Mstdev,        MAG_STDEV,       short,      standard deviation of measurements,    millimags
    25 FIELD  stackDetectID, STACK_DETECT_ID, uint64_t,   detection ID on stack used for fluxes (if any)
    2667
    2768# *** 20090206 : new fields : M_20, M_80; dropped dummy
    2869# *** 20120302 : new fields : ubercalDist, Map, Mstdev
    2970# *** 20120710 : new fields : Mkron, dMkron, FluxPSF, dFluxPSF, FluxKron, dFluxKron, stackID
     71
     72# *** 20140617 : added   : dMap, NusedKron, NusedAp, MpsfStk, MkronStk, MapStk, *Wrp
     73               : changed : Mstdev, M_20 (to Mmin,short:float),M_80 (to Mmax,short:float),
     74               : rename : FpsfStk, dFpsfStk, FkronStk, dFronStk (were FluxPSF, dFluxPSF, FluxKron, dFluxKron)
Note: See TracChangeset for help on using the changeset viewer.