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.d

    r12332 r15038  
    22EXTNAME      DVO_MEASURE
    33TYPE         BINTABLE
    4 SIZE         96
     4SIZE         104
    55DESCRIPTION  DVO Detection Measurement Table
    66
     
    1111FIELD Mgal,           Mgal,         float,          galaxy mag,                   mag
    1212FIELD dM,             dM,           float,          mag error,                    mag
    13 FIELD airmass,        airmass,      float,          (airmass - 1),                airmass
    1413FIELD dt,             dt,           float,          exposure time,                2.5*log(exptime)
    1514
    16 FIELD t,              t,            unsigned int,   time in seconds (UNIX)
    17 FIELD averef,         averef,       unsigned int,   reference to average entry     
    18 
    19 FIELD FWx,            FWx,          short,          object fwhm major axis,       1/100 of arcsec
    20 FIELD FWy,            FWy,          short,          object fwhm minor axis,       1/100 of arcsec
    21 FIELD theta,          theta,        short,          angle wrt ccd X dir,          (0xffff/360) deg
    22 FIELD photcode,       photcode,     unsigned short, photcode
    23 
    24 FIELD flags,          flags,        unsigned short, flags for various uses 
    25 FIELD dophot,         dophot,       char,           dophot type
    26 FIELD stargal,        stargal,      char,           star-galaxy separator
     15# note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation
     16FIELD airmass,        airmass,      float,          (airmass - 1),                airmass
     17FIELD az,             AZ,           float,          telescope azimuth
    2718
    2819# new field elements needed for Pan-STARRS:
     
    3425FIELD dSky,           SKY_FLUX_ERR, float,          local estimate of sky flux,    counts/sec
    3526
     27FIELD t,              t,            unsigned int,   time in seconds (UNIX)
     28FIELD averef,         averef,       unsigned int,   reference to average entry     
     29
     30# Pan-STARRS uses a 64-bit detection ID.  keep this in two 32 bit ints for backwards compatibility?
     31FIELD detID,          DET_ID,       unsigned int,   detection ID
     32FIELD imageID,        IMAGE_ID,     unsigned int,   reference to image
     33
     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
     39
     40FIELD FWx,            FWx,          short,          object fwhm major axis,       1/100 of arcsec
     41FIELD FWy,            FWy,          short,          object fwhm minor axis,       1/100 of arcsec
     42FIELD theta,          theta,        short,          angle wrt ccd X dir,          (0xffff/360) deg
     43FIELD photcode,       photcode,     unsigned short, photcode
     44
    3645FIELD dXccd,          X_CCD_ERR,    short,          X coord error on chip,         pixels
    3746FIELD dYccd,          Y_CCD_ERR,    short,          Y coord error on chip,         pixels
    3847
    39 # do we need more resolution than a short? should this be a log?
    40 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
    4150
    42 # Pan-STARRS uses a 64-bit detection ID.  keep this in two 32 bit ints for backwards compatibility?
    43 FIELD detID_hi,       DET_ID_HI,    unsigned int,   ID upper bytes
    44 FIELD detID_lo,       DET_ID_LO,    unsigned int,   ID lower bytes
     51FIELD stargal,        stargal,      char,           star-galaxy separator
    4552
    46 FIELD imageID_hi,     IMAGE_ID_HI,  unsigned int,   reference to image
    47 FIELD imageID_lo,     IMAGE_ID_LO,  unsigned int,   reference to image
     53# absorb these into photFlags?
     54FIELD dophot,         dophot,       char,           dophot type
    4855
    49 # note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation
    50 FIELD az,             AZ,           float,          telescope azimuth
    51 
    52 # we need extra bytes for padding purposes...
    53 FIELD dummy,          dummy,        char[2],        padding
     56FIELD dummy,          DUMMY,        char[2],        padding
Note: See TracChangeset for help on using the changeset viewer.