IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2007, 12:21:18 PM (19 years ago)
Author:
eugene
Message:

complete merge from branch dvo-mods-2007-02

Location:
trunk/Ohana/src/libautocode
Files:
4 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libautocode/Makefile.Targets

    r10315 r12332  
    55$(ASRC)/average-loneos.$(ARCH).o \
    66$(ASRC)/average-elixir.$(ARCH).o \
     7$(ASRC)/average-panstarrs-dev-0.$(ARCH).o \
    78$(ASRC)/average-panstarrs.$(ARCH).o \
    89$(ASRC)/average-pmtest.$(ARCH).o \
     
    1011$(ASRC)/secfilt-loneos.$(ARCH).o \
    1112$(ASRC)/secfilt-elixir.$(ARCH).o \
     13$(ASRC)/secfilt-panstarrs-dev-0.$(ARCH).o \
    1214$(ASRC)/secfilt-panstarrs.$(ARCH).o \
    1315$(ASRC)/measure.$(ARCH).o \
    1416$(ASRC)/measure-loneos.$(ARCH).o \
    1517$(ASRC)/measure-elixir.$(ARCH).o \
     18$(ASRC)/measure-panstarrs-dev-0.$(ARCH).o \
    1619$(ASRC)/measure-panstarrs.$(ARCH).o \
    1720$(ASRC)/missing.$(ARCH).o \
     
    2023$(ASRC)/image-loneos.$(ARCH).o \
    2124$(ASRC)/image-elixir.$(ARCH).o \
     25$(ASRC)/image-panstarrs-dev-0.$(ARCH).o \
    2226$(ASRC)/image-panstarrs.$(ARCH).o \
    2327$(ASRC)/regimage.$(ARCH).o \
     
    3842$(AINC)/average-loneos.h \
    3943$(AINC)/average-elixir.h \
     44$(AINC)/average-panstarrs-dev-0.h \
    4045$(AINC)/average-panstarrs.h \
    4146$(AINC)/average-pmtest.h \
     
    4348$(AINC)/secfilt-loneos.h \
    4449$(AINC)/secfilt-elixir.h \
     50$(AINC)/secfilt-panstarrs-dev-0.h \
    4551$(AINC)/secfilt-panstarrs.h \
    4652$(AINC)/measure.h \
    4753$(AINC)/measure-loneos.h \
    4854$(AINC)/measure-elixir.h \
     55$(AINC)/measure-panstarrs-dev-0.h \
    4956$(AINC)/measure-panstarrs.h \
    5057$(AINC)/missing.h \
     
    5360$(AINC)/image-loneos.h \
    5461$(AINC)/image-elixir.h \
     62$(AINC)/image-panstarrs-dev-0.h \
    5563$(AINC)/image-panstarrs.h \
    5664$(AINC)/regimage.h \
  • trunk/Ohana/src/libautocode/def/average.d

    r11742 r12332  
    22EXTNAME      DVO_AVERAGE
    33TYPE         BINTABLE
    4 SIZE         76
     4SIZE         72
    55DESCRIPTION  DVO Average Object Table
    66
     
    1919FIELD dP,             PAR_ERR,    float,            parallax error,               arcsec
    2020
    21 FIELD M,              MAG,        float,            primary mag,                  mag
    22 FIELD dM,             MAG_ERR,    float,            error on primary mag,         mag
     21# XXX drop the old primary magnitude concept
     22# FIELD M,            MAG,        float,            primary mag,                  mag
     23# FIELD dM,           MAG_ERR,    float,            error on primary mag,         mag
     24# FIELD Xm,           CHISQ_MAG,  short,            chisq for primary mag,        [100*log(value)]
     25# FIELD Xg,           CHISQ_GAL,  short,            chisq for galaxy mags,        [100*log(value)]
     26
    2327FIELD Xp,             SIGMA_POS,  short,            position scatter,             1/100 arcsec
    24 FIELD Xm,             CHISQ_MAG,  short,            chisq for primary mag,        [100*log(value)]
    25 FIELD Xg,             CHISQ_GAL,  short,            chisq for galaxy mags,        [100*log(value)]
    2628FIELD Nm,             NMEAS,      unsigned short,   number of measures
    2729FIELD Nn,             NMISS,      unsigned short,   number of missings
     
    3032FIELD missing,        missing,    int,              offset to first missing obs
    3133
     34# Pan-STARRS uses a 64-bit detection ID.  keep this in two 32 bit ints for backwards compatibility?
     35FIELD objID_hi,       OBJ_ID_HI,    unsigned int,   ID upper bytes
     36FIELD objID_lo,       OBJ_ID_LO,    unsigned int,   ID lower bytes
     37
    3238# this structure should only be used for internal representations
    3339# the average-FORMAT structures should be used for external representations
    3440# note that the average magnitudes are stored in the 'secfilt' table (change this name??)
    3541# the index for the secfilt table is just Nsecfilt times the index for the average table.
     42
     43# XXX after the rest of the DVO re-org work, remove the magnitude based values from this table
     44# and move them to the secfilt table.
     45
     46# the DVO object IDs are generated internally and are not equivalent to the PSPS object IDs
     47# probably need to add position chisq
     48
     49# XXX include the number of measurements used to determine the positional information?
  • trunk/Ohana/src/libautocode/def/image.d

    r6454 r12332  
    2525FIELD     tzero,            TZERO,                e_time,         readout time (row 0)
    2626FIELD     nstar,            NSTAR,                unsigned int,   number of stars on image
    27 FIELD     secz_PS,          SECZ,                 float,          airmass,                   mag
     27FIELD     secz,             SECZ,                 float,          airmass,                   mag
    2828FIELD     NX,               NX,                   short,          image width
    2929FIELD     NY,               NY,                   short,          image height
    30 FIELD     apmifit_PS,       APMIFIT,              float,          aperture correction,       mag
    31 FIELD     dapmifit_PS,      DAPMIFIT,             float,          apmifit error,             mag
    32 FIELD     Mcal_PS,          MCAL,                 float,          calibration mag,           mag
    33 FIELD     dMcal_PS,         DMCAL,                float,          error on Mcal,             mag
     30FIELD     apmifit,          APMIFIT,              float,          aperture correction,       mag
     31FIELD     dapmifit,         DAPMIFIT,             float,          apmifit error,             mag
     32FIELD     Mcal,             MCAL,                 float,          calibration mag,           mag
     33FIELD     dMcal,            DMCAL,                float,          error on Mcal,             mag
    3434FIELD     Xm,               XM,                   short,          image chisq,               10*log(value)
    35 FIELD     source,           SOURCE,               short,          identifier for CCD,
     35FIELD     photcode,         PHOTCODE,             short,          identifier for CCD,
    3636FIELD     exptime,          EXPTIME,              float,          exposure time,             seconds
    3737FIELD     sidtime,          ST,                   float,          sidereal time of exposure
     
    4848FIELD     code,             CODE,                 char,           image quality flag
    4949FIELD     ccdnum,           CCDNUM,               unsigned char,  CCD ID number
    50 # 40 bytes
     50FIELD     imageID_hi,       IMAGE_ID_HI,          unsigned int,   ID upper bytes
     51FIELD     imageID_lo,       IMAGE_ID_LO,          unsigned int,   ID lower bytes
     52# 48 bytes
    5153
    52 FIELD     dummy,            DUMMY,                char[18],       unused
     54FIELD     dummy,            DUMMY,                char[10],       unused
    5355FIELD     order,            ORDER,                short,          Mrel 2D polynomical order
    5456FIELD     Mx,               MX,                   short,          Mrel polyterm
     
    6668FIELD     Mxyyy,            MXYYY,                short,          Mrel polyterm
    6769FIELD     Myyyy,            MYYYY,                short,          Mrel polyterm
    68 # 48 bytes
     70# 40 bytes
  • trunk/Ohana/src/libautocode/def/measure.d

    r6454 r12332  
    22EXTNAME      DVO_MEASURE
    33TYPE         BINTABLE
    4 SIZE         50
     4SIZE         96
    55DESCRIPTION  DVO Detection Measurement Table
    66
    7 FIELD dR_PS,          D_RA,       float,          RA offset,                      arcsec
    8 FIELD dD_PS,          D_DEC,      float,          DEC offset,                     arcsec
    9 FIELD M_PS,           MAG,        float,          catalog mag,                    mag
    10 FIELD Mcal_PS,        Mcal,       float,          image cal mag,                  mag
    11 FIELD Mgal_PS,        Mgal,       float,          galaxy mag,                     mag
    12 FIELD dM_PS,          dM,         float,          mag error,                      mag
    13 FIELD airmass_PS,     airmass,    float,          (airmass - 1),                  airmass
    14 FIELD dt_PS,          dt,         float,          exposure time,                  2.5*log(exptime)
    15 FIELD FWx,            FWx,        short,          object fwhm major axis,         1/100 of arcsec
    16 FIELD FWy,            FWy,        short,          object fwhm minor axis,         1/100 of arcsec
    17 FIELD theta,          theta,      unsigned char,  angle wrt ccd X dir,            (0xff/360) deg
    18 FIELD dophot,         dophot,     char,           dophot type
    19 FIELD source,         source,     unsigned short, photcode
    20 FIELD flags,          flags,      unsigned short, flags for various uses 
    21 FIELD t,              t,          unsigned int,   time in seconds (UNIX)
    22 FIELD averef,         averef,     unsigned int,   reference to average entry     
     7FIELD dR,             D_RA,         float,          RA offset,                    arcsec
     8FIELD dD,             D_DEC,        float,          DEC offset,                   arcsec
     9FIELD M,              MAG,          float,          catalog mag,                  mag
     10FIELD Mcal,           Mcal,         float,          image cal mag,                mag
     11FIELD Mgal,           Mgal,         float,          galaxy mag,                   mag
     12FIELD dM,             dM,           float,          mag error,                    mag
     13FIELD airmass,        airmass,      float,          (airmass - 1),                airmass
     14FIELD dt,             dt,           float,          exposure time,                2.5*log(exptime)
     15
     16FIELD t,              t,            unsigned int,   time in seconds (UNIX)
     17FIELD averef,         averef,       unsigned int,   reference to average entry     
     18
     19FIELD FWx,            FWx,          short,          object fwhm major axis,       1/100 of arcsec
     20FIELD FWy,            FWy,          short,          object fwhm minor axis,       1/100 of arcsec
     21FIELD theta,          theta,        short,          angle wrt ccd X dir,          (0xffff/360) deg
     22FIELD photcode,       photcode,     unsigned short, photcode
     23
     24FIELD flags,          flags,        unsigned short, flags for various uses 
     25FIELD dophot,         dophot,       char,           dophot type
     26FIELD stargal,        stargal,      char,           star-galaxy separator
     27
     28# new field elements needed for Pan-STARRS:
     29FIELD Xccd,           X_CCD,        float,          X coord on chip,               pixels
     30FIELD Yccd,           Y_CCD,        float,          Y coord on chip,               pixels
     31
     32# could these be packed into fewer bits?
     33FIELD Sky,            SKY_FLUX,     float,          local estimate of sky flux,    counts/sec
     34FIELD dSky,           SKY_FLUX_ERR, float,          local estimate of sky flux,    counts/sec
     35
     36FIELD dXccd,          X_CCD_ERR,    short,          X coord error on chip,         pixels
     37FIELD dYccd,          Y_CCD_ERR,    short,          Y coord error on chip,         pixels
     38
     39# do we need more resolution than a short? should this be a log?
     40FIELD qPSF,           PSF_QF,       short,          psf coverage/quality factor
     41
     42# Pan-STARRS uses a 64-bit detection ID.  keep this in two 32 bit ints for backwards compatibility?
     43FIELD detID_hi,       DET_ID_HI,    unsigned int,   ID upper bytes
     44FIELD detID_lo,       DET_ID_LO,    unsigned int,   ID lower bytes
     45
     46FIELD imageID_hi,     IMAGE_ID_HI,  unsigned int,   reference to image
     47FIELD imageID_lo,     IMAGE_ID_LO,  unsigned int,   reference to image
     48
     49# note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation
     50FIELD az,             AZ,           float,          telescope azimuth
     51
     52# we need extra bytes for padding purposes...
     53FIELD dummy,          dummy,        char[2],        padding
  • trunk/Ohana/src/libautocode/def/photcode.d

    r6454 r12332  
    22EXTNAME      DVO_PHOTCODE
    33TYPE         BINTABLE
    4 SIZE         77
     4SIZE         80
    55DESCRIPTION  DVO Photcode Description Table
    66
     
    99FIELD  name,        NAME,        char[32],       name for filter combination
    1010FIELD  type,        TYPE,        char,           PRI/SEC/DEP/REF
     11FIELD  dummy,       DUMMY,       char[3],        padding
    1112FIELD  C,           C_LAM,       short,          primary phot calibration terms (millimags)
    1213FIELD  dC,          C_LAM_ERR,   short,          primary phot calibration terms (millimags)
  • trunk/Ohana/src/libautocode/def/secfilt.d

    r6454 r12332  
    22EXTNAME      DVO_SECFILT
    33TYPE         BINTABLE
    4 SIZE         12
     4SIZE         16
    55DESCRIPTION  DVO SecFilt : Secondary Filter Data
    66
    77# elements of data structure / FITS table
    8 FIELD  M_PS,  MAG,      float,                other mags,       mags
    9 FIELD  dM_PS, MAG_ERR,  float,                scatter on mag,   mags
     8FIELD  M,     MAG,      float,                other mags,       mags
     9FIELD  dM,    MAG_ERR,  float,                scatter on mag,   mags
    1010FIELD  Xm,    MAG_CHI,  short,                chisq on mag,     [100*log(value)]
     11FIELD  Ncode, NCODE,    short,                number of detections in band
     12FIELD  Nused, NUSED,    short,                number of detections used in average
    1113FIELD  dummy, JUNK,     short,                place holder
Note: See TracChangeset for help on using the changeset viewer.