IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 26, 2007, 5:34:27 PM (19 years ago)
Author:
eugene
Message:

various fixes to ensure data is carried from Stars to Measures correctly for PS1_DEV_1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libautocode/def/measure-ps1-dev-1.d

    r15034 r15038  
    22EXTNAME      DVO_MEASURE_PS1_DEV_1
    33TYPE         BINTABLE
    4 SIZE         96
     4SIZE         104
    55DESCRIPTION  DVO Detection Measurement Table
    66
     
    88FIELD dD,             D_DEC,        float,          DEC offset,                   arcsec
    99FIELD M,              MAG,          float,          catalog mag,                  mag
    10 FIELD Mcal,           Mcal,         float,          image cal mag,                mag
    11 FIELD Mgal,           Mgal,         float,          galaxy mag,                   mag
    12 FIELD dM,             dM,           float,          mag error,                    mag
    13 FIELD dt,             dt,           float,          exposure time,                2.5*log(exptime)
     10FIELD Mcal,           M_CAL,        float,          image cal mag,                mag
     11FIELD Mgal,           M_GAL,        float,          galaxy mag,                   mag
     12FIELD dM,             MAG_ERR,      float,          mag error,                    mag
     13FIELD dt,             M_TIME,       float,          exposure time,                2.5*log(exptime)
    1414
    1515# note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation
    16 FIELD airmass,        airmass,      float,          (airmass - 1),                airmass
     16FIELD airmass,        AIRMASS,      float,          (airmass - 1),                airmass
    1717FIELD az,             AZ,           float,          telescope azimuth
    1818
     
    2525FIELD dSky,           SKY_FLUX_ERR, float,          local estimate of sky flux,    counts/sec
    2626
    27 FIELD t,              t,            unsigned int,   time in seconds (UNIX)
    28 FIELD averef,         averef,       unsigned int,   reference to average entry     
     27FIELD t,              TIME,         unsigned int,   time in seconds (UNIX)
     28FIELD averef,         AVE_REF,      unsigned int,   reference to average entry     
    2929
    3030# Pan-STARRS uses a 64-bit detection ID.  keep this in two 32 bit ints for backwards compatibility?
    31 FIELD detID_hi,       DET_ID_HI,    unsigned int,   ID upper bytes
    32 FIELD detID_lo,       DET_ID_LO,    unsigned int,   ID lower bytes
     31FIELD detID,          DET_ID,       unsigned int,   ID upper bytes
     32FIELD imageID,        IMAGE_ID,     unsigned int,   reference to image
    3333
    34 FIELD imageID_hi,     IMAGE_ID_HI,  unsigned int,   reference to image
    35 FIELD imageID_lo,     IMAGE_ID_LO,  unsigned int,   reference to image
     34# do we need more resolution than a short? should this be a log?
     35FIELD qPSF,           PSF_QF,       float,          psf coverage/quality factor
     36FIELD psfProb,        PSF_PROB,     float,          psf coverage/quality factor
     37FIELD crNsigma,       CR_NSIGMA,    float,          psf coverage/quality factor
     38FIELD extNsigma,      EXT_NSIGMA,   float,          psf coverage/quality factor
    3639
    37 FIELD FWx,            FWx,          short,          object fwhm major axis,       1/100 of arcsec
    38 FIELD FWy,            FWy,          short,          object fwhm minor axis,       1/100 of arcsec
    39 FIELD theta,          theta,        short,          angle wrt ccd X dir,          (0xffff/360) deg
    40 FIELD photcode,       photcode,     unsigned short, photcode
    41 
    42 FIELD flags,          flags,        unsigned short, flags for various uses 
     40FIELD FWx,            FWHM_MAJOR,   short,          object fwhm major axis,       1/100 of arcsec
     41FIELD FWy,            FWHM_MINOR,   short,          object fwhm minor axis,       1/100 of arcsec
     42FIELD theta,          PSF_THETA,    short,          angle wrt ccd X dir,          (0xffff/360) deg
     43FIELD photcode,       PHOTCODE,     unsigned short, photcode
    4344
    4445FIELD dXccd,          X_CCD_ERR,    short,          X coord error on chip,         pixels
    4546FIELD dYccd,          Y_CCD_ERR,    short,          Y coord error on chip,         pixels
    4647
    47 # do we need more resolution than a short? should this be a log?
    48 FIELD qPSF,           PSF_QF,       short,          psf coverage/quality factor
     48FIELD dbFlags,        DB_FLAGS,     unsigned short, flags for various uses 
     49FIELD photFlags,      PHOT_FLAGS,   unsigned short, flags supplied by photometry program
    4950
    50 FIELD dophot,         dophot,       char,           dophot type
    51 FIELD stargal,        stargal,      char,           star-galaxy separator
     51FIELD stargal,        STAR_GAL,     char,           star-galaxy separator
    5252
    53 # we need extra bytes for padding purposes...
    54 FIELD dummy,          dummy,        char[2],        padding
     53# absorb these into photFlags?
     54FIELD dophot,         DOPHOT,       char,           dophot type
    5555
    56 # float : 13 x 4 = 52
     56FIELD dummy,          DUMMY,        char[2],        padding
     57
     58# float : 17 x 4 = 68
    5759# int:     6 x 4 = 24
    5860# short:   8 x 2 = 16
Note: See TracChangeset for help on using the changeset viewer.